Class DocumentReferenceValues<R>
java.lang.Object
org.hibernate.search.backend.lucene.lowlevel.collector.impl.DocumentReferenceValues<R>
- All Implemented Interfaces:
Values<R>
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDocumentReferenceValues(CollectorExecutionContext executionContext) -
Method Summary
Modifier and TypeMethodDescriptionfinal voidcontext(org.apache.lucene.index.LeafReaderContext context) Sets the context to use for the next calls toValues.get(int).final Rget(int doc) simple(CollectorExecutionContext executionContext) protected abstract RtoReference(String typeName, String identifier)
-
Constructor Details
-
DocumentReferenceValues
-
-
Method Details
-
simple
public static DocumentReferenceValues<DocumentReference> simple(CollectorExecutionContext executionContext) -
context
Description 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
- 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.
-
toReference
-