Uses of Class
org.springframework.data.mapping.PropertyPath
Package
Description
Base package for the mapping subsystem.
Mapping context API and implementation base classes.
Projection subsystem.
Support classes for parsing queries from method names.
-
Uses of PropertyPath in org.springframework.data.mapping
Modifier and TypeMethodDescriptionstatic PropertyPath
static PropertyPath
PropertyPath.from
(String source, TypeInformation<?> type) PropertyReferenceException.getBaseProperty()
Returns thePropertyPath
which could be resolved so far.PropertyPath.getLeafProperty()
Returns the leaf property of thePropertyPath
.Returns thePropertyPath
for the path nested under the current property.PropertyPath.next()
Returns thePropertyPath
path that results from removing the first element of the current one.Modifier and TypeMethodDescriptionPropertyPath.iterator()
Returns anIterator<PropertyPath>
that iterates over all the partial property paths with the same leaf type but decreasing length.Modifier and TypeMethodDescriptionboolean
PersistentPropertyPaths.contains
(PropertyPath path) Returns whether the givenPropertyPath
is contained in the currentPersistentPropertyPaths
.ModifierConstructorDescriptionPropertyReferenceException
(String propertyName, TypeInformation<?> type, List<PropertyPath> alreadyResolvedPah) Creates a newPropertyReferenceException
. -
Uses of PropertyPath in org.springframework.data.mapping.context
Modifier and TypeMethodDescriptionAbstractMappingContext.getPersistentPropertyPath
(PropertyPath propertyPath) MappingContext.getPersistentPropertyPath
(PropertyPath propertyPath) Returns allPersistentProperty
s for the given path expression based on the givenPropertyPath
. -
Uses of PropertyPath in org.springframework.data.projection
Modifier and TypeMethodDescriptionstatic <M,
D> EntityProjection.ContainerPropertyProjection<M, D> EntityProjection.ContainerPropertyProjection.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.nonProjecting
(PropertyPath propertyPath, TypeInformation<M> mappedType, TypeInformation<D> domainType) 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.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. -
Uses of PropertyPath in org.springframework.data.repository.query.parser