Uses of Class
org.springframework.data.projection.EntityProjection.PropertyProjection
-
Uses of EntityProjection.PropertyProjection in org.springframework.data.projection
Modifier and TypeClassDescriptionstatic class
Descriptor for a property-level type along its potential projection that is held within aCollection
-like orMap
-like container.Modifier and TypeMethodDescriptionstatic <M,
D> EntityProjection.PropertyProjection<M, D> EntityProjection.PropertyProjection.nonProjecting
(PropertyPath propertyPath, TypeInformation<M> mappedType, TypeInformation<D> domainType) Create a non-projecting variant of a mapped type.static <M,
D> EntityProjection.PropertyProjection<M, D> EntityProjection.PropertyProjection.projecting
(PropertyPath propertyPath, TypeInformation<M> mappedType, TypeInformation<D> domainType, List<EntityProjection.PropertyProjection<?, ?>> properties, EntityProjection.ProjectionType projectionType) Create a projecting variant of a mapped type.Modifier and TypeMethodDescriptionvoid
EntityProjection.forEachRecursive
(Consumer<? super EntityProjection.PropertyProjection<?, ?>> action) Performs the given action for each element of theStreamable
recursively until all elements of the graph have been processed or the action throws anException
.static <M,
D> EntityProjection<M, D> EntityProjection.nonProjecting
(TypeInformation<M> mappedType, TypeInformation<D> domainType, List<EntityProjection.PropertyProjection<?, ?>> properties) Create a non-projecting variant of a mapped type.static <M,
D> EntityProjection.ContainerPropertyProjection<M, D> EntityProjection.ContainerPropertyProjection.projecting
(PropertyPath propertyPath, TypeInformation<M> mappedType, TypeInformation<D> domainType, List<EntityProjection.PropertyProjection<?, ?>> properties, EntityProjection.ProjectionType projectionType) Create a projecting variant of a mapped type.static <M,
D> EntityProjection<M, D> EntityProjection.projecting
(TypeInformation<M> mappedType, TypeInformation<D> domainType, List<EntityProjection.PropertyProjection<?, ?>> properties, EntityProjection.ProjectionType projectionType) Create a projecting variant of a mapped type.static <M,
D> EntityProjection.PropertyProjection<M, D> EntityProjection.PropertyProjection.projecting
(PropertyPath propertyPath, TypeInformation<M> mappedType, TypeInformation<D> domainType, List<EntityProjection.PropertyProjection<?, ?>> properties, EntityProjection.ProjectionType projectionType) Create a projecting variant of a mapped type.