Package io.trino.operator.aggregation
Class ReduceAggregationFunction
java.lang.Object
io.trino.metadata.SqlAggregationFunction
io.trino.operator.aggregation.ReduceAggregationFunction
- All Implemented Interfaces:
SqlFunction
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcombine(GenericBooleanState state, GenericBooleanState otherState, BinaryFunctionInterface inputFunction, BinaryFunctionInterface combineFunction) static voidcombine(GenericDoubleState state, GenericDoubleState otherState, BinaryFunctionInterface inputFunction, BinaryFunctionInterface combineFunction) static voidcombine(GenericLongState state, GenericLongState otherState, BinaryFunctionInterface inputFunction, BinaryFunctionInterface combineFunction) static voidcombine(GenericSliceState state, GenericSliceState otherState, BinaryFunctionInterface inputFunction, BinaryFunctionInterface combineFunction) static voidinput(GenericBooleanState state, Object value, boolean initialStateValue, BinaryFunctionInterface inputFunction, BinaryFunctionInterface combineFunction) static voidinput(GenericDoubleState state, Object value, double initialStateValue, BinaryFunctionInterface inputFunction, BinaryFunctionInterface combineFunction) static voidinput(GenericLongState state, Object value, long initialStateValue, BinaryFunctionInterface inputFunction, BinaryFunctionInterface combineFunction) static voidinput(GenericSliceState state, Object value, io.airlift.slice.Slice initialStateValue, BinaryFunctionInterface inputFunction, BinaryFunctionInterface combineFunction) specialize(BoundSignature boundSignature) Methods inherited from class io.trino.metadata.SqlAggregationFunction
createFunctionsByAnnotations, getAggregationMetadata, getFunctionMetadata, specializeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.metadata.SqlFunction
getFunctionDependencies, getFunctionDependencies
-
Field Details
-
REDUCE_AGG
-
-
Constructor Details
-
ReduceAggregationFunction
public ReduceAggregationFunction()
-
-
Method Details
-
specialize
- Overrides:
specializein classSqlAggregationFunction
-
input
public static void input(GenericLongState state, Object value, long initialStateValue, BinaryFunctionInterface inputFunction, BinaryFunctionInterface combineFunction) -
input
public static void input(GenericDoubleState state, Object value, double initialStateValue, BinaryFunctionInterface inputFunction, BinaryFunctionInterface combineFunction) -
input
public static void input(GenericBooleanState state, Object value, boolean initialStateValue, BinaryFunctionInterface inputFunction, BinaryFunctionInterface combineFunction) -
input
public static void input(GenericSliceState state, Object value, io.airlift.slice.Slice initialStateValue, BinaryFunctionInterface inputFunction, BinaryFunctionInterface combineFunction) -
combine
public static void combine(GenericLongState state, GenericLongState otherState, BinaryFunctionInterface inputFunction, BinaryFunctionInterface combineFunction) -
combine
public static void combine(GenericDoubleState state, GenericDoubleState otherState, BinaryFunctionInterface inputFunction, BinaryFunctionInterface combineFunction) -
combine
public static void combine(GenericBooleanState state, GenericBooleanState otherState, BinaryFunctionInterface inputFunction, BinaryFunctionInterface combineFunction) -
combine
public static void combine(GenericSliceState state, GenericSliceState otherState, BinaryFunctionInterface inputFunction, BinaryFunctionInterface combineFunction)
-