public class CompressedVSizeIntsIndexedWriter extends SingleValueIndexedIntsWriter
| Constructor and Description |
|---|
CompressedVSizeIntsIndexedWriter(IOPeon ioPeon,
String filenameBase,
int maxValue,
int chunkFactor,
ByteOrder byteOrder,
CompressedObjectStrategy.CompressionStrategy compression) |
CompressedVSizeIntsIndexedWriter(IOPeon ioPeon,
String filenameBase,
int maxValue,
int chunkFactor,
ByteOrder byteOrder,
CompressedObjectStrategy.CompressionStrategy compression,
GenericIndexedWriter writer) |
| 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,
FileSmoosher smoosher) |
addpublic CompressedVSizeIntsIndexedWriter(IOPeon ioPeon, String filenameBase, int maxValue, int chunkFactor, ByteOrder byteOrder, CompressedObjectStrategy.CompressionStrategy compression)
public CompressedVSizeIntsIndexedWriter(IOPeon ioPeon, String filenameBase, int maxValue, int chunkFactor, ByteOrder byteOrder, CompressedObjectStrategy.CompressionStrategy compression, GenericIndexedWriter writer)
public static CompressedVSizeIntsIndexedWriter create(IOPeon ioPeon, String filenameBase, int maxValue, CompressedObjectStrategy.CompressionStrategy compression)
public void open()
throws IOException
IOExceptionprotected void addValue(int val)
throws IOException
addValue in class SingleValueIndexedIntsWriterIOExceptionpublic void close()
throws IOException
IOExceptionpublic long getSerializedSize()
public void writeToChannel(WritableByteChannel channel, FileSmoosher smoosher) throws IOException
IOExceptionCopyright © 2011–2017. All rights reserved.