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 org.hibernate.search.engine.search.projection.definition.spi.FieldProjectionDefinition
FieldProjectionDefinition.AccumulatedValued<C,
F>, FieldProjectionDefinition.MultiValued<F>, FieldProjectionDefinition.SingleValued<F> -
Field Summary
Fields inherited from class org.hibernate.search.engine.search.projection.definition.spi.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 boolean
multi()
Methods inherited from class org.hibernate.search.engine.search.projection.definition.spi.FieldProjectionDefinition
appendTo, 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
-
AccumulatedValued
public AccumulatedValued(String fieldPath, Class<F> fieldType, ProjectionCollector.Provider<F, C> collector, ValueModel valueModel)
-
-
Method Details
-
multi
protected boolean multi()- Specified by:
multi
in classFieldProjectionDefinition<C,
F>
-
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:
-