public class V3CompressedVSizeColumnarMultiIntsSerializer extends ColumnarMultiIntsSerializer
V3CompressedVSizeColumnarMultiIntsSupplier
Modifier and Type | Method and Description |
---|---|
protected void |
addValues(it.unimi.dsi.fastutil.ints.IntList vals) |
static V3CompressedVSizeColumnarMultiIntsSerializer |
create(SegmentWriteOutMedium segmentWriteOutMedium,
String filenameBase,
int maxValue,
CompressionStrategy compression) |
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.
|
add
public static V3CompressedVSizeColumnarMultiIntsSerializer create(SegmentWriteOutMedium segmentWriteOutMedium, String filenameBase, int maxValue, CompressionStrategy compression)
public void open() throws IOException
IOException
protected void addValues(it.unimi.dsi.fastutil.ints.IntList vals) throws IOException
addValues
in class ColumnarMultiIntsSerializer
IOException
public long getSerializedSize() throws IOException
Serializer
Serializer.writeTo(java.nio.channels.WritableByteChannel, io.druid.java.util.common.io.smoosh.FileSmoosher)
call.IOException
public void writeTo(WritableByteChannel channel, FileSmoosher smoosher) throws IOException
Serializer
IOException
Copyright © 2011–2018. All rights reserved.