public class VSizeIndexedWriter extends MultiValueIndexedIntsWriter implements Closeable
| Constructor and Description |
|---|
VSizeIndexedWriter(IOPeon ioPeon,
String filenameBase,
int maxId) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addValues(List<Integer> val) |
void |
close() |
com.google.common.io.InputSupplier<InputStream> |
combineStreams() |
long |
getSerializedSize() |
void |
open() |
void |
write(List<Integer> ints) |
void |
writeToChannel(WritableByteChannel channel,
FileSmoosher smoosher) |
addpublic void open()
throws IOException
open in interface IndexedIntsWriterIOExceptionprotected void addValues(List<Integer> val) throws IOException
addValues in class MultiValueIndexedIntsWriterIOExceptionpublic void write(List<Integer> ints) throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic com.google.common.io.InputSupplier<InputStream> combineStreams()
public long getSerializedSize()
getSerializedSize in interface IndexedIntsWriterpublic void writeToChannel(WritableByteChannel channel, FileSmoosher smoosher) throws IOException
writeToChannel in interface IndexedIntsWriterIOExceptionCopyright © 2011–2017. All rights reserved.