Class SortedBinaryDocValues

    • Constructor Detail

      • SortedBinaryDocValues

        public SortedBinaryDocValues()
    • Method Detail

      • 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
      • docValueCount

        public abstract int docValueCount()
        Retrieves the number of values for the current document. This must always be greater than zero. It is illegal to call this method after advanceExact(int) returned false.
      • nextValue

        public abstract BytesRef nextValue()
                                    throws IOException
        Iterates to the next value in the current document. Do not call this more than docValueCount() times for the document. Note that the returned BytesRef might be reused across invocations.
        Throws:
        IOException