Class WhereClause
- java.lang.Object
 - 
- org.linuxforhealth.fhir.database.utils.query.WhereClause
 
 
- 
public class WhereClause extends java.lang.ObjectThe WhereClause SQL definition 
- 
- 
Constructor Summary
Constructors Constructor Description WhereClause() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PredicateParsergetPredicateParser()Getter for the predicateParser owned by this WhereClausebooleanisEmpty()java.lang.StringtoDebugString()Render a string which can be used for debugging select statement stringsjava.lang.StringtoString()<T> Tvisit(ExpNodeVisitor<T> visitor)Visit the nodes of the predicate currently described by the predicateParser 
 - 
 
- 
- 
Method Detail
- 
isEmpty
public boolean isEmpty()
- Returns:
 - true if this where clause does not contain any predicates
 
 
- 
getPredicateParser
public PredicateParser getPredicateParser()
Getter for the predicateParser owned by this WhereClause- Returns:
 
 
- 
toString
public java.lang.String toString()
- Overrides:
 toStringin classjava.lang.Object
 
- 
toDebugString
public java.lang.String toDebugString()
Render a string which can be used for debugging select statement strings- Returns:
 
 
- 
visit
public <T> T visit(ExpNodeVisitor<T> visitor)
Visit the nodes of the predicate currently described by the predicateParser- Type Parameters:
 T-- Parameters:
 visitor-- Returns:
 
 
 - 
 
 -