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 PredicateParser
getPredicateParser()
Getter for the predicateParser owned by this WhereClauseboolean
isEmpty()
String
toDebugString()
Render a string which can be used for debugging select statement stringsString
toString()
<T> T
visit(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:
-
-