public class VSizeColumnarMultiIntsSerializer extends ColumnarMultiIntsSerializer
VSizeColumnarMultiInts.| Constructor and Description |
|---|
VSizeColumnarMultiIntsSerializer(SegmentWriteOutMedium segmentWriteOutMedium,
int maxId) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addValues(it.unimi.dsi.fastutil.ints.IntList ints) |
long |
getSerializedSize()
Returns the number of bytes, that this Serializer will write to the output _channel_ (not smoosher) on a
Serializer.writeTo(java.nio.channels.WritableByteChannel, io.druid.java.util.common.io.smoosh.FileSmoosher) call. |
void |
open() |
void |
writeTo(WritableByteChannel channel,
FileSmoosher smoosher)
Writes serialized form of this object to the given channel.
|
addpublic VSizeColumnarMultiIntsSerializer(SegmentWriteOutMedium segmentWriteOutMedium, int maxId)
public void open()
throws IOException
IOExceptionprotected void addValues(it.unimi.dsi.fastutil.ints.IntList ints)
throws IOException
addValues in class ColumnarMultiIntsSerializerIOExceptionpublic long getSerializedSize()
throws IOException
SerializerSerializer.writeTo(java.nio.channels.WritableByteChannel, io.druid.java.util.common.io.smoosh.FileSmoosher) call.IOExceptionpublic void writeTo(WritableByteChannel channel, FileSmoosher smoosher) throws IOException
SerializerIOExceptionCopyright © 2011–2018. All rights reserved.