Package io.trino.operator.aggregation
Class DecimalSumAggregation
- java.lang.Object
-
- io.trino.metadata.SqlAggregationFunction
-
- io.trino.operator.aggregation.DecimalSumAggregation
-
- All Implemented Interfaces:
SqlFunction
public class DecimalSumAggregation extends SqlAggregationFunction
-
-
Field Summary
Fields Modifier and Type Field Description static DecimalSumAggregationDECIMAL_SUM_AGGREGATION
-
Constructor Summary
Constructors Constructor Description DecimalSumAggregation()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidcombine(LongDecimalWithOverflowState state, LongDecimalWithOverflowState otherState)static voidinputLongDecimal(LongDecimalWithOverflowState state, Block block, int position)static voidinputShortDecimal(LongDecimalWithOverflowState state, Block block, int position)static voidoutputLongDecimal(LongDecimalWithOverflowState state, BlockBuilder out)AggregationMetadataspecialize(BoundSignature boundSignature)-
Methods inherited from class io.trino.metadata.SqlAggregationFunction
createFunctionsByAnnotations, getAggregationMetadata, getFunctionMetadata, specialize
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.trino.metadata.SqlFunction
getFunctionDependencies, getFunctionDependencies
-
-
-
-
Field Detail
-
DECIMAL_SUM_AGGREGATION
public static final DecimalSumAggregation DECIMAL_SUM_AGGREGATION
-
-
Method Detail
-
specialize
public AggregationMetadata specialize(BoundSignature boundSignature)
- Overrides:
specializein classSqlAggregationFunction
-
inputShortDecimal
public static void inputShortDecimal(LongDecimalWithOverflowState state, Block block, int position)
-
inputLongDecimal
public static void inputLongDecimal(LongDecimalWithOverflowState state, Block block, int position)
-
combine
public static void combine(LongDecimalWithOverflowState state, LongDecimalWithOverflowState otherState)
-
outputLongDecimal
public static void outputLongDecimal(LongDecimalWithOverflowState state, BlockBuilder out)
-
-