public class V3CompressedVSizeColumnarMultiIntsSerializer extends ColumnarMultiIntsSerializer
V3CompressedVSizeColumnarMultiIntsSupplier| Modifier and Type | Method and Description |
|---|---|
void |
addValues(IndexedInts ints) |
static V3CompressedVSizeColumnarMultiIntsSerializer |
create(String columnName,
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, org.apache.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.
|
public static V3CompressedVSizeColumnarMultiIntsSerializer create(String columnName, SegmentWriteOutMedium segmentWriteOutMedium, String filenameBase, int maxValue, CompressionStrategy compression)
public void open()
throws IOException
IOExceptionpublic void addValues(IndexedInts ints) throws IOException
addValues in class ColumnarMultiIntsSerializerIOExceptionpublic long getSerializedSize()
throws IOException
SerializerSerializer.writeTo(java.nio.channels.WritableByteChannel, org.apache.druid.java.util.common.io.smoosh.FileSmoosher) call.IOExceptionpublic void writeTo(WritableByteChannel channel, FileSmoosher smoosher) throws IOException
SerializerIOExceptionCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.