Class NullValueIndexType
- java.lang.Object
-
- org.apache.pinot.segment.spi.index.AbstractIndexType<IndexConfig,NullValueVectorReader,NullValueVectorCreator>
-
- org.apache.pinot.segment.local.segment.index.nullvalue.NullValueIndexType
-
- All Implemented Interfaces:
IndexType<IndexConfig,NullValueVectorReader,NullValueVectorCreator>
public class NullValueIndexType extends AbstractIndexType<IndexConfig,NullValueVectorReader,NullValueVectorCreator>
-
-
Field Summary
Fields Modifier and Type Field Description static StringINDEX_DISPLAY_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protectedNullValueIndexType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconvertToNewFormat(TableConfig tableConfig, Schema schema)ColumnConfigDeserializer<IndexConfig>createDeserializer()NullValueVectorCreatorcreateIndexCreator(File indexDir, String columnName)NullValueVectorCreatorcreateIndexCreator(IndexCreationContext context, IndexConfig indexConfig)IndexHandlercreateIndexHandler(SegmentDirectory segmentDirectory, Map<String,FieldIndexConfigs> configsByCol, Schema schema, TableConfig tableConfig)protected IndexReaderFactory<NullValueVectorReader>createReaderFactory()IndexConfiggetDefaultConfig()StringgetFileExtension(ColumnMetadata columnMetadata)Class<IndexConfig>getIndexConfigClass()StringgetPrettyName()-
Methods inherited from class org.apache.pinot.segment.spi.index.AbstractIndexType
equals, getConfig, getId, getReaderFactory, handleIndexSpecificCleanup, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.pinot.segment.spi.index.IndexType
createMutableIndex, getIndexReader
-
-
-
-
Field Detail
-
INDEX_DISPLAY_NAME
public static final String INDEX_DISPLAY_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getIndexConfigClass
public Class<IndexConfig> getIndexConfigClass()
-
createIndexCreator
public NullValueVectorCreator createIndexCreator(IndexCreationContext context, IndexConfig indexConfig) throws Exception
- Throws:
Exception
-
getDefaultConfig
public IndexConfig getDefaultConfig()
-
getPrettyName
public String getPrettyName()
-
createDeserializer
public ColumnConfigDeserializer<IndexConfig> createDeserializer()
- Specified by:
createDeserializerin classAbstractIndexType<IndexConfig,NullValueVectorReader,NullValueVectorCreator>
-
createIndexCreator
public NullValueVectorCreator createIndexCreator(File indexDir, String columnName)
-
createReaderFactory
protected IndexReaderFactory<NullValueVectorReader> createReaderFactory()
- Specified by:
createReaderFactoryin classAbstractIndexType<IndexConfig,NullValueVectorReader,NullValueVectorCreator>
-
createIndexHandler
public IndexHandler createIndexHandler(SegmentDirectory segmentDirectory, Map<String,FieldIndexConfigs> configsByCol, @Nullable Schema schema, @Nullable TableConfig tableConfig)
-
getFileExtension
public String getFileExtension(ColumnMetadata columnMetadata)
-
convertToNewFormat
public void convertToNewFormat(TableConfig tableConfig, Schema schema)
- Specified by:
convertToNewFormatin interfaceIndexType<IndexConfig,NullValueVectorReader,NullValueVectorCreator>- Overrides:
convertToNewFormatin classAbstractIndexType<IndexConfig,NullValueVectorReader,NullValueVectorCreator>
-
-