Class DefaultColumnStatistics
- java.lang.Object
-
- org.apache.pinot.segment.local.segment.index.loader.defaultcolumn.DefaultColumnStatistics
-
- All Implemented Interfaces:
Serializable,ColumnStatistics
public class DefaultColumnStatistics extends Object implements ColumnStatistics
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultColumnStatistics(Object minValue, Object maxValue, Object uniqueValuesSet, boolean isSorted, int totalNumberOfEntries, int maxNumberOfMultiValues)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCardinality()intgetLengthOfLargestElement()intgetLengthOfShortestElement()intgetMaxNumberOfMultiValues()ObjectgetMaxValue()ObjectgetMinValue()intgetNumPartitions()PartitionFunctiongetPartitionFunction()Map<String,String>getPartitionFunctionConfig()Set<Integer>getPartitions()intgetTotalNumberOfEntries()ObjectgetUniqueValuesSet()booleanisSorted()-
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
-
-
-
-
Method Detail
-
getMinValue
public Object getMinValue()
- Specified by:
getMinValuein interfaceColumnStatistics
-
getMaxValue
public Object getMaxValue()
- Specified by:
getMaxValuein interfaceColumnStatistics
-
getUniqueValuesSet
public Object getUniqueValuesSet()
- Specified by:
getUniqueValuesSetin interfaceColumnStatistics
-
getCardinality
public int getCardinality()
- Specified by:
getCardinalityin interfaceColumnStatistics
-
getLengthOfShortestElement
public int getLengthOfShortestElement()
- Specified by:
getLengthOfShortestElementin interfaceColumnStatistics
-
getLengthOfLargestElement
public int getLengthOfLargestElement()
- Specified by:
getLengthOfLargestElementin interfaceColumnStatistics
-
isSorted
public boolean isSorted()
- Specified by:
isSortedin interfaceColumnStatistics
-
getTotalNumberOfEntries
public int getTotalNumberOfEntries()
- Specified by:
getTotalNumberOfEntriesin interfaceColumnStatistics
-
getMaxNumberOfMultiValues
public int getMaxNumberOfMultiValues()
- Specified by:
getMaxNumberOfMultiValuesin interfaceColumnStatistics
-
getPartitionFunction
public PartitionFunction getPartitionFunction()
- Specified by:
getPartitionFunctionin interfaceColumnStatistics
-
getNumPartitions
public int getNumPartitions()
- Specified by:
getNumPartitionsin interfaceColumnStatistics
-
getPartitionFunctionConfig
public Map<String,String> getPartitionFunctionConfig()
- Specified by:
getPartitionFunctionConfigin interfaceColumnStatistics
-
getPartitions
public Set<Integer> getPartitions()
- Specified by:
getPartitionsin interfaceColumnStatistics
-
-