Package org.apache.calcite.linq4j.tree
Class BlockStatement
- java.lang.Object
-
- org.apache.calcite.linq4j.tree.AbstractNode
-
- org.apache.calcite.linq4j.tree.Statement
-
- org.apache.calcite.linq4j.tree.BlockStatement
-
-
Field Summary
Fields Modifier and Type Field Description private int
hash
Cache the hash code for the expressionjava.util.List<Statement>
statements
-
Fields inherited from class org.apache.calcite.linq4j.tree.AbstractNode
nodeType, type
-
-
Constructor Summary
Constructors Constructor Description BlockStatement(java.util.List<Statement> statements, java.lang.reflect.Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockStatement
accept(Shuttle shuttle)
<R> R
accept(Visitor<R> visitor)
(package private) void
accept0(ExpressionWriter writer)
private boolean
distinctVariables(boolean fail)
boolean
equals(java.lang.Object o)
java.lang.Object
evaluate(Evaluator evaluator)
int
hashCode()
-
Methods inherited from class org.apache.calcite.linq4j.tree.AbstractNode
accept, getNodeType, getType, toString
-
-
-
-
Field Detail
-
statements
public final java.util.List<Statement> statements
-
hash
private int hash
Cache the hash code for the expression
-
-
Constructor Detail
-
BlockStatement
BlockStatement(java.util.List<Statement> statements, java.lang.reflect.Type type)
-
-
Method Detail
-
distinctVariables
private boolean distinctVariables(boolean fail)
-
accept
public BlockStatement accept(Shuttle shuttle)
-
accept
public <R> R accept(Visitor<R> visitor)
-
accept0
void accept0(ExpressionWriter writer)
- Overrides:
accept0
in classAbstractNode
-
evaluate
public java.lang.Object evaluate(Evaluator evaluator)
- Overrides:
evaluate
in classAbstractNode
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classAbstractNode
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractNode
-
-