Interface ProjectionDefinition<P>

Type Parameters:
P - The type of the element returned by the projection.
All Known Subinterfaces:
CompositeProjectionDefinition<T>
All Known Implementing Classes:
AbstractProjectionDefinition, ConstantProjectionDefinition, FieldProjectionDefinition, FieldProjectionDefinition.MultiValued, FieldProjectionDefinition.SingleValued, ObjectProjectionDefinition, ObjectProjectionDefinition.MultiValued, ObjectProjectionDefinition.SingleValued

@Incubating public interface ProjectionDefinition<P>
A component able to define a projection using the Hibernate Search Projection DSL.

Used in particular for projections defined using mapper features, e.g. Java annotations (see org.hibernate.search.mapper.pojo.mapping.definition.annotation.IdProjection, org.hibernate.search.mapper.pojo.mapping.definition.annotation.FieldProjection, etc.).

See Also: