Package org.apache.calcite.linq4j.tree
Class ConditionalStatement
java.lang.Object
org.apache.calcite.linq4j.tree.AbstractNode
org.apache.calcite.linq4j.tree.Statement
org.apache.calcite.linq4j.tree.ConditionalStatement
- All Implemented Interfaces:
Node
Represents an expression that has a conditional operator.
With an odd number of expressions {c0, e0, c1, e1, ..., cn-1, en-1, en} represents "if (c0) e0 else if (c1) e1 ... else en"; with an even number of expressions {c0, e0, c1, e1, ..., cn-1, en-1} represents "if (c0) e0 else if (c1) e1 ... else if (cn-1) en-1".
-
Field Summary
Fields inherited from class org.apache.calcite.linq4j.tree.AbstractNode
nodeType, type
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.calcite.linq4j.tree.AbstractNode
accept, evaluate, getNodeType, getType, toString
-
Field Details
-
expressionList
-
-
Constructor Details
-
ConditionalStatement
-
-
Method Details
-
accept
-
accept
-
equals
- Overrides:
equals
in classAbstractNode
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractNode
-