org.apache.lucene.index

Class SortedNumericDocValues

    • Constructor Detail

      • SortedNumericDocValues

        protected SortedNumericDocValues()
        Sole constructor. (For invocation by subclass constructors, typically implicit.)
    • Method Detail

      • setDocument

        public abstract void setDocument(int doc)
        Positions to the specified document
      • valueAt

        public abstract long valueAt(int index)
        Retrieve the value for the current document at the specified index. An index ranges from 0 to count()-1.
      • count

        public abstract int count()
        Retrieves the count of values for the current document. This may be zero if a document has no values.