Class PojoIndexingProcessorCastedTypeNode<T,U>

java.lang.Object
org.hibernate.search.mapper.pojo.processing.impl.PojoIndexingProcessor<T>
org.hibernate.search.mapper.pojo.processing.impl.PojoIndexingProcessorCastedTypeNode<T,U>
Type Parameters:
T - The processed type received as input.
U - The type the input objects will be casted to.
All Implemented Interfaces:
AutoCloseable, ToStringTreeAppendable

public class PojoIndexingProcessorCastedTypeNode<T,U> extends PojoIndexingProcessor<T>
A node inside a PojoIndexingProcessor responsible for casting the value to a given type, then applying processor property nodes as well as TypeBridges to the value.

This node will fail with an exception when values cannot be cast to type U.