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