public static class SerializablePairLongStringBufferStore.TransferredBuffer extends Object implements Serializer
WritableByteChannel| Constructor and Description |
|---|
TransferredBuffer(CellWriter cellWriter,
SerializablePairLongStringColumnHeader columnHeader) |
| Modifier and Type | Method and Description |
|---|---|
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 |
writeTo(WritableByteChannel channel,
FileSmoosher smoosher)
Writes serialized form of this object to the given channel.
|
public TransferredBuffer(CellWriter cellWriter, SerializablePairLongStringColumnHeader columnHeader)
public void writeTo(WritableByteChannel channel, @Nullable FileSmoosher smoosher) throws IOException
SerializerwriteTo in interface SerializerIOExceptionpublic long getSerializedSize()
SerializerSerializer.writeTo(java.nio.channels.WritableByteChannel, org.apache.druid.java.util.common.io.smoosh.FileSmoosher) call.getSerializedSize in interface SerializerCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.