Class MultiValueFixedByteRawIndexCreator

    • Constructor Detail

      • MultiValueFixedByteRawIndexCreator

        public MultiValueFixedByteRawIndexCreator​(File baseIndexDir,
                                                  ChunkCompressionType compressionType,
                                                  String column,
                                                  int totalDocs,
                                                  FieldSpec.DataType valueType,
                                                  int maxNumberOfMultiValueElements)
                                           throws IOException
        Create a var-byte raw index creator for the given column
        Parameters:
        baseIndexDir - Index directory
        compressionType - Type of compression to use
        column - Name of column to index
        totalDocs - Total number of documents to index
        valueType - Type of the values
        Throws:
        IOException
      • MultiValueFixedByteRawIndexCreator

        public MultiValueFixedByteRawIndexCreator​(File baseIndexDir,
                                                  ChunkCompressionType compressionType,
                                                  String column,
                                                  int totalDocs,
                                                  FieldSpec.DataType valueType,
                                                  int maxNumberOfMultiValueElements,
                                                  boolean deriveNumDocsPerChunk,
                                                  int writerVersion)
                                           throws IOException
        Create a var-byte raw index creator for the given column
        Parameters:
        baseIndexDir - Index directory
        compressionType - Type of compression to use
        column - Name of column to index
        totalDocs - Total number of documents to index
        valueType - Type of the values
        deriveNumDocsPerChunk - true if writer should auto-derive the number of rows per chunk
        writerVersion - writer format version
        Throws:
        IOException