public abstract class AbstractMinMaxByNAggregationFunction extends SqlAggregationFunction
Modifier | Constructor and Description |
---|---|
protected |
AbstractMinMaxByNAggregationFunction(String name,
Function<Type,BlockComparator> typeToComparator) |
Modifier and Type | Method and Description |
---|---|
static void |
combine(MinMaxByNState state,
MinMaxByNState otherState) |
protected InternalAggregationFunction |
generateAggregation(Type valueType,
Type keyType) |
static void |
input(BlockComparator comparator,
Type valueType,
Type keyType,
MinMaxByNState state,
Block value,
Block key,
int blockIndex,
long n) |
static void |
output(ArrayType outputType,
MinMaxByNState state,
BlockBuilder out) |
InternalAggregationFunction |
specialize(BoundVariables boundVariables,
int arity,
TypeManager typeManager,
FunctionRegistry functionRegistry) |
createFunctionByAnnotations, createFunctionsByAnnotations, getSignature, isDeterministic, isHidden
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription
protected AbstractMinMaxByNAggregationFunction(String name, Function<Type,BlockComparator> typeToComparator)
public InternalAggregationFunction specialize(BoundVariables boundVariables, int arity, TypeManager typeManager, FunctionRegistry functionRegistry)
specialize
in class SqlAggregationFunction
public static void input(BlockComparator comparator, Type valueType, Type keyType, MinMaxByNState state, Block value, Block key, int blockIndex, long n)
public static void combine(MinMaxByNState state, MinMaxByNState otherState)
public static void output(ArrayType outputType, MinMaxByNState state, BlockBuilder out)
protected InternalAggregationFunction generateAggregation(Type valueType, Type keyType)
Copyright © 2012–2019. All rights reserved.