Package | Description |
---|---|
org.springframework.data.mapping |
Base package for the mapping subsystem.
|
org.springframework.data.mapping.context |
Mapping context API and implementation base classes.
|
org.springframework.data.projection |
Projection subsystem.
|
org.springframework.data.repository.query.parser |
Support classes for parsing queries from method names.
|
Modifier and Type | Method and Description |
---|---|
static PropertyPath |
PropertyPath.from(String source,
Class<?> type)
Extracts the
PropertyPath chain from the given source String and type. |
static PropertyPath |
PropertyPath.from(String source,
TypeInformation<?> type)
|
PropertyPath |
PropertyReferenceException.getBaseProperty()
Returns the
PropertyPath which could be resolved so far. |
PropertyPath |
PropertyPath.getLeafProperty()
Returns the leaf property of the
PropertyPath . |
PropertyPath |
PropertyPath.nested(String path)
Returns the
PropertyPath for the path nested under the current property. |
PropertyPath |
PropertyPath.next()
Returns the next nested
PropertyPath . |
Modifier and Type | Method and Description |
---|---|
Iterator<PropertyPath> |
PropertyPath.iterator() |
Modifier and Type | Method and Description |
---|---|
boolean |
PersistentPropertyPaths.contains(PropertyPath path)
Returns whether the given
PropertyPath is contained in the current PersistentPropertyPaths . |
Constructor and Description |
---|
PropertyReferenceException(String propertyName,
TypeInformation<?> type,
List<PropertyPath> alreadyResolvedPah)
Creates a new
PropertyReferenceException . |
Modifier and Type | Method and Description |
---|---|
PersistentPropertyPath<P> |
AbstractMappingContext.getPersistentPropertyPath(PropertyPath propertyPath) |
PersistentPropertyPath<P> |
MappingContext.getPersistentPropertyPath(PropertyPath propertyPath)
Returns all
PersistentProperty s for the given path expression based on the given PropertyPath . |
Modifier and Type | Method and Description |
---|---|
PropertyPath |
EntityProjection.PropertyProjection.getPropertyPath() |
Modifier and Type | Method and Description |
---|---|
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.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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
PropertyPath |
Part.getProperty() |
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.