Package org.apache.calcite.linq4j.tree
Class ForStatement
- java.lang.Object
-
- org.apache.calcite.linq4j.tree.AbstractNode
-
- org.apache.calcite.linq4j.tree.Statement
-
- org.apache.calcite.linq4j.tree.ForStatement
-
-
Field Summary
Fields Modifier and Type Field Description StatementbodyExpressionconditionList<DeclarationStatement>declarationsprivate inthashCache the hash code for the expressionExpressionpost-
Fields inherited from class org.apache.calcite.linq4j.tree.AbstractNode
nodeType, type
-
-
Constructor Summary
Constructors Constructor Description ForStatement(List<DeclarationStatement> declarations, Expression condition, Expression post, Statement body)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ForStatementaccept(Shuttle shuttle)<R> Raccept(Visitor<R> visitor)(package private) voidaccept0(ExpressionWriter writer)booleanequals(Object o)inthashCode()-
Methods inherited from class org.apache.calcite.linq4j.tree.AbstractNode
accept, evaluate, getNodeType, getType, toString
-
-
-
-
Field Detail
-
declarations
public final List<DeclarationStatement> declarations
-
condition
public final Expression condition
-
post
public final Expression post
-
body
public final Statement body
-
hash
private int hash
Cache the hash code for the expression
-
-
Constructor Detail
-
ForStatement
public ForStatement(List<DeclarationStatement> declarations, Expression condition, Expression post, Statement body)
-
-
Method Detail
-
accept
public ForStatement accept(Shuttle shuttle)
-
accept
public <R> R accept(Visitor<R> visitor)
-
accept0
void accept0(ExpressionWriter writer)
- Overrides:
accept0in classAbstractNode
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classAbstractNode
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractNode
-
-