public class DrillCalciteSqlAggFunctionWrapper extends org.apache.calcite.sql.SqlAggFunction implements DrillCalciteSqlWrapper
| Modifier and Type | Field and Description |
|---|---|
static DrillCalciteSqlAggFunctionWrapper |
SUM |
| Constructor and Description |
|---|
DrillCalciteSqlAggFunctionWrapper(org.apache.calcite.sql.SqlAggFunction sqlAggFunction,
List<DrillFuncHolder> functions) |
DrillCalciteSqlAggFunctionWrapper(org.apache.calcite.sql.SqlAggFunction sqlAggFunction,
org.apache.calcite.rel.type.RelDataType relDataType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowsFraming() |
boolean |
argumentMustBeScalar(int ordinal) |
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 opNameToUse) |
org.apache.calcite.sql.validate.SqlMonotonicity |
getMonotonicity(org.apache.calcite.sql.SqlOperatorBinding call) |
org.apache.calcite.sql.SqlOperator |
getOperator()
Get the wrapped
SqlOperator |
List<String> |
getParamNames() |
String |
getSignatureTemplate(int operandsCount) |
org.apache.calcite.sql.SqlSyntax |
getSyntax() |
boolean |
isAggregator() |
boolean |
isDeterministic() |
boolean |
isDynamicFunction() |
boolean |
requiresDecimalExpansion() |
boolean |
validRexOperands(int count,
org.apache.calcite.util.Litmus litmus) |
allowsFilter, allowsNullTreatment, getDistinctOptionality, getParameterTypes, getReturnType, isQuantifierAllowed, requiresGroupOrder, requiresOrder, requiresOver, unwrap, validateCallgetFunctionType, getNameAsId, getParamTypes, getSqlIdentifier, unparse, validateQuantifieracceptCall, acceptCall, adjustType, checkOperandCount, constructArgNameList, constructArgTypeList, constructOperandList, createCall, createCall, createCall, createCall, equals, getAllowedSignatures, getKind, getLeftPrec, getMonotonicity, getName, getOperandCountRange, getOperandTypeChecker, getOperandTypeInference, getReturnTypeInference, getRightPrec, hashCode, inferReturnType, inferReturnType, isGroup, isGroupAuxiliary, isName, leftPrec, preValidateCall, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateOperandspublic static final DrillCalciteSqlAggFunctionWrapper SUM
public DrillCalciteSqlAggFunctionWrapper(org.apache.calcite.sql.SqlAggFunction sqlAggFunction,
List<DrillFuncHolder> functions)
public DrillCalciteSqlAggFunctionWrapper(org.apache.calcite.sql.SqlAggFunction sqlAggFunction,
org.apache.calcite.rel.type.RelDataType relDataType)
public org.apache.calcite.sql.SqlOperator getOperator()
DrillCalciteSqlWrapperSqlOperatorgetOperator in interface DrillCalciteSqlWrapperSqlOperatorpublic boolean validRexOperands(int count,
org.apache.calcite.util.Litmus litmus)
validRexOperands in class org.apache.calcite.sql.SqlOperatorpublic String getAllowedSignatures(String opNameToUse)
getAllowedSignatures in class org.apache.calcite.sql.SqlOperatorpublic boolean isAggregator()
isAggregator in class org.apache.calcite.sql.SqlAggFunctionpublic boolean allowsFraming()
allowsFraming in class org.apache.calcite.sql.SqlOperatorpublic org.apache.calcite.sql.validate.SqlMonotonicity getMonotonicity(org.apache.calcite.sql.SqlOperatorBinding call)
getMonotonicity in class org.apache.calcite.sql.SqlOperatorpublic boolean isDeterministic()
isDeterministic in class org.apache.calcite.sql.SqlOperatorpublic boolean isDynamicFunction()
isDynamicFunction in class org.apache.calcite.sql.SqlOperatorpublic boolean requiresDecimalExpansion()
requiresDecimalExpansion in class org.apache.calcite.sql.SqlOperatorpublic boolean argumentMustBeScalar(int ordinal)
argumentMustBeScalar 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 List<String> getParamNames()
getParamNames in class org.apache.calcite.sql.SqlFunctionpublic String getSignatureTemplate(int operandsCount)
getSignatureTemplate in class 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 in class org.apache.calcite.sql.SqlFunctionCopyright © 2021 The Apache Software Foundation. All rights reserved.