Class MultiValueVarByteRawIndexCreator

    • Constructor Detail

      • MultiValueVarByteRawIndexCreator

        public MultiValueVarByteRawIndexCreator​(File baseIndexDir,
                                                ChunkCompressionType compressionType,
                                                String column,
                                                int totalDocs,
                                                FieldSpec.DataType valueType,
                                                int maxRowLengthInBytes,
                                                int maxNumberOfElements)
                                         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
        maxRowLengthInBytes - the length in bytes of the largest row
        maxNumberOfElements - the maximum number of elements in a row
        Throws:
        IOException
      • MultiValueVarByteRawIndexCreator

        public MultiValueVarByteRawIndexCreator​(File baseIndexDir,
                                                ChunkCompressionType compressionType,
                                                String column,
                                                int totalDocs,
                                                FieldSpec.DataType valueType,
                                                int writerVersion,
                                                int maxRowLengthInBytes,
                                                int maxNumberOfElements)
                                         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
        maxRowLengthInBytes - the size in bytes of the largest row, the chunk size cannot be smaller than this
        maxNumberOfElements - the maximum number of elements in a row
        writerVersion - writer format version
        Throws:
        IOException