Class IdentifierValues
- java.lang.Object
-
- org.hibernate.search.backend.lucene.lowlevel.collector.impl.IdentifierValues
-
-
Constructor Summary
Constructors Constructor Description IdentifierValues(LuceneIdReader idReader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcontext(org.apache.lucene.index.LeafReaderContext context)Sets the context to use for the next calls toValues.get(int).Stringget(int doc)
-
-
-
Constructor Detail
-
IdentifierValues
public IdentifierValues(LuceneIdReader idReader)
-
-
Method Detail
-
context
public void context(org.apache.lucene.index.LeafReaderContext context) throws IOExceptionDescription copied from interface:ValuesSets the context to use for the next calls toValues.get(int).- Specified by:
contextin interfaceValues<String>- Parameters:
context- ALeafReaderContext.- Throws:
IOException- If an underlying I/O operation fails.
-
get
public String get(int doc) throws IOException
- Specified by:
getin interfaceValues<String>- Returns:
- The value for the given document in the current leaf.
- Throws:
IOException- If an underlying I/O operation fails.
-
-