public class CompressedDoublesIndexedSupplier extends Object implements com.google.common.base.Supplier<IndexedDoubles>
| Modifier and Type | Field and Description |
|---|---|
static byte |
LZF_VERSION |
static byte |
version |
| Constructor and Description |
|---|
CompressedDoublesIndexedSupplier(int totalSize,
int sizePer,
ByteBuffer buffer,
com.google.common.base.Supplier<IndexedDoubles> supplier,
CompressedObjectStrategy.CompressionStrategy compression) |
| Modifier and Type | Method and Description |
|---|---|
static CompressedDoublesIndexedSupplier |
fromByteBuffer(ByteBuffer buffer,
ByteOrder order,
io.druid.java.util.common.io.smoosh.SmooshedFileMapper mapper) |
IndexedDoubles |
get() |
long |
getSerializedSize() |
int |
size() |
void |
writeToChannel(WritableByteChannel channel) |
public static final byte LZF_VERSION
public static final byte version
public CompressedDoublesIndexedSupplier(int totalSize,
int sizePer,
ByteBuffer buffer,
com.google.common.base.Supplier<IndexedDoubles> supplier,
CompressedObjectStrategy.CompressionStrategy compression)
public IndexedDoubles get()
get in interface com.google.common.base.Supplier<IndexedDoubles>public static CompressedDoublesIndexedSupplier fromByteBuffer(ByteBuffer buffer, ByteOrder order, io.druid.java.util.common.io.smoosh.SmooshedFileMapper mapper)
public int size()
public long getSerializedSize()
public void writeToChannel(WritableByteChannel channel) throws IOException
IOExceptionCopyright © 2011–2017. All rights reserved.