Package org.apache.calcite.profile
Class ProfilerImpl.Collector
- java.lang.Object
-
- org.apache.calcite.profile.ProfilerImpl.Collector
-
- Direct Known Subclasses:
ProfilerImpl.CompositeCollector
,ProfilerImpl.HllCollector
,ProfilerImpl.SingletonCollector
- Enclosing class:
- ProfilerImpl
abstract static class ProfilerImpl.Collector extends java.lang.Object
Collects values of a column or columns.
-
-
Field Summary
Fields Modifier and Type Field Description protected ProfilerImpl.Space
space
-
Constructor Summary
Constructors Constructor Description Collector(ProfilerImpl.Space space)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) abstract void
add(java.util.List<java.lang.Comparable> row)
static ProfilerImpl.Collector
create(ProfilerImpl.Space space, int sketchThreshold)
Creates an initial collector of the appropriate kind.(package private) abstract void
finish()
-
-
-
Field Detail
-
space
protected final ProfilerImpl.Space space
-
-
Constructor Detail
-
Collector
Collector(ProfilerImpl.Space space)
-
-
Method Detail
-
add
abstract void add(java.util.List<java.lang.Comparable> row)
-
finish
abstract void finish()
-
create
public static ProfilerImpl.Collector create(ProfilerImpl.Space space, int sketchThreshold)
Creates an initial collector of the appropriate kind.
-
-