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) |
addpublic CompressedVSizeIndexedV3Writer(CompressedIntsIndexedWriter offsetWriter, CompressedVSizeIntsIndexedWriter valueWriter)
public static CompressedVSizeIndexedV3Writer create(IOPeon ioPeon, String filenameBase, int maxValue, CompressedObjectStrategy.CompressionStrategy compression)
public void open()
throws IOException
IOExceptionprotected void addValues(List<Integer> vals) throws IOException
addValues in class MultiValueIndexedIntsWriterIOExceptionpublic void close()
throws IOException
IOExceptionpublic long getSerializedSize()
public void writeToChannel(WritableByteChannel channel, FileSmoosher smoosher) throws IOException
IOExceptionCopyright © 2011–2017. All rights reserved.