public class MonotonicBlockPackedReader extends LongValues implements Accountable
MonotonicBlockPackedWriter
.IDENTITY, ZEROES
Modifier and Type | Method and Description |
---|---|
long |
get(long index)
Get value at
index . |
static MonotonicBlockPackedReader |
of(IndexInput in,
int packedIntsVersion,
int blockSize,
long valueCount,
boolean direct)
Sole constructor.
|
long |
ramBytesUsed()
Return the memory usage of this object in bytes.
|
long |
size()
Returns the number of values
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChildResources
public static MonotonicBlockPackedReader of(IndexInput in, int packedIntsVersion, int blockSize, long valueCount, boolean direct) throws java.io.IOException
java.io.IOException
public long get(long index)
LongValues
index
.get
in class LongValues
public long size()
public long ramBytesUsed()
Accountable
ramBytesUsed
in interface Accountable
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.