Class ObjectProjectionDefinition.WrappedValued<C,T>
java.lang.Object
org.hibernate.search.engine.search.projection.definition.spi.AbstractProjectionDefinition<C>
org.hibernate.search.engine.search.projection.definition.spi.ObjectProjectionDefinition<C,T>
org.hibernate.search.engine.search.projection.definition.spi.ObjectProjectionDefinition.WrappedValued<C,T>
- All Implemented Interfaces:
AutoCloseable
,ProjectionDefinition<C>
,ToStringTreeAppendable
- Enclosing class:
ObjectProjectionDefinition<P,
T>
@Incubating
public static final class ObjectProjectionDefinition.WrappedValued<C,T>
extends ObjectProjectionDefinition<C,T>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hibernate.search.engine.search.projection.definition.spi.ObjectProjectionDefinition
ObjectProjectionDefinition.MultiValued<T>, ObjectProjectionDefinition.SingleValued<T>, ObjectProjectionDefinition.WrappedValued<C,
T> -
Field Summary
Fields inherited from class org.hibernate.search.engine.search.projection.definition.spi.ObjectProjectionDefinition
delegate, fieldPath
-
Constructor Summary
ConstructorsConstructorDescriptionWrappedValued
(String fieldPath, CompositeProjectionDefinition<T> delegate, ProjectionCollector.Provider<T, C> collector) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(ProjectionDefinitionContext context) Creates a projection with a specific projected type.protected boolean
multi()
Methods inherited from class org.hibernate.search.engine.search.projection.definition.spi.ObjectProjectionDefinition
appendTo, close, type
Methods inherited from class org.hibernate.search.engine.search.projection.definition.spi.AbstractProjectionDefinition
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.engine.search.projection.definition.ProjectionDefinition
create
Methods inherited from interface org.hibernate.search.util.common.spi.ToStringTreeAppendable
toStringTree
-
Constructor Details
-
WrappedValued
public WrappedValued(String fieldPath, CompositeProjectionDefinition<T> delegate, ProjectionCollector.Provider<T, C> collector)
-
-
Method Details
-
multi
protected boolean multi()- Specified by:
multi
in classObjectProjectionDefinition<C,
T>
-
create
Description copied from interface:ProjectionDefinition
Creates a projection with a specific projected type.- Parameters:
context
- The context in which the definition is applied.- Returns:
- The created
SearchPredicate
. - See Also:
-