public class CompressedVSizeIndexedV3Writer extends MultiValueIndexedIntsWriter
Constructor and Description |
---|
CompressedVSizeIndexedV3Writer(CompressedIntsIndexedWriter offsetWriter,
CompressedVSizeIntsIndexedWriter valueWriter) |
Modifier and Type | Method and Description |
---|---|
protected void |
addValues(List<Integer> vals) |
void |
close() |
static CompressedVSizeIndexedV3Writer |
create(IOPeon ioPeon,
String filenameBase,
int maxValue,
CompressedObjectStrategy.CompressionStrategy compression) |
long |
getSerializedSize() |
void |
open() |
void |
writeToChannel(WritableByteChannel channel,
FileSmoosher smoosher) |
add
public CompressedVSizeIndexedV3Writer(CompressedIntsIndexedWriter offsetWriter, CompressedVSizeIntsIndexedWriter valueWriter)
public static CompressedVSizeIndexedV3Writer create(IOPeon ioPeon, String filenameBase, int maxValue, CompressedObjectStrategy.CompressionStrategy compression)
public void open() throws IOException
IOException
protected void addValues(List<Integer> vals) throws IOException
addValues
in class MultiValueIndexedIntsWriter
IOException
public void close() throws IOException
IOException
public long getSerializedSize()
public void writeToChannel(WritableByteChannel channel, FileSmoosher smoosher) throws IOException
IOException
Copyright © 2011–2017. All rights reserved.