public class CompressedVSizeIndexedV3Supplier extends Object implements WritableSupplier<IndexedMultivalue<IndexedInts>>
Modifier and Type | Field and Description |
---|---|
static byte |
VERSION |
Modifier and Type | Method and Description |
---|---|
static CompressedVSizeIndexedV3Supplier |
fromByteBuffer(ByteBuffer buffer,
ByteOrder order,
SmooshedFileMapper fileMapper) |
static CompressedVSizeIndexedV3Supplier |
fromIterable(Iterable<IndexedInts> objectsIterable,
int offsetChunkFactor,
int maxValue,
ByteOrder byteOrder,
CompressedObjectStrategy.CompressionStrategy compression) |
IndexedMultivalue<IndexedInts> |
get() |
long |
getSerializedSize() |
void |
writeToChannel(WritableByteChannel channel) |
public static final byte VERSION
public static CompressedVSizeIndexedV3Supplier fromByteBuffer(ByteBuffer buffer, ByteOrder order, SmooshedFileMapper fileMapper)
public static CompressedVSizeIndexedV3Supplier fromIterable(Iterable<IndexedInts> objectsIterable, int offsetChunkFactor, int maxValue, ByteOrder byteOrder, CompressedObjectStrategy.CompressionStrategy compression)
public long getSerializedSize()
getSerializedSize
in interface WritableSupplier<IndexedMultivalue<IndexedInts>>
public void writeToChannel(WritableByteChannel channel) throws IOException
writeToChannel
in interface WritableSupplier<IndexedMultivalue<IndexedInts>>
IOException
public IndexedMultivalue<IndexedInts> get()
get
in interface com.google.common.base.Supplier<IndexedMultivalue<IndexedInts>>
Copyright © 2011–2017. All rights reserved.