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, SegmentFileMapper fileMapper) Reads a column from aByteBuffer, possibly using additional secondary files from aSegmentFileMapper.
-
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, SegmentFileMapper fileMapper) Reads a column from aByteBuffer, possibly using additional secondary files from aSegmentFileMapper.- Parameters:
buffer- primary buffer to read fromorder- byte orderfileMapper- 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.
-