Class MatchRowTimeFunction
java.lang.Object
org.apache.calcite.sql.SqlOperator
org.apache.calcite.sql.SqlFunction
org.apache.flink.table.planner.functions.sql.BuiltInSqlFunction
org.apache.flink.table.planner.functions.sql.MatchRowTimeFunction
- All Implemented Interfaces:
BuiltInSqlOperator
The function used to access a rowtime attribute with TIMESTAMP or TIMESTAMP_LTZ type from
MATCH_RECOGNIZE clause. The function accepts zero or one operand which is a field reference with
rowtime attribute. If there is no operand, the function will return rowtime attribute with
TIMESTAMP type. Otherwise, the return type will be same with the operand type.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.flink.table.planner.functions.sql.BuiltInSqlFunction
BuiltInSqlFunction.Builder -
Field Summary
Fields inherited from class org.apache.calcite.sql.SqlOperator
kind, MDX_PRECEDENCE, NL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckOperandTypes(org.apache.calcite.sql.SqlCallBinding callBinding, boolean throwOnFailure) getAllowedSignatures(String opNameToUse) org.apache.calcite.sql.SqlOperandCountRangegetSignatureTemplate(int operandsCount) org.apache.calcite.rel.type.RelDataTypeinferReturnType(org.apache.calcite.sql.SqlOperatorBinding opBinding) booleanMethods inherited from class org.apache.flink.table.planner.functions.sql.BuiltInSqlFunction
getMonotonicity, getQualifiedName, getVersion, isInternal, newBuilderMethods inherited from class org.apache.calcite.sql.SqlFunction
deriveType, getFunctionType, getNameAsId, getParamNames, getParamTypes, getSqlIdentifier, getSyntax, isQuantifierAllowed, unparse, validateCall, validateQuantifierMethods inherited from class org.apache.calcite.sql.SqlOperator
acceptCall, acceptCall, adjustType, allowsFraming, argumentMustBeScalar, checkOperandCount, constructArgNameList, constructArgTypeList, constructOperandList, createCall, createCall, createCall, createCall, createCall, createCall, createCall, deriveOperandType, equals, getAllowedSignatures, getKind, getLeftPrec, getMonotonicity, getName, getOperandTypeChecker, getOperandTypeInference, getReturnTypeInference, getRightPrec, getStrongPolicyInference, hashCode, inferReturnType, isAggregator, isDynamicFunction, isGroup, isGroupAuxiliary, isName, isSymmetrical, leftPrec, not, preValidateCall, requiresDecimalExpansion, requiresOrder, requiresOver, reverse, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateOperands, validRexOperands
-
Constructor Details
-
MatchRowTimeFunction
public MatchRowTimeFunction()
-
-
Method Details
-
getAllowedSignatures
- Overrides:
getAllowedSignaturesin classorg.apache.calcite.sql.SqlOperator
-
getOperandCountRange
public org.apache.calcite.sql.SqlOperandCountRange getOperandCountRange()- Overrides:
getOperandCountRangein classorg.apache.calcite.sql.SqlOperator
-
getSignatureTemplate
- Overrides:
getSignatureTemplatein classorg.apache.calcite.sql.SqlOperator
-
checkOperandTypes
public boolean checkOperandTypes(org.apache.calcite.sql.SqlCallBinding callBinding, boolean throwOnFailure) - Overrides:
checkOperandTypesin classorg.apache.calcite.sql.SqlOperator
-
inferReturnType
public org.apache.calcite.rel.type.RelDataType inferReturnType(org.apache.calcite.sql.SqlOperatorBinding opBinding) - Overrides:
inferReturnTypein classorg.apache.calcite.sql.SqlOperator
-
isDeterministic
public boolean isDeterministic()- Overrides:
isDeterministicin classBuiltInSqlFunction
-