java.lang.Object
org.hibernate.search.backend.lucene.lowlevel.docvalues.impl.LongMultiValues
Direct Known Subclasses:
LongMultiValues.DocValuesLongMultiValues

public abstract class LongMultiValues extends Object
A per-document, unordered sequence of long values.
  • Field Details

  • Constructor Details

    • LongMultiValues

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

    • advanceExact

      public abstract boolean advanceExact(int doc) throws IOException
      Advance this instance to the given document id
      Returns:
      true if there is a value for this document
      Throws:
      IOException
    • hasNextValue

      public abstract boolean hasNextValue() throws IOException
      Returns:
      true if there is a next value for this document, i.e. if nextValue() can be called.
      Throws:
      IOException
    • nextValue

      public abstract long nextValue() throws IOException
      Returns:
      The next value for the current document. Can only be called after hasNextValue() returned true.
      Throws:
      IOException
    • fromDocValues

      public static LongMultiValues fromDocValues(org.apache.lucene.index.SortedNumericDocValues docValues)