Class PojoIndexingProcessorMultiNode<T>
java.lang.Object
org.hibernate.search.mapper.pojo.processing.impl.PojoIndexingProcessor<T>
org.hibernate.search.mapper.pojo.processing.impl.PojoIndexingProcessorMultiNode<T>
- Type Parameters:
T- The processed type
- All Implemented Interfaces:
AutoCloseable,ToStringTreeAppendable
A node inside a
PojoIndexingProcessor responsible for applying multiple processors.-
Constructor Summary
ConstructorsConstructorDescriptionPojoIndexingProcessorMultiNode(Collection<? extends PojoIndexingProcessor<? super T>> elements) -
Method Summary
Modifier and TypeMethodDescriptionvoidappendTo(ToStringTreeAppender appender) Appends information aboutthisto the givenappender.voidclose()final voidprocess(DocumentElement target, T source, PojoIndexingProcessorRootContext context) Methods inherited from class org.hibernate.search.mapper.pojo.processing.impl.PojoIndexingProcessor
noOp, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hibernate.search.util.common.spi.ToStringTreeAppendable
toStringTree
-
Constructor Details
-
PojoIndexingProcessorMultiNode
public PojoIndexingProcessorMultiNode(Collection<? extends PojoIndexingProcessor<? super T>> elements)
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Overrides:
closein classPojoIndexingProcessor<T>
-
appendTo
Description copied from interface:ToStringTreeAppendableAppends information aboutthisto the givenappender.WARNING: This generally shouldn't be called directly, as
ToStringTreeAppenderwill automatically call this method forToStringTreeAppendablevalues passed toToStringTreeAppender.attribute(String, Object)/ToStringTreeAppender.value(Object).Implementations should assume that calls to
ToStringTreeAppender.startObject()/ToStringTreeAppender.endObject()forthisare handled by the caller.- Parameters:
appender- AToStringTreeAppender.
-
process
public final void process(DocumentElement target, T source, PojoIndexingProcessorRootContext context) - Specified by:
processin classPojoIndexingProcessor<T>
-