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(NullableBooleanState state, NullableBooleanState otherState)static voidcombine(NullableDoubleState state, NullableDoubleState otherState)static voidcombine(NullableLongState state, NullableLongState otherState)List<TypeSignature>getIntermediateTypes(FunctionBinding functionBinding)static voidinput(Type type, BlockPositionState state, Block block, int position)static voidinput(Type type, NullableBooleanState state, Block block, int position)static voidinput(Type type, NullableDoubleState state, Block block, int position)static voidinput(Type type, NullableLongState state, Block block, int position)InternalAggregationFunctionspecialize(FunctionBinding functionBinding)-
Methods inherited from class io.trino.metadata.SqlAggregationFunction
createFunctionByAnnotations, 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
-
getIntermediateTypes
public List<TypeSignature> getIntermediateTypes(FunctionBinding functionBinding)
- Overrides:
getIntermediateTypesin classSqlAggregationFunction
-
specialize
public InternalAggregationFunction specialize(FunctionBinding functionBinding)
- Overrides:
specializein classSqlAggregationFunction
-
input
public static void input(Type type, NullableDoubleState state, Block block, int position)
-
input
public static void input(Type type, NullableLongState state, Block block, int position)
-
input
public static void input(Type type, NullableBooleanState state, Block block, int position)
-
input
public static void input(Type type, BlockPositionState state, Block block, int position)
-
combine
public static void combine(NullableLongState state, NullableLongState otherState)
-
combine
public static void combine(NullableDoubleState state, NullableDoubleState otherState)
-
combine
public static void combine(NullableBooleanState state, NullableBooleanState otherState)
-
combine
public static void combine(BlockPositionState state, BlockPositionState otherState)
-
-