public class DecimalSumAggregation extends SqlAggregationFunction
Modifier and Type | Field and Description |
---|---|
static DecimalSumAggregation |
DECIMAL_SUM_AGGREGATION |
Constructor and Description |
---|
DecimalSumAggregation() |
Modifier and Type | Method and Description |
---|---|
static void |
combine(LongDecimalWithOverflowState state,
LongDecimalWithOverflowState otherState) |
String |
getDescription() |
static void |
inputLongDecimal(LongDecimalWithOverflowState state,
Block block,
int position) |
static void |
inputShortDecimal(LongDecimalWithOverflowState state,
Block block,
int position) |
static void |
outputLongDecimal(LongDecimalWithOverflowState state,
BlockBuilder out) |
BuiltInAggregationFunctionImplementation |
specialize(BoundVariables boundVariables,
int arity,
FunctionAndTypeManager functionAndTypeManager) |
createFunctionByAnnotations, createFunctionsByAnnotations, getSignature, getVisibility, isDeterministic
isCalledOnNullInput
public static final DecimalSumAggregation DECIMAL_SUM_AGGREGATION
public String getDescription()
public BuiltInAggregationFunctionImplementation specialize(BoundVariables boundVariables, int arity, FunctionAndTypeManager functionAndTypeManager)
specialize
in class SqlAggregationFunction
public static void inputShortDecimal(LongDecimalWithOverflowState state, Block block, int position)
public static void inputLongDecimal(LongDecimalWithOverflowState state, Block block, int position)
public static void combine(LongDecimalWithOverflowState state, LongDecimalWithOverflowState otherState)
public static void outputLongDecimal(LongDecimalWithOverflowState state, BlockBuilder out)
Copyright © 2012–2022. All rights reserved.