public class CompressedVSizeIntsIndexedWriter extends SingleValueIndexedIntsWriter
Constructor and Description |
---|
CompressedVSizeIntsIndexedWriter(IOPeon ioPeon,
String filenameBase,
int maxValue,
int chunkFactor,
ByteOrder byteOrder,
CompressedObjectStrategy.CompressionStrategy compression) |
Modifier and Type | Method and Description |
---|---|
protected void |
addValue(int val) |
void |
close() |
static CompressedVSizeIntsIndexedWriter |
create(IOPeon ioPeon,
String filenameBase,
int maxValue,
CompressedObjectStrategy.CompressionStrategy compression) |
long |
getSerializedSize() |
void |
open() |
void |
writeToChannel(WritableByteChannel channel) |
add
public CompressedVSizeIntsIndexedWriter(IOPeon ioPeon, String filenameBase, int maxValue, int chunkFactor, ByteOrder byteOrder, CompressedObjectStrategy.CompressionStrategy compression)
public static CompressedVSizeIntsIndexedWriter create(IOPeon ioPeon, String filenameBase, int maxValue, CompressedObjectStrategy.CompressionStrategy compression)
public void open() throws IOException
IOException
protected void addValue(int val) throws IOException
addValue
in class SingleValueIndexedIntsWriter
IOException
public void close() throws IOException
IOException
public long getSerializedSize()
public void writeToChannel(WritableByteChannel channel) throws IOException
IOException
Copyright © 2011–2016. All rights reserved.