Package org.apache.lucene.util
Class LongValues
java.lang.Object
org.apache.lucene.index.NumericDocValues
org.apache.lucene.util.LongValues
- Direct Known Subclasses:
- AppendingDeltaPackedLongBuffer,- AppendingPackedLongBuffer,- BlockPackedReader,- MonotonicAppendingLongBuffer,- MonotonicBlockPackedReader,- PagedGrowableWriter,- PagedMutable
Abstraction over an array of longs.
  This class extends NumericDocValues so that we don't need to add another
  level of abstraction every time we want eg. to use the 
PackedInts
  utility classes to represent a NumericDocValues instance.- 
Field SummaryFields inherited from class org.apache.lucene.index.NumericDocValuesEMPTY
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
LongValuespublic LongValues()
 
- 
- 
Method Details- 
getpublic abstract long get(long index) Get value atindex.
- 
getpublic long get(int idx) Description copied from class:NumericDocValuesReturns the numeric value for the specified document ID.- Specified by:
- getin class- NumericDocValues
- Parameters:
- idx- document ID to lookup
- Returns:
- numeric value
 
 
-