Package org.apache.flink.sql.parser.expr
Class SqlUnresolvedTryCastFunction
java.lang.Object
org.apache.calcite.sql.SqlOperator
org.apache.calcite.sql.SqlFunction
org.apache.calcite.sql.SqlUnresolvedFunction
org.apache.flink.sql.parser.expr.SqlUnresolvedTryCastFunction
public class SqlUnresolvedTryCastFunction
extends org.apache.calcite.sql.SqlUnresolvedFunction
This is the unresolved version of
TRY_CAST. We need it only for unparse.-
Field Summary
Fields inherited from class org.apache.calcite.sql.SqlOperator
kind, MDX_PRECEDENCE, NL -
Constructor Summary
ConstructorsConstructorDescriptionSqlUnresolvedTryCastFunction(org.apache.calcite.sql.parser.SqlParserPos pos) -
Method Summary
Modifier and TypeMethodDescriptionvoidunparse(org.apache.calcite.sql.SqlWriter writer, org.apache.calcite.sql.SqlCall call, int leftPrec, int rightPrec) Methods inherited from class org.apache.calcite.sql.SqlUnresolvedFunction
inferReturnTypeMethods inherited from class org.apache.calcite.sql.SqlFunction
deriveType, getFunctionType, getNameAsId, getParamNames, getParamTypes, getSqlIdentifier, getSyntax, isQuantifierAllowed, validateCall, validateQuantifierMethods inherited from class org.apache.calcite.sql.SqlOperator
acceptCall, acceptCall, adjustType, allowsFraming, argumentMustBeScalar, checkOperandCount, checkOperandTypes, constructArgNameList, constructArgTypeList, constructOperandList, createCall, createCall, createCall, createCall, createCall, createCall, createCall, deriveOperandType, equals, getAllowedSignatures, getAllowedSignatures, getKind, getLeftPrec, getMonotonicity, getMonotonicity, getName, getOperandCountRange, getOperandTypeChecker, getOperandTypeInference, getReturnTypeInference, getRightPrec, getSignatureTemplate, getStrongPolicyInference, hashCode, inferReturnType, isAggregator, isDeterministic, isDynamicFunction, isGroup, isGroupAuxiliary, isName, isSymmetrical, leftPrec, not, preValidateCall, requiresDecimalExpansion, requiresOrder, requiresOver, reverse, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateOperands, validRexOperands
-
Constructor Details
-
SqlUnresolvedTryCastFunction
public SqlUnresolvedTryCastFunction(org.apache.calcite.sql.parser.SqlParserPos pos)
-
-
Method Details
-
unparse
public void unparse(org.apache.calcite.sql.SqlWriter writer, org.apache.calcite.sql.SqlCall call, int leftPrec, int rightPrec) - Overrides:
unparsein classorg.apache.calcite.sql.SqlFunction
-