Package org.apache.lucene.index
Class LegacySortedNumericDocValues
- java.lang.Object
-
- org.apache.lucene.index.LegacySortedNumericDocValues
-
@Deprecated public abstract class LegacySortedNumericDocValues extends Object
Deprecated.UseSortedNumericDocValues
instead.A list of per-document numeric values, sorted according toLong.compare(long, long)
.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
LegacySortedNumericDocValues()
Deprecated.Sole constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description abstract int
count()
Deprecated.Retrieves the count of values for the current document.abstract void
setDocument(int doc)
Deprecated.Positions to the specified documentabstract long
valueAt(int index)
Deprecated.Retrieve the value for the current document at the specified index.
-
-
-
Method Detail
-
setDocument
public abstract void setDocument(int doc)
Deprecated.Positions to the specified document
-
valueAt
public abstract long valueAt(int index)
Deprecated.Retrieve the value for the current document at the specified index. An index ranges from0
tocount()-1
.
-
count
public abstract int count()
Deprecated.Retrieves the count of values for the current document. This may be zero if a document has no values.
-
-