public abstract class LongValues extends NumericDocValues
PackedInts
utility classes to represent a NumericDocValues
instance.Modifier and Type | Field and Description |
---|---|
static LongValues |
IDENTITY
An instance that returns the provided value.
|
Constructor and Description |
---|
LongValues() |
Modifier and Type | Method and Description |
---|---|
long |
get(int idx)
Returns the numeric value for the specified document ID.
|
abstract long |
get(long index)
Get value at
index . |
public static final LongValues IDENTITY
public abstract long get(long index)
index
.public long get(int idx)
NumericDocValues
get
in class NumericDocValues
idx
- document ID to lookupCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.