public class GetCompositeField extends UnaryExpression implements scala.Product, scala.Serializable
Constructor and Description |
---|
GetCompositeField(Expression child,
Object key) |
Modifier and Type | Method and Description |
---|---|
scala.Option<String> |
aliasName()
Gives a meaningful alias if possible (e.g.
|
Expression |
child() |
Object |
key() |
GetCompositeField |
makeCopy(Object[] anyRefs)
Creates a new copy of this expression with new children.
|
TypeInformation<?> |
resultType()
Returns the
TypeInformation for evaluating this expression. |
org.apache.calcite.rex.RexNode |
toRexNode(org.apache.calcite.tools.RelBuilder relBuilder)
Convert Expression to its counterpart in Calcite, i.e.
|
String |
toString() |
ValidationResult |
validateInput()
Check input data types, inputs number or other properties specified by this expression.
|
children
checkEquals, childrenValid, valid
fastEquals, postOrderTransform, preOrderVisit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public GetCompositeField(Expression child, Object key)
public Expression child()
child
in class UnaryExpression
public Object key()
public ValidationResult validateInput()
Expression
ValidationSuccess
if it pass the check,
or ValidationFailure
with supplement message explaining the error.
Note: we should only call this method until childrenValid == true
validateInput
in class Expression
public TypeInformation<?> resultType()
Expression
TypeInformation
for evaluating this expression.
It is sometimes not available until the expression is valid.resultType
in class Expression
public org.apache.calcite.rex.RexNode toRexNode(org.apache.calcite.tools.RelBuilder relBuilder)
Expression
toRexNode
in class Expression
public GetCompositeField makeCopy(Object[] anyRefs)
TreeNode
makeCopy
in class TreeNode<Expression>
public scala.Option<String> aliasName()
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.