Class DrillSqlOperatorWithoutInference
java.lang.Object
org.apache.calcite.sql.SqlOperator
org.apache.calcite.sql.SqlFunction
org.apache.drill.exec.planner.sql.DrillSqlOperator
org.apache.drill.exec.planner.sql.DrillSqlOperatorWithoutInference
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.drill.exec.planner.sql.DrillSqlOperator
DrillSqlOperator.DrillSqlOperatorBuilder
-
Field Summary
Fields inherited from class org.apache.calcite.sql.SqlOperator
kind, MDX_PRECEDENCE, NL
-
Constructor Summary
ConstructorDescriptionDrillSqlOperatorWithoutInference
(String name, int argCount, TypeProtos.MajorType returnType, boolean isDeterminisitic, boolean isNiladic, boolean isVarArg) -
Method Summary
Modifier and TypeMethodDescriptionorg.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) protected org.apache.calcite.rel.type.RelDataType
getReturnDataType
(org.apache.calcite.rel.type.RelDataTypeFactory factory) org.apache.calcite.rel.type.RelDataType
inferReturnType
(org.apache.calcite.sql.SqlOperatorBinding opBinding) Methods inherited from class org.apache.drill.exec.planner.sql.DrillSqlOperator
getFunctions, getSyntax, isDeterministic, isNiladic
Methods inherited from class org.apache.calcite.sql.SqlFunction
getFunctionType, getNameAsId, getParamNames, getParamTypes, getSqlIdentifier, isQuantifierAllowed, unparse, validateCall, validateQuantifier
Methods 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, isDynamicFunction, isGroup, isGroupAuxiliary, isName, isSymmetrical, leftPrec, not, preValidateCall, requiresDecimalExpansion, requiresOrder, requiresOver, reverse, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateOperands, validRexOperands
-
Constructor Details
-
DrillSqlOperatorWithoutInference
public DrillSqlOperatorWithoutInference(String name, int argCount, TypeProtos.MajorType returnType, boolean isDeterminisitic, boolean isNiladic, boolean isVarArg)
-
-
Method Details
-
getReturnDataType
protected org.apache.calcite.rel.type.RelDataType getReturnDataType(org.apache.calcite.rel.type.RelDataTypeFactory factory) -
deriveType
public 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) - Overrides:
deriveType
in classorg.apache.calcite.sql.SqlFunction
-
inferReturnType
public org.apache.calcite.rel.type.RelDataType inferReturnType(org.apache.calcite.sql.SqlOperatorBinding opBinding) - Overrides:
inferReturnType
in classorg.apache.calcite.sql.SqlOperator
-