public class CompressedVSizeColumnarIntsSupplier extends Object implements WritableSupplier<ColumnarInts>
| Modifier and Type | Field and Description |
|---|---|
static byte |
VERSION |
public static final byte VERSION
public static int maxIntsInBufferForBytes(int numBytes)
public static int maxIntsInBufferForValue(int maxValue)
public ColumnarInts get()
get in interface com.google.common.base.Supplier<ColumnarInts>public long getSerializedSize()
SerializerSerializer.writeTo(java.nio.channels.WritableByteChannel, org.apache.druid.java.util.common.io.smoosh.FileSmoosher) call.getSerializedSize in interface Serializerpublic void writeTo(WritableByteChannel channel, FileSmoosher smoosher) throws IOException
SerializerwriteTo in interface SerializerIOExceptionpublic static CompressedVSizeColumnarIntsSupplier fromByteBuffer(ByteBuffer buffer, ByteOrder order)
public static CompressedVSizeColumnarIntsSupplier fromByteBuffer(ByteBuffer buffer, ByteOrder order, SmooshedFileMapper mapper)
public static CompressedVSizeColumnarIntsSupplier fromList(it.unimi.dsi.fastutil.ints.IntList list, int maxValue, int chunkFactor, ByteOrder byteOrder, CompressionStrategy compression, Closer closer)
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.