public interface Serializer
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
writeTo(java.nio.channels.WritableByteChannel, io.druid.java.util.common.io.smoosh.FileSmoosher) call. |
void |
writeTo(WritableByteChannel channel,
FileSmoosher smoosher)
Writes serialized form of this object to the given channel.
|
long getSerializedSize() throws IOException
writeTo(java.nio.channels.WritableByteChannel, io.druid.java.util.common.io.smoosh.FileSmoosher)
call.IOException
void writeTo(WritableByteChannel channel, FileSmoosher smoosher) throws IOException
IOException
Copyright © 2011–2018. All rights reserved.