Package io.trino.operator.aggregation
Class ArbitraryAggregationFunction
- java.lang.Object
-
- io.trino.metadata.SqlAggregationFunction
-
- io.trino.operator.aggregation.ArbitraryAggregationFunction
-
- All Implemented Interfaces:
SqlFunction
public class ArbitraryAggregationFunction extends SqlAggregationFunction
-
-
Field Summary
Fields Modifier and Type Field Description static ArbitraryAggregationFunctionARBITRARY_AGGREGATION
-
Constructor Summary
Constructors Modifier Constructor Description protectedArbitraryAggregationFunction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidcombine(BlockPositionState state, BlockPositionState otherState)static voidcombine(GenericBooleanState state, GenericBooleanState otherState)static voidcombine(GenericDoubleState state, GenericDoubleState otherState)static voidcombine(GenericLongState state, GenericLongState otherState)static voidinput(Type type, BlockPositionState state, Block block, int position)static voidinput(Type type, GenericBooleanState state, Block block, int position)static voidinput(Type type, GenericDoubleState state, Block block, int position)static voidinput(Type type, GenericLongState state, Block block, int position)AggregationMetadataspecialize(BoundSignature boundSignature)-
Methods inherited from class io.trino.metadata.SqlAggregationFunction
createFunctionsByAnnotations, getAggregationMetadata, getFunctionMetadata, specialize
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.trino.metadata.SqlFunction
getFunctionDependencies, getFunctionDependencies
-
-
-
-
Field Detail
-
ARBITRARY_AGGREGATION
public static final ArbitraryAggregationFunction ARBITRARY_AGGREGATION
-
-
Method Detail
-
specialize
public AggregationMetadata specialize(BoundSignature boundSignature)
- Overrides:
specializein classSqlAggregationFunction
-
input
public static void input(Type type, GenericDoubleState state, Block block, int position)
-
input
public static void input(Type type, GenericLongState state, Block block, int position)
-
input
public static void input(Type type, GenericBooleanState state, Block block, int position)
-
input
public static void input(Type type, BlockPositionState state, Block block, int position)
-
combine
public static void combine(GenericLongState state, GenericLongState otherState)
-
combine
public static void combine(GenericDoubleState state, GenericDoubleState otherState)
-
combine
public static void combine(GenericBooleanState state, GenericBooleanState otherState)
-
combine
public static void combine(BlockPositionState state, BlockPositionState otherState)
-
-