Package io.trino.operator.aggregation
Class ChecksumAggregationFunction
- java.lang.Object
-
- io.trino.metadata.SqlAggregationFunction
-
- io.trino.operator.aggregation.ChecksumAggregationFunction
-
- All Implemented Interfaces:
SqlFunction
public class ChecksumAggregationFunction extends SqlAggregationFunction
-
-
Field Summary
Fields Modifier and Type Field Description static longPRIME64
-
Constructor Summary
Constructors Constructor Description ChecksumAggregationFunction(BlockTypeOperators blockTypeOperators)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidcombine(NullableLongState state, NullableLongState otherState)static voidinput(BlockTypeOperators.BlockPositionXxHash64 xxHash64Operator, NullableLongState state, Block block, int position)static voidoutput(NullableLongState state, BlockBuilder out)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
-
PRIME64
public static final long PRIME64
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ChecksumAggregationFunction
public ChecksumAggregationFunction(BlockTypeOperators blockTypeOperators)
-
-
Method Detail
-
specialize
public AggregationMetadata specialize(BoundSignature boundSignature)
- Overrides:
specializein classSqlAggregationFunction
-
input
public static void input(BlockTypeOperators.BlockPositionXxHash64 xxHash64Operator, NullableLongState state, Block block, int position)
-
combine
public static void combine(NullableLongState state, NullableLongState otherState)
-
output
public static void output(NullableLongState state, BlockBuilder out)
-
-