Class DrillSqlOperator
java.lang.Object
org.apache.calcite.sql.SqlOperator
org.apache.calcite.sql.SqlFunction
org.apache.drill.exec.planner.sql.DrillSqlOperator
- Direct Known Subclasses:
DrillSqlOperatorWithoutInference
public class DrillSqlOperator
extends org.apache.calcite.sql.SqlFunction
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.apache.calcite.sql.SqlOperator
kind, MDX_PRECEDENCE, NL
-
Constructor Summary
ModifierConstructorDescriptionDrillSqlOperator
(String name, int argCount, boolean isDeterministic, boolean isNiladic) Deprecated.DrillSqlOperator
(String name, int argCount, boolean isDeterministic, org.apache.calcite.rel.type.RelDataType type, boolean isNiladic) Deprecated.DrillSqlOperator
(String name, int argCount, boolean isDeterministic, org.apache.calcite.sql.type.SqlReturnTypeInference sqlReturnTypeInference, boolean isNiladic) Deprecated.protected
DrillSqlOperator
(String name, List<DrillFuncHolder> functions, org.apache.calcite.sql.type.SqlOperandTypeChecker operandTypeChecker, boolean isDeterministic, org.apache.calcite.sql.type.SqlReturnTypeInference sqlReturnTypeInference, boolean isNiladic) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.calcite.sql.SqlSyntax
boolean
boolean
Methods inherited from class org.apache.calcite.sql.SqlFunction
deriveType, 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, inferReturnType, isAggregator, isDynamicFunction, isGroup, isGroupAuxiliary, isName, isSymmetrical, leftPrec, not, preValidateCall, requiresDecimalExpansion, requiresOrder, requiresOver, reverse, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateOperands, validRexOperands
-
Constructor Details
-
DrillSqlOperator
@Deprecated public DrillSqlOperator(String name, int argCount, boolean isDeterministic, boolean isNiladic) Deprecated.This constructor exists for the legacy reason. It is because Drill cannot access to DrillOperatorTable at the place where this constructor is being called. In principle, if Drill needs a DrillSqlOperator, it is supposed to go to DrillOperatorTable for pickup. -
DrillSqlOperator
@Deprecated public DrillSqlOperator(String name, int argCount, boolean isDeterministic, org.apache.calcite.sql.type.SqlReturnTypeInference sqlReturnTypeInference, boolean isNiladic) Deprecated.This constructor exists for the legacy reason. It is because Drill cannot access to DrillOperatorTable at the place where this constructor is being called. In principle, if Drill needs a DrillSqlOperator, it is supposed to go to DrillOperatorTable for pickup. -
DrillSqlOperator
@Deprecated public DrillSqlOperator(String name, int argCount, boolean isDeterministic, org.apache.calcite.rel.type.RelDataType type, boolean isNiladic) Deprecated.This constructor exists for the legacy reason. It is because Drill cannot access to DrillOperatorTable at the place where this constructor is being called. In principle, if Drill needs a DrillSqlOperator, it is supposed to go to DrillOperatorTable for pickup. -
DrillSqlOperator
protected DrillSqlOperator(String name, List<DrillFuncHolder> functions, org.apache.calcite.sql.type.SqlOperandTypeChecker operandTypeChecker, boolean isDeterministic, org.apache.calcite.sql.type.SqlReturnTypeInference sqlReturnTypeInference, boolean isNiladic)
-
-
Method Details
-
isDeterministic
public boolean isDeterministic()- Overrides:
isDeterministic
in classorg.apache.calcite.sql.SqlOperator
-
isNiladic
public boolean isNiladic() -
getFunctions
-
getSyntax
public org.apache.calcite.sql.SqlSyntax getSyntax()- Overrides:
getSyntax
in classorg.apache.calcite.sql.SqlFunction
-