Package org.apache.calcite.profile
Class ProfilerImpl.SingletonCollector
- java.lang.Object
-
- org.apache.calcite.profile.ProfilerImpl.Collector
-
- org.apache.calcite.profile.ProfilerImpl.SingletonCollector
-
- Enclosing class:
- ProfilerImpl
static class ProfilerImpl.SingletonCollector extends ProfilerImpl.Collector
Collector that collects values of a single column.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
columnOrdinal
(package private) int
nullCount
(package private) int
sketchThreshold
(package private) java.util.SortedSet<java.lang.Comparable>
values
-
Fields inherited from class org.apache.calcite.profile.ProfilerImpl.Collector
space
-
-
Constructor Summary
Constructors Constructor Description SingletonCollector(ProfilerImpl.Space space, int columnOrdinal, int sketchThreshold)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(java.util.List<java.lang.Comparable> row)
void
finish()
-
Methods inherited from class org.apache.calcite.profile.ProfilerImpl.Collector
create
-
-
-
-
Constructor Detail
-
SingletonCollector
SingletonCollector(ProfilerImpl.Space space, int columnOrdinal, int sketchThreshold)
-
-
Method Detail
-
add
public void add(java.util.List<java.lang.Comparable> row)
- Specified by:
add
in classProfilerImpl.Collector
-
finish
public void finish()
- Specified by:
finish
in classProfilerImpl.Collector
-
-