Class ForwardIndexCreatorFactory
- java.lang.Object
-
- org.apache.pinot.segment.local.segment.index.forward.ForwardIndexCreatorFactory
-
public class ForwardIndexCreatorFactory extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ForwardIndexCreatorcreateIndexCreator(IndexCreationContext context, ForwardIndexConfig indexConfig)static ForwardIndexCreatorgetRawIndexCreatorForMVColumn(File indexDir, ChunkCompressionType compressionType, String column, FieldSpec.DataType storedType, int numTotalDocs, int maxNumberOfMultiValueElements, boolean deriveNumDocsPerChunk, int writerVersion, int maxRowLengthInBytes)Helper method to build the raw index creator for the column.static ForwardIndexCreatorgetRawIndexCreatorForSVColumn(File indexDir, ChunkCompressionType compressionType, String column, FieldSpec.DataType storedType, int numTotalDocs, int lengthOfLongestEntry, boolean deriveNumDocsPerChunk, int writerVersion)Helper method to build the raw index creator for the column.
-
-
-
Method Detail
-
createIndexCreator
public static ForwardIndexCreator createIndexCreator(IndexCreationContext context, ForwardIndexConfig indexConfig) throws Exception
- Throws:
Exception
-
getRawIndexCreatorForSVColumn
public static ForwardIndexCreator getRawIndexCreatorForSVColumn(File indexDir, ChunkCompressionType compressionType, String column, FieldSpec.DataType storedType, int numTotalDocs, int lengthOfLongestEntry, boolean deriveNumDocsPerChunk, int writerVersion) throws IOException
Helper method to build the raw index creator for the column. Assumes that column to be indexed is single valued.- Throws:
IOException
-
getRawIndexCreatorForMVColumn
public static ForwardIndexCreator getRawIndexCreatorForMVColumn(File indexDir, ChunkCompressionType compressionType, String column, FieldSpec.DataType storedType, int numTotalDocs, int maxNumberOfMultiValueElements, boolean deriveNumDocsPerChunk, int writerVersion, int maxRowLengthInBytes) throws IOException
Helper method to build the raw index creator for the column. Assumes that column to be indexed is multi-valued.- Throws:
IOException
-
-