@Internal public class SqlTryCastFunction extends BuiltInSqlFunction
TRY_CAST built-in, essentially delegating all the method
invocations, whenever is possible, to Calcite's SqlCastFunction.BuiltInSqlFunction.Builder| Modifier and Type | Method and Description |
|---|---|
boolean |
checkOperandTypes(org.apache.calcite.sql.SqlCallBinding callBinding,
boolean throwOnFailure) |
org.apache.calcite.sql.SqlOperandCountRange |
getOperandCountRange() |
String |
getSignatureTemplate(int operandsCount) |
org.apache.calcite.sql.SqlSyntax |
getSyntax() |
org.apache.calcite.rel.type.RelDataType |
inferReturnType(org.apache.calcite.sql.SqlOperatorBinding opBinding) |
void |
unparse(org.apache.calcite.sql.SqlWriter writer,
org.apache.calcite.sql.SqlCall call,
int leftPrec,
int rightPrec) |
getMonotonicity, getQualifiedName, getVersion, isDeterministic, isInternal, newBuilderderiveType, getFunctionType, getNameAsId, getParamNames, getParamTypes, getSqlIdentifier, isQuantifierAllowed, validateCall, validateQuantifieracceptCall, acceptCall, adjustType, allowsFraming, argumentMustBeScalar, checkOperandCount, constructArgNameList, constructArgTypeList, constructOperandList, createCall, createCall, createCall, createCall, equals, getAllowedSignatures, getAllowedSignatures, getKind, getLeftPrec, getMonotonicity, getName, getOperandTypeChecker, getOperandTypeInference, getReturnTypeInference, getRightPrec, getStrongPolicyInference, hashCode, inferReturnType, isAggregator, isDynamicFunction, isGroup, isGroupAuxiliary, isName, isSymmetrical, leftPrec, preValidateCall, requiresDecimalExpansion, requiresOrder, requiresOver, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateOperands, validRexOperandsclone, finalize, getClass, notify, notifyAll, wait, wait, waitextractNameFromQualifiedName, toQualifiedName, unwrapIsInternal, unwrapVersionpublic String getSignatureTemplate(int operandsCount)
getSignatureTemplate in class org.apache.calcite.sql.SqlOperatorpublic org.apache.calcite.sql.SqlOperandCountRange getOperandCountRange()
getOperandCountRange in class org.apache.calcite.sql.SqlOperatorpublic boolean checkOperandTypes(org.apache.calcite.sql.SqlCallBinding callBinding,
boolean throwOnFailure)
checkOperandTypes in class org.apache.calcite.sql.SqlOperatorpublic org.apache.calcite.sql.SqlSyntax getSyntax()
getSyntax in class org.apache.calcite.sql.SqlFunctionpublic void unparse(org.apache.calcite.sql.SqlWriter writer,
org.apache.calcite.sql.SqlCall call,
int leftPrec,
int rightPrec)
unparse in class org.apache.calcite.sql.SqlFunctionpublic org.apache.calcite.rel.type.RelDataType inferReturnType(org.apache.calcite.sql.SqlOperatorBinding opBinding)
inferReturnType in class org.apache.calcite.sql.SqlOperatorCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.