Uses of Interface
org.springframework.data.relational.core.mapping.RelationalPersistentProperty
Package
Description
JDBC-specific conversion classes.
Schema creation and schema update integration with Liquibase.
Query derivation mechanism for JDBC specific repositories.
R2DBC-specific conversion and converter implementations.
Core domain types around DatabaseClient.
Query and update support.
Query support for R2DBC repositories.
Query support for relational database repositories.
-
Uses of RelationalPersistentProperty in org.springframework.data.jdbc.core.convert
Modifier and TypeMethodDescriptionprotected MappingContext<? extends RelationalPersistentEntity<?>,
RelationalPersistentProperty> QueryMapper.getMappingContext()
QueryMapper.MetadataBackedField.getPath()
Modifier and TypeMethodDescriptionClass<?>
JdbcConverter.getColumnType
(RelationalPersistentProperty property) The type to be used to store this property in the database.Class<?>
MappingJdbcConverter.getColumnType
(RelationalPersistentProperty property) JdbcConverter.getTargetSqlType
(RelationalPersistentProperty property) The SQL type constant used when using this property as a parameter for a SQL statement.MappingJdbcConverter.getTargetSqlType
(RelationalPersistentProperty property) Modifier and TypeMethodDescriptionvoid
CascadingDataAccessStrategy.delete
(Iterable<Object> rootIds, PersistentPropertyPath<RelationalPersistentProperty> propertyPath) void
CascadingDataAccessStrategy.delete
(Object rootId, PersistentPropertyPath<RelationalPersistentProperty> propertyPath) void
DataAccessStrategy.delete
(Iterable<Object> rootIds, PersistentPropertyPath<RelationalPersistentProperty> propertyPath) Deletes all entities reachable via propertyPath from the instances identified by rootIds.void
DataAccessStrategy.delete
(Object rootId, PersistentPropertyPath<RelationalPersistentProperty> propertyPath) Deletes all entities reachable via propertyPath from the instance identified by rootId.void
DefaultDataAccessStrategy.delete
(Iterable<Object> rootIds, PersistentPropertyPath<RelationalPersistentProperty> propertyPath) void
DefaultDataAccessStrategy.delete
(Object rootId, PersistentPropertyPath<RelationalPersistentProperty> propertyPath) void
DelegatingDataAccessStrategy.delete
(Iterable<Object> rootIds, PersistentPropertyPath<RelationalPersistentProperty> propertyPath) void
DelegatingDataAccessStrategy.delete
(Object rootId, PersistentPropertyPath<RelationalPersistentProperty> propertyPath) void
CascadingDataAccessStrategy.deleteAll
(PersistentPropertyPath<RelationalPersistentProperty> propertyPath) void
DataAccessStrategy.deleteAll
(PersistentPropertyPath<RelationalPersistentProperty> propertyPath) Deletes all entities reachable via propertyPath from any instance.void
DefaultDataAccessStrategy.deleteAll
(PersistentPropertyPath<RelationalPersistentProperty> propertyPath) void
DelegatingDataAccessStrategy.deleteAll
(PersistentPropertyPath<RelationalPersistentProperty> propertyPath) CascadingDataAccessStrategy.findAllByPath
(Identifier identifier, PersistentPropertyPath<? extends RelationalPersistentProperty> path) DataAccessStrategy.findAllByPath
(Identifier identifier, PersistentPropertyPath<? extends RelationalPersistentProperty> path) DefaultDataAccessStrategy.findAllByPath
(Identifier identifier, PersistentPropertyPath<? extends RelationalPersistentProperty> propertyPath) DelegatingDataAccessStrategy.findAllByPath
(Identifier identifier, PersistentPropertyPath<? extends RelationalPersistentProperty> path) RelationResolver.findAllByPath
(Identifier identifier, PersistentPropertyPath<? extends RelationalPersistentProperty> path) Finds all entities reachable via path.ModifierConstructorDescriptionprotected
MetadataBackedField
(SqlIdentifier name, RelationalPersistentEntity<?> entity, MappingContext<? extends RelationalPersistentEntity<?>, RelationalPersistentProperty> context, RelationalPersistentProperty property, JdbcConverter converter) Creates a newQueryMapper.MetadataBackedField
with the given name,RelationalPersistentEntity
andMappingContext
with the givenRelationalPersistentProperty
.ModifierConstructorDescriptionprotected
MetadataBackedField
(SqlIdentifier name, RelationalPersistentEntity<?> entity, MappingContext<? extends RelationalPersistentEntity<?>, RelationalPersistentProperty> context, JdbcConverter converter) Creates a newQueryMapper.MetadataBackedField
with the given name,RelationalPersistentEntity
andMappingContext
.protected
MetadataBackedField
(SqlIdentifier name, RelationalPersistentEntity<?> entity, MappingContext<? extends RelationalPersistentEntity<?>, RelationalPersistentProperty> context, RelationalPersistentProperty property, JdbcConverter converter) Creates a newQueryMapper.MetadataBackedField
with the given name,RelationalPersistentEntity
andMappingContext
with the givenRelationalPersistentProperty
. -
Uses of RelationalPersistentProperty in org.springframework.data.jdbc.core.mapping
Modifier and TypeMethodDescriptionprotected RelationalPersistentProperty
JdbcMappingContext.createPersistentProperty
(Property property, RelationalPersistentEntity<?> owner, SimpleTypeHolder simpleTypeHolder) ModifierConstructorDescriptionBasicJdbcPersistentProperty
(Property property, PersistentEntity<?, RelationalPersistentProperty> owner, SimpleTypeHolder simpleTypeHolder, NamingStrategy namingStrategy) Creates a newBasicJdbcPersistentProperty
. -
Uses of RelationalPersistentProperty in org.springframework.data.jdbc.core.mapping.schema
Modifier and TypeMethodDescriptionDefaultSqlTypeMapping.getColumnType
(RelationalPersistentProperty property) SqlTypeMapping.getColumnType
(RelationalPersistentProperty property) Determines a column type for a persistent property.default String
SqlTypeMapping.getRequiredColumnType
(RelationalPersistentProperty property) Returns the required column type for a persistent property or throwsIllegalArgumentException
if the type cannot be determined.default boolean
SqlTypeMapping.isNullable
(RelationalPersistentProperty property) Determine whether a column is nullable.ModifierConstructorDescriptionLiquibaseChangeSetWriter
(MappingContext<? extends RelationalPersistentEntity<?>, ? extends RelationalPersistentProperty> mappingContext) Use this to generate a ChangeSet that can be used on an empty database. -
Uses of RelationalPersistentProperty in org.springframework.data.jdbc.mybatis
Modifier and TypeMethodDescriptionvoid
MyBatisDataAccessStrategy.delete
(Iterable<Object> rootIds, PersistentPropertyPath<RelationalPersistentProperty> propertyPath) void
MyBatisDataAccessStrategy.delete
(Object rootId, PersistentPropertyPath<RelationalPersistentProperty> propertyPath) void
MyBatisDataAccessStrategy.deleteAll
(PersistentPropertyPath<RelationalPersistentProperty> propertyPath) MyBatisDataAccessStrategy.findAllByPath
(Identifier identifier, PersistentPropertyPath<? extends RelationalPersistentProperty> path) -
Uses of RelationalPersistentProperty in org.springframework.data.jdbc.repository.query
ModifierConstructorDescriptionJdbcQueryMethod
(Method method, RepositoryMetadata metadata, ProjectionFactory factory, NamedQueries namedQueries, MappingContext<? extends RelationalPersistentEntity<?>, ? extends RelationalPersistentProperty> mappingContext) -
Uses of RelationalPersistentProperty in org.springframework.data.r2dbc.convert
Modifier and TypeMethodDescriptionMappingR2dbcConverter.createCollection
(Collection<?> collection, RelationalPersistentProperty property) Writes the givenCollection
using the givenRelationalPersistentProperty
information.MappingR2dbcConverter.getArrayValue
(ArrayColumns arrayColumns, RelationalPersistentProperty property, Object value) R2dbcConverter.getArrayValue
(ArrayColumns arrayColumns, RelationalPersistentProperty property, Object value) Convert avalue
into an array representation according toArrayColumns
.ModifierConstructorDescriptionMappingR2dbcConverter
(MappingContext<? extends RelationalPersistentEntity<?>, ? extends RelationalPersistentProperty> context) Creates a newMappingR2dbcConverter
givenMappingContext
.MappingR2dbcConverter
(MappingContext<? extends RelationalPersistentEntity<?>, ? extends RelationalPersistentProperty> context, CustomConversions conversions) -
Uses of RelationalPersistentProperty in org.springframework.data.r2dbc.core
-
Uses of RelationalPersistentProperty in org.springframework.data.r2dbc.query
Modifier and TypeMethodDescriptionprotected MappingContext<? extends RelationalPersistentEntity<?>,
RelationalPersistentProperty> QueryMapper.getMappingContext()
ModifierConstructorDescriptionprotected
MetadataBackedField
(SqlIdentifier name, RelationalPersistentEntity<?> entity, MappingContext<? extends RelationalPersistentEntity<?>, RelationalPersistentProperty> context, RelationalPersistentProperty property) Creates a newQueryMapper.MetadataBackedField
with the given name,RelationalPersistentEntity
andMappingContext
with the givenRelationalPersistentProperty
.ModifierConstructorDescriptionprotected
MetadataBackedField
(SqlIdentifier name, RelationalPersistentEntity<?> entity, MappingContext<? extends RelationalPersistentEntity<?>, RelationalPersistentProperty> context) Creates a newQueryMapper.MetadataBackedField
with the given name,RelationalPersistentEntity
andMappingContext
.protected
MetadataBackedField
(SqlIdentifier name, RelationalPersistentEntity<?> entity, MappingContext<? extends RelationalPersistentEntity<?>, RelationalPersistentProperty> context, RelationalPersistentProperty property) Creates a newQueryMapper.MetadataBackedField
with the given name,RelationalPersistentEntity
andMappingContext
with the givenRelationalPersistentProperty
. -
Uses of RelationalPersistentProperty in org.springframework.data.r2dbc.repository.query
ModifierConstructorDescriptionR2dbcQueryMethod
(Method method, RepositoryMetadata metadata, ProjectionFactory projectionFactory, MappingContext<? extends RelationalPersistentEntity<?>, ? extends RelationalPersistentProperty> mappingContext) Creates a newR2dbcQueryMethod
from the givenMethod
. -
Uses of RelationalPersistentProperty in org.springframework.data.relational.core.conversion
Modifier and TypeMethodDescriptionMappingContext<? extends RelationalPersistentEntity<?>,
? extends RelationalPersistentProperty> RelationalConverter.getMappingContext()
Returns the underlyingMappingContext
used by the converter.DbAction.Delete.getPropertyPath()
DbAction.DeleteAll.getPropertyPath()
DbAction.Insert.getPropertyPath()
DbAction.WithPropertyPath.getPropertyPath()
DbAction.WithDependingOn.getQualifier()
DbAction.Insert.getQualifiers()
DbAction.WithDependingOn.getQualifiers()
Additional values to be set during insert or update statements.Modifier and TypeMethodDescriptionMappingRelationalConverter.ConversionContext.forProperty
(RelationalPersistentProperty property) Obtain aMappingRelationalConverter.ConversionContext
for the givenRelationalPersistentProperty
.RowDocumentAccessor.get
(RelationalPersistentProperty property) Returns the value the givenRelationalPersistentProperty
refers to.<T> T
MappingRelationalConverter.DocumentValueProvider.getPropertyValue
(RelationalPersistentProperty property) boolean
MappingRelationalConverter.DocumentValueProvider.hasValue
(RelationalPersistentProperty property) boolean
MappingRelationalConverter.RelationalPropertyValueProvider.hasValue
(RelationalPersistentProperty property) Determine whether there is a value for the givenRelationalPersistentProperty
.boolean
RowDocumentAccessor.hasValue
(RelationalPersistentProperty property) Returns whether the underlyingRowDocument
has a value (null or non-null) for the givenRelationalPersistentProperty
.void
RowDocumentAccessor.put
(RelationalPersistentProperty prop, Object value) Puts the given value into the backingRowDocument
based on the coordinates defined through the givenRelationalPersistentProperty
.Modifier and TypeMethodDescription<T> T
MappingRelationalConverter.createInstance
(PersistentEntity<T, RelationalPersistentProperty> entity, Function<Parameter<?, RelationalPersistentProperty>, Object> parameterValueProvider) <T> T
MappingRelationalConverter.createInstance
(PersistentEntity<T, RelationalPersistentProperty> entity, Function<Parameter<?, RelationalPersistentProperty>, Object> parameterValueProvider) default <T> T
RelationalConverter.createInstance
(PersistentEntity<T, RelationalPersistentProperty> entity, Function<Parameter<?, RelationalPersistentProperty>, Object> parameterValueProvider) Deprecated.default <T> T
RelationalConverter.createInstance
(PersistentEntity<T, RelationalPersistentProperty> entity, Function<Parameter<?, RelationalPersistentProperty>, Object> parameterValueProvider) Deprecated.since 3.2, useRelationalConverter.read(java.lang.Class<R>, org.springframework.data.relational.domain.RowDocument)
method instead.ModifierConstructorDescriptionDelete
(Object rootId, PersistentPropertyPath<RelationalPersistentProperty> propertyPath) DeleteAll
(PersistentPropertyPath<RelationalPersistentProperty> propertyPath) Insert
(T entity, PersistentPropertyPath<RelationalPersistentProperty> propertyPath, DbAction.WithEntity<?> dependingOn, Map<PersistentPropertyPath<RelationalPersistentProperty>, Object> qualifiers, IdValueSource idValueSource) Insert
(T entity, PersistentPropertyPath<RelationalPersistentProperty> propertyPath, DbAction.WithEntity<?> dependingOn, Map<PersistentPropertyPath<RelationalPersistentProperty>, Object> qualifiers, IdValueSource idValueSource) -
Uses of RelationalPersistentProperty in org.springframework.data.relational.core.mapping
Modifier and TypeMethodDescriptionprotected RelationalPersistentProperty
RelationalMappingContext.createPersistentProperty
(Property property, RelationalPersistentEntity<?> owner, SimpleTypeHolder simpleTypeHolder) default RelationalPersistentProperty
AggregatePath.getRequiredBaseProperty()
AggregatePath.getRequiredIdProperty()
PersistentPropertyPathExtension.getRequiredIdProperty()
Deprecated, for removal: This API element is subject to removal in a future version.The id property of the final element of the path.default RelationalPersistentProperty
AggregatePath.getRequiredLeafProperty()
PersistentPropertyTranslator.translate
(RelationalPersistentProperty property) Translate aRelationalPersistentProperty
into a corresponding property from a differentRelationalPersistentEntity
.Modifier and TypeMethodDescriptionprotected Association<RelationalPersistentProperty>
BasicRelationalPersistentProperty.createAssociation()
AggregatePath.getRequiredPersistentPropertyPath()
PersistentPropertyPathExtension.getRequiredPersistentPropertyPath()
Deprecated, for removal: This API element is subject to removal in a future version.Converts this path to a non-nullPersistentPropertyPath
.Modifier and TypeMethodDescriptionAggregatePath.append
(RelationalPersistentProperty property) Creates a new path by extending the current path by the property passed as an argument.PersistentPropertyPathExtension.extendBy
(RelationalPersistentProperty property) Deprecated, for removal: This API element is subject to removal in a future version.Creates a new path by extending the current path by the property passed as an argument.default String
NamingStrategy.getColumnName
(RelationalPersistentProperty property) Defaults to return the givenRelationalPersistentProperty
's name with the parts of a camel case name separated by '_';default String
NamingStrategy.getKeyColumn
(RelationalPersistentProperty property) For a map valued reference A -> Map>X,B< this is the name of the column in the table for B holding the key of the map.RelationalMappingContext.getPersistentEntity
(RelationalPersistentProperty persistentProperty) DefaultNamingStrategy.getReverseColumnName
(RelationalPersistentProperty property) default String
NamingStrategy.getReverseColumnName
(RelationalPersistentProperty property) For a reference A -> B this is the name in the table for B which references A.PersistentPropertyTranslator.translate
(RelationalPersistentProperty property) Translate aRelationalPersistentProperty
into a corresponding property from a differentRelationalPersistentEntity
.Modifier and TypeMethodDescriptionstatic PersistentPropertyTranslator
PersistentPropertyTranslator.create
(RelationalPersistentEntity<?> targetEntity, Predicate<RelationalPersistentProperty> translationFilter) Create a newPersistentPropertyTranslator
accepting afilter predicate
whether the translation should happen at all.RelationalMappingContext.getAggregatePath
(PersistentPropertyPath<? extends RelationalPersistentProperty> path) Provides anAggregatePath
for the providedPersistentPropertyPath
.static boolean
PersistentPropertyPathExtension.isWritable
(PersistentPropertyPath<? extends RelationalPersistentProperty> path) Deprecated, for removal: This API element is subject to removal in a future version.boolean
PersistentPropertyPathExtension.matches
(PersistentPropertyPath<RelationalPersistentProperty> path) Deprecated, for removal: This API element is subject to removal in a future version.Tests ifthis
and the argument represent the same path.ModifierConstructorDescriptionBasicRelationalPersistentProperty
(Property property, PersistentEntity<?, RelationalPersistentProperty> owner, SimpleTypeHolder simpleTypeHolder, NamingStrategy namingStrategy) Creates a newBasicRelationalPersistentProperty
.BasicRelationalPersistentProperty
(Property property, PersistentEntity<?, RelationalPersistentProperty> owner, SimpleTypeHolder simpleTypeHolder, RelationalMappingContext context) Deprecated.PersistentPropertyPathExtension
(MappingContext<? extends RelationalPersistentEntity<?>, ? extends RelationalPersistentProperty> context, PersistentPropertyPath<? extends RelationalPersistentProperty> path) Deprecated, for removal: This API element is subject to removal in a future version.Creates a non-empty path.PersistentPropertyPathExtension
(MappingContext<? extends RelationalPersistentEntity<?>, ? extends RelationalPersistentProperty> context, PersistentPropertyPath<? extends RelationalPersistentProperty> path) Deprecated, for removal: This API element is subject to removal in a future version.Creates a non-empty path.PersistentPropertyPathExtension
(MappingContext<? extends RelationalPersistentEntity<?>, ? extends RelationalPersistentProperty> context, RelationalPersistentEntity<?> entity) Deprecated, for removal: This API element is subject to removal in a future version.Creates the empty path referencing the root itself. -
Uses of RelationalPersistentProperty in org.springframework.data.relational.repository.query
ModifierConstructorDescriptionRelationalExampleMapper
(MappingContext<? extends RelationalPersistentEntity<?>, ? extends RelationalPersistentProperty> mappingContext)
RelationalConverter.read(java.lang.Class<R>, org.springframework.data.relational.domain.RowDocument)
method instead.