public class EntireLayoutColumnarFloatsSerializer extends Object implements ColumnarFloatsSerializer
EntireLayoutColumnarFloatsSupplier.EntireLayoutColumnarFloats
.Modifier and Type | Method and Description |
---|---|
void |
add(float 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 void open() throws IOException
open
in interface ColumnarFloatsSerializer
IOException
public int size()
size
in interface ColumnarFloatsSerializer
public void add(float value) throws IOException
add
in interface ColumnarFloatsSerializer
IOException
public long getSerializedSize()
Serializer
Serializer.writeTo(java.nio.channels.WritableByteChannel, org.apache.druid.java.util.common.io.smoosh.FileSmoosher)
call.getSerializedSize
in interface Serializer
public void writeTo(WritableByteChannel channel, FileSmoosher smoosher) throws IOException
Serializer
writeTo
in interface Serializer
IOException
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.