Class SegmentPreIndexStatsCollectorImpl
- java.lang.Object
-
- org.apache.pinot.segment.local.segment.creator.impl.stats.SegmentPreIndexStatsCollectorImpl
-
- All Implemented Interfaces:
Serializable,SegmentPreIndexStatsCollector,SegmentPreIndexStatsContainer
public class SegmentPreIndexStatsCollectorImpl extends Object implements SegmentPreIndexStatsCollector
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SegmentPreIndexStatsCollectorImpl(StatsCollectorConfig statsCollectorConfig)
-
Method Summary
Modifier and Type Method Description voidbuild()voidcollectRow(GenericRow row)ColumnStatisticsgetColumnProfileFor(String column)intgetTotalDocCount()voidinit()voidlogStats()
-
-
-
Constructor Detail
-
SegmentPreIndexStatsCollectorImpl
public SegmentPreIndexStatsCollectorImpl(StatsCollectorConfig statsCollectorConfig)
-
-
Method Detail
-
init
public void init()
- Specified by:
initin interfaceSegmentPreIndexStatsCollector
-
build
public void build()
- Specified by:
buildin interfaceSegmentPreIndexStatsCollector
-
getColumnProfileFor
public ColumnStatistics getColumnProfileFor(String column)
- Specified by:
getColumnProfileForin interfaceSegmentPreIndexStatsContainer
-
collectRow
public void collectRow(GenericRow row)
- Specified by:
collectRowin interfaceSegmentPreIndexStatsCollector
-
getTotalDocCount
public int getTotalDocCount()
- Specified by:
getTotalDocCountin interfaceSegmentPreIndexStatsContainer
-
logStats
public void logStats()
- Specified by:
logStatsin interfaceSegmentPreIndexStatsCollector
-
-