Class FloatColumnPreIndexStatsCollector
- java.lang.Object
-
- org.apache.pinot.segment.local.segment.creator.impl.stats.AbstractColumnStatisticsCollector
-
- org.apache.pinot.segment.local.segment.creator.impl.stats.FloatColumnPreIndexStatsCollector
-
- All Implemented Interfaces:
Serializable,ColumnStatistics
public class FloatColumnPreIndexStatsCollector 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 FloatColumnPreIndexStatsCollector(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()FloatgetMaxValue()FloatgetMinValue()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, isSorted, updatePartition
-
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
-
FloatColumnPreIndexStatsCollector
public FloatColumnPreIndexStatsCollector(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 Float getMinValue()
-
getMaxValue
public Float getMaxValue()
-
getUniqueValuesSet
public Object getUniqueValuesSet()
-
getCardinality
public int getCardinality()
-
seal
public void seal()
- Specified by:
sealin classAbstractColumnStatisticsCollector
-
-