public class EntireLayoutColumnarDoublesSerializer extends Object implements ColumnarDoublesSerializer
EntireLayoutColumnarDoublesSupplier.EntireLayoutColumnarDoubles.| Constructor and Description |
|---|
EntireLayoutColumnarDoublesSerializer(String columnName,
SegmentWriteOutMedium segmentWriteOutMedium,
ByteOrder order) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(double value) |
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() |
int |
size() |
void |
writeTo(WritableByteChannel channel,
FileSmoosher smoosher)
Writes serialized form of this object to the given channel.
|
public EntireLayoutColumnarDoublesSerializer(String columnName, SegmentWriteOutMedium segmentWriteOutMedium, ByteOrder order)
public void open()
throws IOException
open in interface ColumnarDoublesSerializerIOExceptionpublic int size()
size in interface ColumnarDoublesSerializerpublic void add(double value)
throws IOException
add in interface ColumnarDoublesSerializerIOExceptionpublic long getSerializedSize()
SerializerSerializer.writeTo(java.nio.channels.WritableByteChannel, org.apache.druid.java.util.common.io.smoosh.FileSmoosher) call.getSerializedSize in interface Serializerpublic void writeTo(WritableByteChannel channel, FileSmoosher smoosher) throws IOException
SerializerwriteTo in interface SerializerIOExceptionCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.