public class SqlDotOperator
extends org.apache.calcite.sql.SqlSpecialOperator
., used to access a field of a record. For example, a.b.
This class was copied over from Calcite to fix the derived type. If the ROW is nullable force the accessed field to be nullable as well.
| 限定符和类型 | 方法和说明 |
|---|---|
<R> void |
acceptCall(org.apache.calcite.sql.util.SqlVisitor<R> visitor,
org.apache.calcite.sql.SqlCall call,
boolean onlyExpressions,
org.apache.calcite.sql.util.SqlBasicVisitor.ArgHandler<R> argHandler) |
boolean |
checkOperandTypes(org.apache.calcite.sql.SqlCallBinding callBinding,
boolean throwOnFailure) |
org.apache.calcite.rel.type.RelDataType |
deriveType(org.apache.calcite.sql.validate.SqlValidator validator,
org.apache.calcite.sql.validate.SqlValidatorScope scope,
org.apache.calcite.sql.SqlCall call) |
String |
getAllowedSignatures(String name) |
org.apache.calcite.sql.SqlOperandCountRange |
getOperandCountRange() |
org.apache.calcite.rel.type.RelDataType |
inferReturnType(org.apache.calcite.sql.SqlOperatorBinding opBinding) |
org.apache.calcite.sql.SqlSpecialOperator.ReduceResult |
reduceExpr(int ordinal,
org.apache.calcite.sql.SqlSpecialOperator.TokenSequence list) |
void |
unparse(org.apache.calcite.sql.SqlWriter writer,
org.apache.calcite.sql.SqlCall call,
int leftPrec,
int rightPrec) |
void |
validateCall(org.apache.calcite.sql.SqlCall call,
org.apache.calcite.sql.validate.SqlValidator validator,
org.apache.calcite.sql.validate.SqlValidatorScope scope,
org.apache.calcite.sql.validate.SqlValidatorScope operandScope) |
boolean |
validRexOperands(int count,
org.apache.calcite.util.Litmus litmus) |
acceptCall, adjustType, allowsFraming, argumentMustBeScalar, checkOperandCount, constructArgNameList, constructArgTypeList, constructOperandList, createCall, createCall, createCall, createCall, equals, getAllowedSignatures, getKind, getLeftPrec, getMonotonicity, getMonotonicity, getName, getNameAsId, getOperandTypeChecker, getOperandTypeInference, getReturnTypeInference, getRightPrec, getSignatureTemplate, getStrongPolicyInference, hashCode, inferReturnType, isAggregator, isDeterministic, isDynamicFunction, isGroup, isGroupAuxiliary, isName, isSymmetrical, leftPrec, preValidateCall, requiresDecimalExpansion, requiresOrder, requiresOver, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateOperandspublic org.apache.calcite.sql.SqlSpecialOperator.ReduceResult reduceExpr(int ordinal,
org.apache.calcite.sql.SqlSpecialOperator.TokenSequence list)
reduceExpr 在类中 org.apache.calcite.sql.SqlSpecialOperatorpublic void unparse(org.apache.calcite.sql.SqlWriter writer,
org.apache.calcite.sql.SqlCall call,
int leftPrec,
int rightPrec)
unparse 在类中 org.apache.calcite.sql.SqlOperatorpublic org.apache.calcite.sql.SqlOperandCountRange getOperandCountRange()
getOperandCountRange 在类中 org.apache.calcite.sql.SqlOperatorpublic <R> void acceptCall(org.apache.calcite.sql.util.SqlVisitor<R> visitor,
org.apache.calcite.sql.SqlCall call,
boolean onlyExpressions,
org.apache.calcite.sql.util.SqlBasicVisitor.ArgHandler<R> argHandler)
acceptCall 在类中 org.apache.calcite.sql.SqlOperatorpublic org.apache.calcite.rel.type.RelDataType deriveType(org.apache.calcite.sql.validate.SqlValidator validator,
org.apache.calcite.sql.validate.SqlValidatorScope scope,
org.apache.calcite.sql.SqlCall call)
deriveType 在类中 org.apache.calcite.sql.SqlOperatorpublic void validateCall(org.apache.calcite.sql.SqlCall call,
org.apache.calcite.sql.validate.SqlValidator validator,
org.apache.calcite.sql.validate.SqlValidatorScope scope,
org.apache.calcite.sql.validate.SqlValidatorScope operandScope)
validateCall 在类中 org.apache.calcite.sql.SqlOperatorpublic boolean checkOperandTypes(org.apache.calcite.sql.SqlCallBinding callBinding,
boolean throwOnFailure)
checkOperandTypes 在类中 org.apache.calcite.sql.SqlOperatorpublic boolean validRexOperands(int count,
org.apache.calcite.util.Litmus litmus)
validRexOperands 在类中 org.apache.calcite.sql.SqlOperatorpublic String getAllowedSignatures(String name)
getAllowedSignatures 在类中 org.apache.calcite.sql.SqlOperatorpublic org.apache.calcite.rel.type.RelDataType inferReturnType(org.apache.calcite.sql.SqlOperatorBinding opBinding)
inferReturnType 在类中 org.apache.calcite.sql.SqlOperatorCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.