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
Modifier and TypeFieldDescriptionfinal Statement
final @Nullable Expression
final List<DeclarationStatement>
final @Nullable Expression
Fields inherited from class org.apache.calcite.linq4j.tree.AbstractNode
nodeType, type
-
Constructor Summary
ConstructorDescriptionForStatement
(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:
equals
in classAbstractNode
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractNode
-