public class ReduceAggregationFunction extends SqlAggregationFunction
Constructor and Description |
---|
ReduceAggregationFunction(boolean supportsComplexTypes) |
Modifier and Type | Method and Description |
---|---|
static void |
combine(ReduceAggregationState state,
ReduceAggregationState otherState,
BinaryFunctionInterface inputFunction,
BinaryFunctionInterface combineFunction) |
String |
getDescription() |
static void |
input(Type type,
ReduceAggregationState state,
Object value,
Object initialStateValue,
BinaryFunctionInterface inputFunction,
BinaryFunctionInterface combineFunction) |
boolean |
isDeterministic() |
BuiltInAggregationFunctionImplementation |
specialize(BoundVariables boundVariables,
int arity,
FunctionAndTypeManager functionAndTypeManager) |
static void |
write(Type type,
ReduceAggregationState state,
BlockBuilder blockBuilder) |
createFunctionByAnnotations, createFunctionsByAnnotations, getSignature, getVisibility
isCalledOnNullInput
public ReduceAggregationFunction(boolean supportsComplexTypes)
public boolean isDeterministic()
isDeterministic
in interface SqlFunction
isDeterministic
in class SqlAggregationFunction
public String getDescription()
public BuiltInAggregationFunctionImplementation specialize(BoundVariables boundVariables, int arity, FunctionAndTypeManager functionAndTypeManager)
specialize
in class SqlAggregationFunction
public static void input(Type type, ReduceAggregationState state, Object value, Object initialStateValue, BinaryFunctionInterface inputFunction, BinaryFunctionInterface combineFunction)
public static void combine(ReduceAggregationState state, ReduceAggregationState otherState, BinaryFunctionInterface inputFunction, BinaryFunctionInterface combineFunction)
public static void write(Type type, ReduceAggregationState state, BlockBuilder blockBuilder)
Copyright © 2012–2022. All rights reserved.