Package org.apache.calcite.profile
Class ProfilerImpl.HllCompositeCollector
- java.lang.Object
-
- org.apache.calcite.profile.ProfilerImpl.Collector
-
- org.apache.calcite.profile.ProfilerImpl.HllCollector
-
- org.apache.calcite.profile.ProfilerImpl.HllCompositeCollector
-
- Enclosing class:
- ProfilerImpl
static class ProfilerImpl.HllCompositeCollector extends ProfilerImpl.HllCollector
Collector that collects two or more column values into a HyperLogLog sketch.
-
-
Field Summary
Fields Modifier and Type Field Description private java.nio.ByteBuffer
buf
private int[]
columnOrdinals
-
Fields inherited from class org.apache.calcite.profile.ProfilerImpl.HllCollector
NULL_BITS, nullCount, sketch
-
Fields inherited from class org.apache.calcite.profile.ProfilerImpl.Collector
space
-
-
Constructor Summary
Constructors Constructor Description HllCompositeCollector(ProfilerImpl.Space space, int[] columnOrdinals)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(java.util.List<java.lang.Comparable> row)
-
Methods inherited from class org.apache.calcite.profile.ProfilerImpl.HllCollector
add, finish
-
Methods inherited from class org.apache.calcite.profile.ProfilerImpl.Collector
create
-
-
-
-
Constructor Detail
-
HllCompositeCollector
HllCompositeCollector(ProfilerImpl.Space space, int[] columnOrdinals)
-
-
Method Detail
-
add
public void add(java.util.List<java.lang.Comparable> row)
- Specified by:
add
in classProfilerImpl.Collector
-
-