Package io.trino.operator.aggregation
Class DecimalSumAggregation
java.lang.Object
io.trino.metadata.SqlAggregationFunction
io.trino.operator.aggregation.DecimalSumAggregation
- All Implemented Interfaces:
SqlFunction
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcombine(LongDecimalWithOverflowState state, LongDecimalWithOverflowState otherState) static voidinputLongDecimal(LongDecimalWithOverflowState state, Block block, int position) static voidinputShortDecimal(LongDecimalWithOverflowState state, Block block, int position) static voidspecialize(BoundSignature boundSignature) Methods inherited from class io.trino.metadata.SqlAggregationFunction
createFunctionsByAnnotations, getAggregationMetadata, getFunctionMetadata, specializeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.metadata.SqlFunction
getFunctionDependencies, getFunctionDependencies
-
Field Details
-
DECIMAL_SUM_AGGREGATION
-
-
Constructor Details
-
DecimalSumAggregation
public DecimalSumAggregation()
-
-
Method Details
-
specialize
- Overrides:
specializein classSqlAggregationFunction
-
inputShortDecimal
-
inputLongDecimal
-
combine
public static void combine(LongDecimalWithOverflowState state, LongDecimalWithOverflowState otherState) -
outputLongDecimal
-