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
- All Implemented Interfaces:
Node
Represents an infinite loop. It can be exited with "break".
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Statementfinal @Nullable Expressionfinal List<DeclarationStatement>final @Nullable ExpressionFields inherited from class org.apache.calcite.linq4j.tree.AbstractNode
nodeType, type -
Constructor Summary
ConstructorsConstructorDescriptionForStatement(List<DeclarationStatement> declarations, @Nullable Expression condition, @Nullable Expression post, Statement body) -
Method Summary
Methods inherited from class org.apache.calcite.linq4j.tree.AbstractNode
accept, evaluate, getNodeType, getType, toString
-
Field Details
-
declarations
-
condition
-
post
-
body
-
-
Constructor Details
-
ForStatement
public ForStatement(List<DeclarationStatement> declarations, @Nullable Expression condition, @Nullable Expression post, Statement body)
-
-
Method Details
-
accept
-
accept
-
equals
- Overrides:
equalsin classAbstractNode
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractNode
-