Class ArbitraryAggregationFunction
- java.lang.Object
-
- io.prestosql.metadata.SqlAggregationFunction
-
- io.prestosql.operator.aggregation.ArbitraryAggregationFunction
-
- All Implemented Interfaces:
SqlFunction
public class ArbitraryAggregationFunction extends SqlAggregationFunction
-
-
Field Summary
Fields Modifier and Type Field Description static ArbitraryAggregationFunction
ARBITRARY_AGGREGATION
-
Constructor Summary
Constructors Modifier Constructor Description protected
ArbitraryAggregationFunction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
combine(BlockPositionState state, BlockPositionState otherState)
static void
combine(NullableBooleanState state, NullableBooleanState otherState)
static void
combine(NullableDoubleState state, NullableDoubleState otherState)
static void
combine(NullableLongState state, NullableLongState otherState)
List<TypeSignature>
getIntermediateTypes(FunctionBinding functionBinding)
static void
input(Type type, BlockPositionState state, Block block, int position)
static void
input(Type type, NullableBooleanState state, Block block, int position)
static void
input(Type type, NullableDoubleState state, Block block, int position)
static void
input(Type type, NullableLongState state, Block block, int position)
InternalAggregationFunction
specialize(FunctionBinding functionBinding)
-
Methods inherited from class io.prestosql.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.prestosql.metadata.SqlFunction
getFunctionDependencies, getFunctionDependencies
-
-
-
-
Field Detail
-
ARBITRARY_AGGREGATION
public static final ArbitraryAggregationFunction ARBITRARY_AGGREGATION
-
-
Method Detail
-
getIntermediateTypes
public List<TypeSignature> getIntermediateTypes(FunctionBinding functionBinding)
- Overrides:
getIntermediateTypes
in classSqlAggregationFunction
-
specialize
public InternalAggregationFunction specialize(FunctionBinding functionBinding)
- Overrides:
specialize
in 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)
-
-