Package org.apache.calcite.linq4j.tree
Class Expression
java.lang.Object
org.apache.calcite.linq4j.tree.AbstractNode
org.apache.calcite.linq4j.tree.Expression
- All Implemented Interfaces:
Node
- Direct Known Subclasses:
BinaryExpression
,ConstantExpression
,DefaultExpression
,DynamicExpression
,IndexExpression
,InvocationExpression
,LambdaExpression
,ListInitExpression
,MemberExpression
,MemberInitExpression
,MethodCallExpression
,NewArrayExpression
,NewExpression
,ParameterExpression
,TernaryExpression
,TypeBinaryExpression
,UnaryExpression
Analogous to LINQ's System.Linq.Expression.
-
Field Summary
Fields inherited from class org.apache.calcite.linq4j.tree.AbstractNode
nodeType, type
-
Constructor Summary
ModifierConstructorDescriptionprotected
Expression
(ExpressionType nodeType, Type type) Creates an Expression. -
Method Summary
Modifier and TypeMethodDescriptionabstract Expression
boolean
Indicates that the node can be reduced to a simpler node.Methods inherited from class org.apache.calcite.linq4j.tree.AbstractNode
accept, equals, evaluate, getNodeType, getType, hashCode, toString
-
Constructor Details
-
Method Details
-
accept
- Specified by:
accept
in interfaceNode
- Overrides:
accept
in classAbstractNode
-
canReduce
public boolean canReduce()Indicates that the node can be reduced to a simpler node. If this returns true, Reduce() can be called to produce the reduced form.
-