public abstract class TemporalCeilFloor extends Expression
org.apache.calcite.sql2rel.StandardConvertletTable#convertExtract()
Constructor and Description |
---|
TemporalCeilFloor(Expression timeIntervalUnit,
Expression temporal) |
Modifier and Type | Method and Description |
---|---|
scala.collection.Seq<Expression> |
children()
List of child nodes that should be considered when doing transformations.
|
TypeInformation<?> |
resultType()
Returns the
TypeInformation for evaluating this expression. |
ValidationResult |
validateInput()
Check input data types, inputs number or other properties specified by this expression.
|
checkEquals, childrenValid, toRexNode, valid
fastEquals, makeCopy, postOrderTransform, preOrderVisit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public TemporalCeilFloor(Expression timeIntervalUnit, Expression temporal)
public scala.collection.Seq<Expression> children()
TreeNode
children
in class TreeNode<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 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
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.