public class VSizeIndexedIntsWriter extends SingleValueIndexedIntsWriter
Constructor and Description |
---|
VSizeIndexedIntsWriter(IOPeon ioPeon,
String filenameBase,
int maxValue) |
Modifier and Type | Method and Description |
---|---|
protected void |
addValue(int val) |
void |
close() |
long |
getSerializedSize() |
void |
open() |
void |
writeToChannel(WritableByteChannel channel,
FileSmoosher smoosher) |
add
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, FileSmoosher smoosher) throws IOException
IOException
Copyright © 2011–2017. All rights reserved.