public class Literal extends LeafExpression implements scala.Product, scala.Serializable
Constructor and Description |
---|
Literal(Object value,
TypeInformation<?> resultType) |
Modifier and Type | Method and Description |
---|---|
static Literal |
apply(Object l) |
Object |
resultType() |
org.apache.calcite.rex.RexNode |
toRexNode(org.apache.calcite.tools.RelBuilder relBuilder)
Convert Expression to its counterpart in Calcite, i.e.
|
String |
toString() |
Object |
value() |
children
checkEquals, childrenValid, valid, validateInput
fastEquals, makeCopy, postOrderTransform, preOrderVisit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public Literal(Object value, TypeInformation<?> resultType)
public Object value()
public Object resultType()
public org.apache.calcite.rex.RexNode toRexNode(org.apache.calcite.tools.RelBuilder relBuilder)
Expression
toRexNode
in class Expression
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.