public class CompressedIntsIndexedWriter extends SingleValueIndexedIntsWriter
| Constructor and Description |
|---|
CompressedIntsIndexedWriter(IOPeon ioPeon,
String filenameBase,
int chunkFactor,
ByteOrder byteOrder,
CompressedObjectStrategy.CompressionStrategy compression) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addValue(int val) |
void |
close() |
static CompressedIntsIndexedWriter |
create(IOPeon ioPeon,
String filenameBase,
CompressedObjectStrategy.CompressionStrategy compression) |
long |
getSerializedSize() |
void |
open() |
void |
writeToChannel(WritableByteChannel channel) |
addpublic CompressedIntsIndexedWriter(IOPeon ioPeon, String filenameBase, int chunkFactor, ByteOrder byteOrder, CompressedObjectStrategy.CompressionStrategy compression)
public static CompressedIntsIndexedWriter create(IOPeon ioPeon, String filenameBase, 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) throws IOException
IOExceptionCopyright © 2011–2016. All rights reserved.