Class PojoIndexingProcessorContainerElementNode<C,V>
- java.lang.Object
-
- org.hibernate.search.mapper.pojo.processing.impl.PojoIndexingProcessor<C>
-
- org.hibernate.search.mapper.pojo.processing.impl.PojoIndexingProcessorContainerElementNode<C,V>
-
- Type Parameters:
C- The container typeV- The extracted value type
- All Implemented Interfaces:
AutoCloseable,ToStringTreeAppendable
public class PojoIndexingProcessorContainerElementNode<C,V> extends PojoIndexingProcessor<C>
A node inside aPojoIndexingProcessorresponsible for extracting elements from a container and applying nested processor nodes to the elements.
-
-
Constructor Summary
Constructors Constructor Description PojoIndexingProcessorContainerElementNode(ContainerExtractorHolder<C,V> extractorHolder, PojoIndexingProcessor<? super V> nested)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendTo(ToStringTreeAppender appender)Appends information aboutthisto the givenappender.voidclose()voidprocess(DocumentElement target, C source, PojoIndexingProcessorRootContext context)-
Methods inherited from class org.hibernate.search.mapper.pojo.processing.impl.PojoIndexingProcessor
noOp, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.search.util.common.spi.ToStringTreeAppendable
toStringTree
-
-
-
-
Constructor Detail
-
PojoIndexingProcessorContainerElementNode
public PojoIndexingProcessorContainerElementNode(ContainerExtractorHolder<C,V> extractorHolder, PojoIndexingProcessor<? super V> nested)
-
-
Method Detail
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Overrides:
closein classPojoIndexingProcessor<C>
-
appendTo
public void appendTo(ToStringTreeAppender appender)
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, C source, PojoIndexingProcessorRootContext context)
- Specified by:
processin classPojoIndexingProcessor<C>
-
-