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(Type type,
LongDecimalWithOverflowState state,
Block block,
int position) |
static void |
inputShortDecimal(Type type,
LongDecimalWithOverflowState state,
Block block,
int position) |
static void |
outputLongDecimal(DecimalType type,
LongDecimalWithOverflowState state,
BlockBuilder out) |
InternalAggregationFunction |
specialize(BoundVariables boundVariables,
int arity,
TypeManager typeManager,
FunctionRegistry functionRegistry) |
createFunctionByAnnotations, createFunctionsByAnnotations, getSignature, isDeterministic, isHiddenpublic static final DecimalSumAggregation DECIMAL_SUM_AGGREGATION
public String getDescription()
public InternalAggregationFunction specialize(BoundVariables boundVariables, int arity, TypeManager typeManager, FunctionRegistry functionRegistry)
specialize in class SqlAggregationFunctionpublic static void inputShortDecimal(Type type, LongDecimalWithOverflowState state, Block block, int position)
public static void inputLongDecimal(Type type, LongDecimalWithOverflowState state, Block block, int position)
public static void combine(LongDecimalWithOverflowState state, LongDecimalWithOverflowState otherState)
public static void outputLongDecimal(DecimalType type, LongDecimalWithOverflowState state, BlockBuilder out)
Copyright © 2012–2019. All rights reserved.