Class IdentifierValues

    • Constructor Detail

      • IdentifierValues

        public IdentifierValues​(LuceneIdReader idReader)
    • Method Detail

      • context

        public void context​(org.apache.lucene.index.LeafReaderContext context)
                     throws IOException
        Description copied from interface: Values
        Sets the context to use for the next calls to Values.get(int).
        Specified by:
        context in interface Values<String>
        Parameters:
        context - A LeafReaderContext.
        Throws:
        IOException - If an underlying I/O operation fails.
      • get

        public String get​(int doc)
                   throws IOException
        Specified by:
        get in interface Values<String>
        Returns:
        The value for the given document in the current leaf.
        Throws:
        IOException - If an underlying I/O operation fails.