Uses of Class
org.springframework.data.mapping.PropertyPath
Packages that use 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
Methods in org.springframework.data.mapping that return PropertyPathModifier 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.Methods in org.springframework.data.mapping that return types with arguments of type PropertyPathModifier and TypeMethodDescriptionPropertyPath.iterator()
Returns anIterator<PropertyPath>
that iterates over all the partial property paths with the same leaf type but decreasing length.Methods in org.springframework.data.mapping with parameters of type PropertyPathModifier and TypeMethodDescriptionboolean
PersistentPropertyPaths.contains
(PropertyPath path) Returns whether the givenPropertyPath
is contained in the currentPersistentPropertyPaths
.Constructor parameters in org.springframework.data.mapping with type arguments of type PropertyPathModifierConstructorDescriptionPropertyReferenceException
(String propertyName, TypeInformation<?> type, List<PropertyPath> alreadyResolvedPah) Creates a newPropertyReferenceException
. -
Uses of PropertyPath in org.springframework.data.mapping.context
Methods in org.springframework.data.mapping.context with parameters of type PropertyPathModifier 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
Methods in org.springframework.data.projection that return PropertyPathMethods in org.springframework.data.projection with parameters of type PropertyPathModifier 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
Methods in org.springframework.data.repository.query.parser that return PropertyPath