Class DocumentReferenceValues<R>
- java.lang.Object
-
- org.hibernate.search.backend.lucene.lowlevel.collector.impl.DocumentReferenceValues<R>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDocumentReferenceValues(LuceneIdReader idReader, CollectorExecutionContext executionContext)
-
Method Summary
All Methods Static Methods Instance Methods Abstract 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).Rget(int doc)static DocumentReferenceValues<DocumentReference>simple(ProjectionExtractContext context)protected abstract RtoReference(String typeName, String identifier)
-
-
-
Constructor Detail
-
DocumentReferenceValues
protected DocumentReferenceValues(LuceneIdReader idReader, CollectorExecutionContext executionContext)
-
-
Method Detail
-
simple
public static DocumentReferenceValues<DocumentReference> simple(ProjectionExtractContext context)
-
context
public final 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<R>- Parameters:
context- ALeafReaderContext.- Throws:
IOException- If an underlying I/O operation fails.
-
get
public final R get(int doc) throws IOException
- Specified by:
getin interfaceValues<R>- Returns:
- The value for the given document in the current leaf.
- Throws:
IOException- If an underlying I/O operation fails.
-
-