Package io.trino.operator.aggregation
Class MergeQuantileDigestFunction
- java.lang.Object
-
- io.trino.metadata.SqlAggregationFunction
-
- io.trino.operator.aggregation.MergeQuantileDigestFunction
-
- All Implemented Interfaces:
SqlFunction
public final class MergeQuantileDigestFunction extends SqlAggregationFunction
-
-
Field Summary
Fields Modifier and Type Field Description static MergeQuantileDigestFunctionMERGEstatic StringNAME
-
Constructor Summary
Constructors Constructor Description MergeQuantileDigestFunction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidcombine(QuantileDigestState state, QuantileDigestState otherState)List<TypeSignature>getIntermediateTypes(FunctionBinding functionBinding)static voidinput(Type type, QuantileDigestState state, Block value, int index)static voidoutput(QuantileDigestStateSerializer serializer, QuantileDigestState state, BlockBuilder out)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
-
MERGE
public static final MergeQuantileDigestFunction MERGE
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
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, QuantileDigestState state, Block value, int index)
-
combine
public static void combine(QuantileDigestState state, QuantileDigestState otherState)
-
output
public static void output(QuantileDigestStateSerializer serializer, QuantileDigestState state, BlockBuilder out)
-
-