Class SingleValueVarByteRawIndexCreator

    • Constructor Detail

      • SingleValueVarByteRawIndexCreator

        public SingleValueVarByteRawIndexCreator​(File baseIndexDir,
                                                 ChunkCompressionType compressionType,
                                                 String column,
                                                 int totalDocs,
                                                 FieldSpec.DataType valueType,
                                                 int maxLength)
                                          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
        maxLength - length of longest entry (in bytes)
        Throws:
        IOException
      • SingleValueVarByteRawIndexCreator

        public SingleValueVarByteRawIndexCreator​(File baseIndexDir,
                                                 ChunkCompressionType compressionType,
                                                 String column,
                                                 int totalDocs,
                                                 FieldSpec.DataType valueType,
                                                 int maxLength,
                                                 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
        maxLength - length of longest entry (in bytes)
        deriveNumDocsPerChunk - true if writer should auto-derive the number of rows per chunk
        writerVersion - writer format version
        Throws:
        IOException