Package org.apache.pinot.segment.spi
Interface ColumnMetadata
-
- All Known Implementing Classes:
ColumnMetadataImpl
@Private public interface ColumnMetadata
TheColumnMetadataclass holds the column level management information and data statistics.
-
-
Method Summary
Modifier and Type Method Description intgetBitsPerElement()intgetCardinality()NOTE: When a realtime segment has no-dictionary columns, the cardinality for those columns will be set toConstants.UNKNOWN_CARDINALITY.intgetColumnMaxLength()default StringgetColumnName()default FieldSpec.DataTypegetDataType()FieldSpecgetFieldSpec()default FieldSpec.FieldTypegetFieldType()Map<ColumnIndexType,Long>getIndexSizeMap()intgetMaxNumberOfMultiValues()ComparablegetMaxValue()ComparablegetMinValue()chargetPaddingCharacter()PartitionFunctiongetPartitionFunction()Set<Integer>getPartitions()intgetTotalDocs()intgetTotalNumberOfEntries()booleanhasDictionary()booleanisAutoGenerated()default booleanisMinMaxValueInvalid()default booleanisSingleValue()booleanisSorted()
-
-
-
Method Detail
-
getFieldSpec
FieldSpec getFieldSpec()
-
getColumnName
default String getColumnName()
-
getFieldType
default FieldSpec.FieldType getFieldType()
-
getDataType
default FieldSpec.DataType getDataType()
-
isSingleValue
default boolean isSingleValue()
-
getTotalDocs
int getTotalDocs()
-
getCardinality
int getCardinality()
NOTE: When a realtime segment has no-dictionary columns, the cardinality for those columns will be set toConstants.UNKNOWN_CARDINALITY.
-
isSorted
boolean isSorted()
-
getMinValue
Comparable getMinValue()
-
getMaxValue
Comparable getMaxValue()
-
isMinMaxValueInvalid
default boolean isMinMaxValueInvalid()
-
hasDictionary
boolean hasDictionary()
-
getColumnMaxLength
int getColumnMaxLength()
-
getPaddingCharacter
char getPaddingCharacter()
-
getBitsPerElement
int getBitsPerElement()
-
getMaxNumberOfMultiValues
int getMaxNumberOfMultiValues()
-
getTotalNumberOfEntries
int getTotalNumberOfEntries()
-
getPartitionFunction
@Nullable PartitionFunction getPartitionFunction()
-
getIndexSizeMap
Map<ColumnIndexType,Long> getIndexSizeMap()
-
isAutoGenerated
boolean isAutoGenerated()
-
-