Package org.apache.calcite.linq4j.tree
Class NewArrayExpression
java.lang.Object
org.apache.calcite.linq4j.tree.AbstractNode
org.apache.calcite.linq4j.tree.Expression
org.apache.calcite.linq4j.tree.NewArrayExpression
- All Implemented Interfaces:
Node
Represents creating a new array and possibly initializing the elements of the
new array.
-
Field Summary
Modifier and TypeFieldDescriptionfinal @Nullable Expression
final int
final @Nullable List<Expression>
Fields inherited from class org.apache.calcite.linq4j.tree.AbstractNode
nodeType, type
-
Constructor Summary
ConstructorDescriptionNewArrayExpression
(Type type, int dimension, @Nullable Expression bound, @Nullable List<Expression> expressions) -
Method Summary
Methods inherited from class org.apache.calcite.linq4j.tree.Expression
canReduce
Methods inherited from class org.apache.calcite.linq4j.tree.AbstractNode
accept, evaluate, getNodeType, getType, toString
-
Field Details
-
dimension
public final int dimension -
bound
-
expressions
-
-
Constructor Details
-
NewArrayExpression
public NewArrayExpression(Type type, int dimension, @Nullable Expression bound, @Nullable List<Expression> expressions)
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceNode
- Specified by:
accept
in classExpression
-
accept
-
equals
- Overrides:
equals
in classAbstractNode
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractNode
-