Package org.apache.calcite.profile
Class ProfilerImpl.HllSingletonCollector
- java.lang.Object
-
- org.apache.calcite.profile.ProfilerImpl.Collector
-
- org.apache.calcite.profile.ProfilerImpl.HllCollector
-
- org.apache.calcite.profile.ProfilerImpl.HllSingletonCollector
-
- Enclosing class:
- ProfilerImpl
static class ProfilerImpl.HllSingletonCollector extends ProfilerImpl.HllCollector
Collector that collects one column value into a HyperLogLog sketch.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
columnOrdinal
-
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 HllSingletonCollector(ProfilerImpl.Space space, int columnOrdinal)
-
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
-
HllSingletonCollector
HllSingletonCollector(ProfilerImpl.Space space, int columnOrdinal)
-
-
Method Detail
-
add
public void add(java.util.List<java.lang.Comparable> row)
- Specified by:
add
in classProfilerImpl.Collector
-
-