Class ColumnExpNode
- java.lang.Object
-
- com.ibm.fhir.database.utils.query.node.ColumnExpNode
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.StringcolumnName(package private) java.lang.StringtableAlias
-
Constructor Summary
Constructors Constructor Description ColumnExpNode(java.lang.String columnName)Public constructorColumnExpNode(java.lang.String tableAlias, java.lang.String columnName)Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisOperand()Is this expression node an operandvoidpopOperands(java.util.Stack<ExpNode> stack)Read the operands from the stackintprecedence()Precedence of this expression node.java.lang.StringtoString()<T> Tvisit(ExpNodeVisitor<T> visitor)Generic evaluation visitor-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.ibm.fhir.database.utils.query.node.ExpNode
isLeftParen, isOperator, isRightParen
-
-
-
-
Method Detail
-
visit
public <T> T visit(ExpNodeVisitor<T> visitor)
Description copied from interface:ExpNodeGeneric evaluation visitor
-
precedence
public int precedence()
Description copied from interface:ExpNodePrecedence of this expression node. Used to parse the expression into the correct tree. We use 0 to represent the highest precedence- Specified by:
precedencein interfaceExpNode- Returns:
-
popOperands
public void popOperands(java.util.Stack<ExpNode> stack)
Description copied from interface:ExpNodeRead the operands from the stack- Specified by:
popOperandsin interfaceExpNode
-
isOperand
public boolean isOperand()
Description copied from interface:ExpNodeIs this expression node an operand
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-