Package org.apache.calcite.linq4j.tree
Class ConstantUntypedNull
java.lang.Object
org.apache.calcite.linq4j.tree.AbstractNode
org.apache.calcite.linq4j.tree.Expression
org.apache.calcite.linq4j.tree.ConstantExpression
org.apache.calcite.linq4j.tree.ConstantUntypedNull
- All Implemented Interfaces:
Node
Represents a constant null of unknown type
Java allows type inference for such nulls, thus "null" cannot always be
replaced to (Object)null and vise versa.
ConstantExpression(null, Object.class) is not equal to
ConstantUntypedNull However, optimizers might treat all the nulls
equal (e.g. in case of comparison).
-
Field Summary
FieldsFields inherited from class org.apache.calcite.linq4j.tree.ConstantExpression
valueFields inherited from class org.apache.calcite.linq4j.tree.AbstractNode
nodeType, type -
Method Summary
Methods inherited from class org.apache.calcite.linq4j.tree.ConstantExpression
accept, accept, evaluateMethods inherited from class org.apache.calcite.linq4j.tree.Expression
canReduceMethods inherited from class org.apache.calcite.linq4j.tree.AbstractNode
accept, getNodeType, getType, toString
-
Field Details
-
INSTANCE
-
-
Method Details
-
equals
- Overrides:
equalsin classConstantExpression
-
hashCode
public int hashCode()- Overrides:
hashCodein classConstantExpression
-