public abstract class AbstractMinMaxAggregationFunction extends SqlAggregationFunction
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractMinMaxAggregationFunction(String name,
boolean min) |
| Modifier and Type | Method and Description |
|---|---|
static void |
combine(MethodHandle methodHandle,
NullableBooleanState state,
NullableBooleanState otherState) |
static void |
combine(MethodHandle methodHandle,
NullableDoubleState state,
NullableDoubleState otherState) |
static void |
combine(MethodHandle methodHandle,
NullableLongState state,
NullableLongState otherState) |
protected InternalAggregationFunction |
generateAggregation(Type type,
MethodHandle compareMethodHandle) |
static void |
input(MethodHandle methodHandle,
NullableBooleanState state,
boolean value) |
static void |
input(MethodHandle methodHandle,
NullableDoubleState state,
double value) |
static void |
input(MethodHandle methodHandle,
NullableLongState state,
long value) |
static void |
maxCombine(Type type,
BlockPositionState state,
BlockPositionState otherState) |
static void |
maxInput(Type type,
BlockPositionState state,
Block block,
int position) |
static void |
minCombine(Type type,
BlockPositionState state,
BlockPositionState otherState) |
static void |
minInput(Type type,
BlockPositionState state,
Block block,
int position) |
InternalAggregationFunction |
specialize(BoundVariables boundVariables,
int arity,
TypeManager typeManager,
FunctionRegistry functionRegistry) |
createFunctionByAnnotations, createFunctionsByAnnotations, getSignature, isDeterministic, isHiddenclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescriptionprotected AbstractMinMaxAggregationFunction(String name, boolean min)
public InternalAggregationFunction specialize(BoundVariables boundVariables, int arity, TypeManager typeManager, FunctionRegistry functionRegistry)
specialize in class SqlAggregationFunctionprotected InternalAggregationFunction generateAggregation(Type type, MethodHandle compareMethodHandle)
public static void input(MethodHandle methodHandle, NullableDoubleState state, double value)
public static void input(MethodHandle methodHandle, NullableLongState state, long value)
public static void input(MethodHandle methodHandle, NullableBooleanState state, boolean value)
public static void minInput(Type type, BlockPositionState state, Block block, int position)
public static void maxInput(Type type, BlockPositionState state, Block block, int position)
public static void combine(MethodHandle methodHandle, NullableLongState state, NullableLongState otherState)
public static void combine(MethodHandle methodHandle, NullableDoubleState state, NullableDoubleState otherState)
public static void combine(MethodHandle methodHandle, NullableBooleanState state, NullableBooleanState otherState)
public static void minCombine(Type type, BlockPositionState state, BlockPositionState otherState)
public static void maxCombine(Type type, BlockPositionState state, BlockPositionState otherState)
Copyright © 2012–2019. All rights reserved.