Package org.apache.calcite.profile
Class ProfilerImpl.CompositeCollector
- java.lang.Object
-
- org.apache.calcite.profile.ProfilerImpl.Collector
-
- org.apache.calcite.profile.ProfilerImpl.CompositeCollector
-
- Enclosing class:
- ProfilerImpl
static class ProfilerImpl.CompositeCollector extends ProfilerImpl.Collector
Collector that collects two or more column values in a tree set.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int[]
columnOrdinals
(package private) java.lang.Comparable[]
columnValues
(package private) int
nullCount
protected static ImmutableBitSet
OF
private int
sketchThreshold
(package private) java.util.Set<FlatLists.ComparableList>
values
-
Fields inherited from class org.apache.calcite.profile.ProfilerImpl.Collector
space
-
-
Constructor Summary
Constructors Constructor Description CompositeCollector(ProfilerImpl.Space space, int[] columnOrdinals, 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
-
-
-
-
Field Detail
-
OF
protected static final ImmutableBitSet OF
-
values
final java.util.Set<FlatLists.ComparableList> values
-
columnOrdinals
final int[] columnOrdinals
-
columnValues
final java.lang.Comparable[] columnValues
-
nullCount
int nullCount
-
sketchThreshold
private final int sketchThreshold
-
-
Constructor Detail
-
CompositeCollector
CompositeCollector(ProfilerImpl.Space space, int[] columnOrdinals, 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
-
-