Package org.apache.calcite.sql.fun
Class SqlSingleValueAggFunction
- java.lang.Object
-
- org.apache.calcite.sql.SqlOperator
-
- org.apache.calcite.sql.SqlFunction
-
- org.apache.calcite.sql.SqlAggFunction
-
- org.apache.calcite.sql.fun.SqlSingleValueAggFunction
-
public class SqlSingleValueAggFunction extends SqlAggFunction
SINGLE_VALUE
aggregate function returns the input value if there is only one value in the input; Otherwise it triggers a run-time error.
-
-
Field Summary
Fields Modifier and Type Field Description private RelDataType
type
Deprecated.-
Fields inherited from class org.apache.calcite.sql.SqlOperator
kind, MDX_PRECEDENCE, NL
-
-
Constructor Summary
Constructors Constructor Description SqlSingleValueAggFunction(RelDataType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.List<RelDataType>
getParameterTypes(RelDataTypeFactory typeFactory)
RelDataType
getReturnType(RelDataTypeFactory typeFactory)
RelDataType
getType()
Deprecated.-
Methods inherited from class org.apache.calcite.sql.SqlAggFunction
allowsFilter, isAggregator, isQuantifierAllowed, requiresGroupOrder, requiresOrder, requiresOver, unwrap, validateCall
-
Methods inherited from class org.apache.calcite.sql.SqlFunction
deriveType, getFunctionType, getNameAsId, getParamNames, getParamTypes, getSqlIdentifier, getSyntax, unparse, validateQuantifier
-
Methods inherited from class org.apache.calcite.sql.SqlOperator
acceptCall, acceptCall, adjustType, allowsFraming, argumentMustBeScalar, checkOperandCount, checkOperandTypes, constructArgNameList, constructArgTypeList, constructOperandList, createCall, createCall, createCall, createCall, equals, getAllowedSignatures, getAllowedSignatures, getKind, getLeftPrec, getMonotonicity, getMonotonicity, getName, getOperandCountRange, getOperandTypeChecker, getOperandTypeInference, getReturnTypeInference, getRightPrec, getSignatureTemplate, hashCode, inferReturnType, inferReturnType, isDeterministic, isDynamicFunction, isGroup, isGroupAuxiliary, isName, leftPrec, preValidateCall, requiresDecimalExpansion, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateOperands, validRexOperands
-
-
-
-
Field Detail
-
type
@Deprecated private final RelDataType type
Deprecated.
-
-
Constructor Detail
-
SqlSingleValueAggFunction
public SqlSingleValueAggFunction(RelDataType type)
-
-
Method Detail
-
getParameterTypes
public java.util.List<RelDataType> getParameterTypes(RelDataTypeFactory typeFactory)
- Overrides:
getParameterTypes
in classSqlAggFunction
-
getReturnType
public RelDataType getReturnType(RelDataTypeFactory typeFactory)
- Overrides:
getReturnType
in classSqlAggFunction
-
getType
@Deprecated public RelDataType getType()
Deprecated.
-
-