Class WhereClause
- java.lang.Object
-
- org.linuxforhealth.fhir.database.utils.query.WhereClause
-
public class WhereClause extends java.lang.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()
java.lang.String
toDebugString()
Render a string which can be used for debugging select statement stringsjava.lang.String
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:
-
toString
public java.lang.String toString()
- Overrides:
toString
in 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:
-
-