@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, newBuilder
deriveType, getFunctionType, getNameAsId, getParamNames, getParamTypes, getSqlIdentifier, isQuantifierAllowed, validateCall, validateQuantifier
acceptCall, acceptCall, adjustType, allowsFraming, argumentMustBeScalar, checkOperandCount, constructArgNameList, constructArgTypeList, constructOperandList, createCall, createCall, createCall, 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, not, preValidateCall, requiresDecimalExpansion, requiresOrder, requiresOver, reverse, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateOperands, validRexOperands
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
extractNameFromQualifiedName, toQualifiedName, unwrapIsInternal, unwrapVersion
public String getSignatureTemplate(int operandsCount)
getSignatureTemplate
in class org.apache.calcite.sql.SqlOperator
public org.apache.calcite.sql.SqlOperandCountRange getOperandCountRange()
getOperandCountRange
in class org.apache.calcite.sql.SqlOperator
public boolean checkOperandTypes(org.apache.calcite.sql.SqlCallBinding callBinding, boolean throwOnFailure)
checkOperandTypes
in class org.apache.calcite.sql.SqlOperator
public org.apache.calcite.sql.SqlSyntax getSyntax()
getSyntax
in class org.apache.calcite.sql.SqlFunction
public 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.SqlFunction
public org.apache.calcite.rel.type.RelDataType inferReturnType(org.apache.calcite.sql.SqlOperatorBinding opBinding)
inferReturnType
in class org.apache.calcite.sql.SqlOperator
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.