Package org.apache.druid.segment.data
Class CompressedColumnarDoublesSuppliers
java.lang.Object
org.apache.druid.segment.data.CompressedColumnarDoublesSuppliers
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.common.base.Supplier<ColumnarDoubles> fromByteBuffer(ByteBuffer buffer, ByteOrder order, SmooshedFileMapper smooshMapper) Reads a column from aByteBuffer, possibly using additional secondary files from aSmooshedFileMapper.
-
Field Details
-
LZF_VERSION
public static final byte LZF_VERSION- See Also:
-
VERSION
public static final byte VERSION- See Also:
-
-
Method Details
-
fromByteBuffer
public static com.google.common.base.Supplier<ColumnarDoubles> fromByteBuffer(ByteBuffer buffer, ByteOrder order, SmooshedFileMapper smooshMapper) Reads a column from aByteBuffer, possibly using additional secondary files from aSmooshedFileMapper.- Parameters:
buffer- primary buffer to read fromorder- byte ordersmooshMapper- required for reading version 2 (multi-file) indexed. May be null if you know you are reading a single-file column. Generally, this should only be null in tests, not production code.
-