public class CompressedColumnarFloatsSupplier extends Object implements com.google.common.base.Supplier<ColumnarFloats>, Serializer
| Modifier and Type | Field and Description |
|---|---|
static byte |
LZF_VERSION |
static byte |
VERSION |
| Modifier and Type | Method and Description |
|---|---|
static CompressedColumnarFloatsSupplier |
fromByteBuffer(ByteBuffer buffer,
ByteOrder order) |
ColumnarFloats |
get() |
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, 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.
|
public static final byte LZF_VERSION
public static final byte VERSION
public ColumnarFloats get()
get in interface com.google.common.base.Supplier<ColumnarFloats>public long getSerializedSize()
throws IOException
SerializerSerializer.writeTo(java.nio.channels.WritableByteChannel, io.druid.java.util.common.io.smoosh.FileSmoosher) call.getSerializedSize in interface SerializerIOExceptionpublic void writeTo(WritableByteChannel channel, FileSmoosher smoosher) throws IOException
SerializerwriteTo in interface SerializerIOExceptionpublic static CompressedColumnarFloatsSupplier fromByteBuffer(ByteBuffer buffer, ByteOrder order)
Copyright © 2011–2018. All rights reserved.