Class IterableElementExtractor<T>
java.lang.Object
org.hibernate.search.mapper.pojo.extractor.builtin.impl.IterableElementExtractor<T>
- All Implemented Interfaces:
ContainerExtractor<Iterable<T>,T>
-
Constructor Details
-
IterableElementExtractor
public IterableElementExtractor()
-
-
Method Details
-
toString
-
iterator
-
extract
public <T1,C2> void extract(Iterable<T> container, ValueProcessor<T1, ? super T, C2> perValueProcessor, T1 target, C2 context, ContainerExtractionContext extractionContext) - Specified by:
extractin interfaceContainerExtractor<C,T> - Type Parameters:
T1- The type of thetargetof theperValueProcessor, i.e. whatever it is supposed to push the result of its processing to.C2- The type of thecontextof theperValueProcessor, i.e. whatever information it needs that is independent from the target or value.- Parameters:
container- A container to extract values from.perValueProcessor- A processor for values extracted from the container.target- The target to pass to theperValueProcessor.context- The context to pass to theperValueProcessor.extractionContext- A context for use by the container extractor itself.
-