public abstract class AbstractMinMaxAggregationFunction extends SqlAggregationFunction
Modifier | Constructor and Description |
---|---|
protected |
AbstractMinMaxAggregationFunction(String name,
boolean min) |
createFunctionByAnnotations, createFunctionsByAnnotations, getSignature, getVisibility, isDeterministic
isCalledOnNullInput
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription
protected AbstractMinMaxAggregationFunction(String name, boolean min)
public BuiltInAggregationFunctionImplementation specialize(BoundVariables boundVariables, int arity, FunctionAndTypeManager functionAndTypeManager)
specialize
in class SqlAggregationFunction
protected BuiltInAggregationFunctionImplementation generateAggregation(Type type, MethodHandle compareMethodHandle)
protected Type overrideIntermediateType(Type inputType, Type defaultIntermediateType)
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–2022. All rights reserved.