Class FieldProjectionDefinition.AccumulatedValued<C,F>
java.lang.Object
org.hibernate.search.engine.search.projection.definition.spi.AbstractProjectionDefinition<C>
org.hibernate.search.engine.search.projection.definition.spi.FieldProjectionDefinition<C,F>
org.hibernate.search.engine.search.projection.definition.spi.FieldProjectionDefinition.AccumulatedValued<C,F>
- All Implemented Interfaces:
ProjectionDefinition<C>, ToStringTreeAppendable
- Enclosing class:
FieldProjectionDefinition<P,F>
@Incubating
public static final class FieldProjectionDefinition.AccumulatedValued<C,F>
extends FieldProjectionDefinition<C,F>
-
Nested Class Summary
Nested classes/interfaces inherited from class FieldProjectionDefinition
FieldProjectionDefinition.AccumulatedValued<C,F>, FieldProjectionDefinition.MultiValued<F>, FieldProjectionDefinition.SingleValued<F> -
Field Summary
Fields inherited from class FieldProjectionDefinition
fieldPath, fieldType, valueModel -
Constructor Summary
ConstructorsConstructorDescriptionAccumulatedValued(String fieldPath, Class<F> fieldType, ProjectionCollector.Provider<F, C> collector, ValueModel valueModel) -
Method Summary
Modifier and TypeMethodDescriptioncreate(ProjectionDefinitionContext context) Creates a projection with a specific projected type.protected booleanmulti()Methods inherited from class FieldProjectionDefinition
appendTo, typeMethods inherited from class AbstractProjectionDefinition
toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ProjectionDefinition
createMethods inherited from interface ToStringTreeAppendable
toStringTree
-
Constructor Details
-
AccumulatedValued
public AccumulatedValued(String fieldPath, Class<F> fieldType, ProjectionCollector.Provider<F, C> collector, ValueModel valueModel)
-
-
Method Details
-
multi
protected boolean multi()- Specified by:
multiin classFieldProjectionDefinition<C,F>
-
create
Description copied from interface:ProjectionDefinitionCreates a projection with a specific projected type.- Parameters:
context- The context in which the definition is applied.- Returns:
- The created
SearchPredicate. - See Also:
-