Interface Values<T>

    • Method Detail

      • context

        void context​(org.apache.lucene.index.LeafReaderContext context)
              throws IOException
        Sets the context to use for the next calls to get(int).
        Parameters:
        context - A LeafReaderContext.
        Throws:
        IOException - If an underlying I/O operation fails.
      • get

        T get​(int doc)
        throws IOException
        Returns:
        The value for the given document in the current leaf.
        Throws:
        IOException - If an underlying I/O operation fails.