Package org.apache.lucene.codecs.memory
Class LegacySortedNumericDocValues
java.lang.Object
org.apache.lucene.codecs.memory.LegacySortedNumericDocValues
Deprecated.
A list of per-document numeric values, sorted
according to
Long.compare(long, long).-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDeprecated.Sole constructor. -
Method Summary
Modifier and TypeMethodDescriptionabstract intcount()Deprecated.Retrieves the count of values for the current document.abstract voidsetDocument(int doc) Deprecated.Positions to the specified documentabstract longvalueAt(int index) Deprecated.Retrieve the value for the current document at the specified index.
-
Constructor Details
-
LegacySortedNumericDocValues
protected LegacySortedNumericDocValues()Deprecated.Sole constructor. (For invocation by subclass constructors, typically implicit.)
-
-
Method Details
-
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 from0tocount()-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.
-
SortedNumericDocValuesinstead.