public class CompressedLongsIndexedSupplier extends Object implements com.google.common.base.Supplier<IndexedLongs>
Modifier and Type | Field and Description |
---|---|
static byte |
LZF_VERSION |
static int |
MAX_LONGS_IN_BUFFER |
static byte |
version |
Modifier and Type | Method and Description |
---|---|
CompressedLongsIndexedSupplier |
convertByteOrder(ByteOrder order) |
static CompressedLongsIndexedSupplier |
fromByteBuffer(ByteBuffer buffer,
ByteOrder order) |
static CompressedLongsIndexedSupplier |
fromList(List<Long> list,
int chunkFactor,
ByteOrder byteOrder,
CompressedObjectStrategy.CompressionStrategy compression) |
static CompressedLongsIndexedSupplier |
fromLongBuffer(LongBuffer buffer,
ByteOrder byteOrder,
CompressedObjectStrategy.CompressionStrategy compression) |
static CompressedLongsIndexedSupplier |
fromLongBuffer(LongBuffer buffer,
int chunkFactor,
ByteOrder byteOrder,
CompressedObjectStrategy.CompressionStrategy compression) |
IndexedLongs |
get() |
long |
getSerializedSize() |
int |
size() |
void |
writeToChannel(WritableByteChannel channel) |
public static final byte LZF_VERSION
public static final byte version
public static final int MAX_LONGS_IN_BUFFER
public int size()
public IndexedLongs get()
get
in interface com.google.common.base.Supplier<IndexedLongs>
public long getSerializedSize()
public void writeToChannel(WritableByteChannel channel) throws IOException
IOException
public CompressedLongsIndexedSupplier convertByteOrder(ByteOrder order)
public static CompressedLongsIndexedSupplier fromByteBuffer(ByteBuffer buffer, ByteOrder order)
public static CompressedLongsIndexedSupplier fromLongBuffer(LongBuffer buffer, ByteOrder byteOrder, CompressedObjectStrategy.CompressionStrategy compression)
public static CompressedLongsIndexedSupplier fromLongBuffer(LongBuffer buffer, int chunkFactor, ByteOrder byteOrder, CompressedObjectStrategy.CompressionStrategy compression)
public static CompressedLongsIndexedSupplier fromList(List<Long> list, int chunkFactor, ByteOrder byteOrder, CompressedObjectStrategy.CompressionStrategy compression)
Copyright © 2011–2015. All rights reserved.