static class FieldCacheImpl.LongsFromArray extends NumericDocValues implements Accountable
Modifier and Type | Field and Description |
---|---|
private long |
minValue |
private PackedInts.Reader |
values |
Constructor and Description |
---|
LongsFromArray(PackedInts.Reader values,
long minValue) |
Modifier and Type | Method and Description |
---|---|
long |
get(int docID)
Returns the numeric value for the specified document ID.
|
long |
ramBytesUsed()
Return the memory usage of this object in bytes.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildResources
private final PackedInts.Reader values
private final long minValue
public LongsFromArray(PackedInts.Reader values, long minValue)
public long get(int docID)
NumericDocValues
get
in class NumericDocValues
docID
- document ID to lookuppublic long ramBytesUsed()
Accountable
ramBytesUsed
in interface Accountable