Class DoubleColumnPreIndexStatsCollector
- java.lang.Object
-
- org.apache.pinot.segment.local.segment.creator.impl.stats.AbstractColumnStatisticsCollector
-
- org.apache.pinot.segment.local.segment.creator.impl.stats.DoubleColumnPreIndexStatsCollector
-
- All Implemented Interfaces:
Serializable,ColumnStatistics
public class DoubleColumnPreIndexStatsCollector extends AbstractColumnStatisticsCollector
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.pinot.segment.local.segment.creator.impl.stats.AbstractColumnStatisticsCollector
_fieldSpec, _maxNumberOfMultiValues, _sorted, _totalNumberOfEntries, INITIAL_HASH_SET_SIZE
-
-
Constructor Summary
Constructors Constructor Description DoubleColumnPreIndexStatsCollector(String column, StatsCollectorConfig statsCollectorConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcollect(Object entry)Collects statistics for the given entry (entry can be either single-valued or multi-valued).intgetCardinality()DoublegetMaxValue()DoublegetMinValue()ObjectgetUniqueValuesSet()voidseal()-
Methods inherited from class org.apache.pinot.segment.local.segment.creator.impl.stats.AbstractColumnStatisticsCollector
addressSorted, getLengthOfLargestElement, getLengthOfShortestElement, getMaxNumberOfMultiValues, getNumPartitions, getPartitionFunction, getPartitionFunctionConfig, getPartitions, getTotalNumberOfEntries, isPartitionEnabled, isSorted, updatePartition, updateTotalNumberOfEntries
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.pinot.segment.spi.creator.ColumnStatistics
getMaxRowLengthInBytes, isFixedLength
-
-
-
-
Constructor Detail
-
DoubleColumnPreIndexStatsCollector
public DoubleColumnPreIndexStatsCollector(String column, StatsCollectorConfig statsCollectorConfig)
-
-
Method Detail
-
collect
public void collect(Object entry)
Description copied from class:AbstractColumnStatisticsCollectorCollects statistics for the given entry (entry can be either single-valued or multi-valued).- Specified by:
collectin classAbstractColumnStatisticsCollector
-
getMinValue
public Double getMinValue()
-
getMaxValue
public Double getMaxValue()
-
getUniqueValuesSet
public Object getUniqueValuesSet()
-
getCardinality
public int getCardinality()
-
seal
public void seal()
- Specified by:
sealin classAbstractColumnStatisticsCollector
-
-