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 inthashCache the hash code for the expressionList<Statement>statements-
Fields inherited from class org.apache.calcite.linq4j.tree.AbstractNode
nodeType, type
-
-
Constructor Summary
Constructors Constructor Description BlockStatement(List<Statement> statements, Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockStatementaccept(Shuttle shuttle)<R> Raccept(Visitor<R> visitor)(package private) voidaccept0(ExpressionWriter writer)private booleandistinctVariables(boolean fail)booleanequals(Object o)Objectevaluate(Evaluator evaluator)inthashCode()-
Methods inherited from class org.apache.calcite.linq4j.tree.AbstractNode
accept, getNodeType, getType, toString
-
-
-
-
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:
accept0in classAbstractNode
-
evaluate
public Object evaluate(Evaluator evaluator)
- Overrides:
evaluatein classAbstractNode
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classAbstractNode
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractNode
-
-