Class HistogramStateFactory
java.lang.Object
io.trino.operator.aggregation.histogram.HistogramStateFactory
- All Implemented Interfaces:
AccumulatorStateFactory<HistogramState>
public class HistogramStateFactory
extends Object
implements AccumulatorStateFactory<HistogramState>
-
Constructor Summary
ConstructorsConstructorDescriptionHistogramStateFactory(Type type, MethodHandle readFlat, MethodHandle writeFlat, MethodHandle hashFlat, MethodHandle distinctFlatBlock, MethodHandle hashBlock) -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
HistogramStateFactory
public HistogramStateFactory(Type type, MethodHandle readFlat, MethodHandle writeFlat, MethodHandle hashFlat, MethodHandle distinctFlatBlock, MethodHandle hashBlock)
-
-
Method Details
-
createSingleState
- Specified by:
createSingleStatein interfaceAccumulatorStateFactory<HistogramState>
-
createGroupedState
- Specified by:
createGroupedStatein interfaceAccumulatorStateFactory<HistogramState>
-