Package org.apache.calcite.profile
Class ProfilerImpl.HllCollector
- java.lang.Object
-
- org.apache.calcite.profile.ProfilerImpl.Collector
-
- org.apache.calcite.profile.ProfilerImpl.HllCollector
-
- Direct Known Subclasses:
ProfilerImpl.HllCompositeCollector
,ProfilerImpl.HllSingletonCollector
- Enclosing class:
- ProfilerImpl
abstract static class ProfilerImpl.HllCollector extends ProfilerImpl.Collector
Collector that collects two or more column values into a HyperLogLog sketch.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static long[]
NULL_BITS
(package private) int
nullCount
(package private) com.yahoo.sketches.hll.HllSketch
sketch
-
Fields inherited from class org.apache.calcite.profile.ProfilerImpl.Collector
space
-
-
Constructor Summary
Constructors Constructor Description HllCollector(ProfilerImpl.Space space)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
add(java.lang.Comparable value)
void
finish()
-
Methods inherited from class org.apache.calcite.profile.ProfilerImpl.Collector
add, create
-
-
-
-
Constructor Detail
-
HllCollector
HllCollector(ProfilerImpl.Space space)
-
-
Method Detail
-
add
protected void add(java.lang.Comparable value)
-
finish
public void finish()
- Specified by:
finish
in classProfilerImpl.Collector
-
-