Class WhereClause
- java.lang.Object
-
- com.ibm.fhir.database.utils.query.WhereClause
-
public class WhereClause extends Object
The 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()StringtoDebugString()Render a string which can be used for debugging select statement stringsStringtoString()<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:
-
toDebugString
public 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:
-
-