Uses of Interface
org.springframework.data.relational.core.mapping.RelationalPersistentProperty
Packages that use 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
Methods in org.springframework.data.jdbc.core.convert that return types with arguments of type RelationalPersistentPropertyModifier and TypeMethodDescriptionprotected MappingContext<? extends RelationalPersistentEntity<?>,
RelationalPersistentProperty> QueryMapper.getMappingContext()
QueryMapper.MetadataBackedField.getPath()
Methods in org.springframework.data.jdbc.core.convert with parameters of type RelationalPersistentPropertyModifier 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) Method parameters in org.springframework.data.jdbc.core.convert with type arguments of type RelationalPersistentPropertyModifier 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.Constructors in org.springframework.data.jdbc.core.convert with parameters of type RelationalPersistentPropertyModifierConstructorDescriptionprotected
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
.Constructor parameters in org.springframework.data.jdbc.core.convert with type arguments of type RelationalPersistentPropertyModifierConstructorDescriptionprotected
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
Classes in org.springframework.data.jdbc.core.mapping that implement RelationalPersistentPropertyMethods in org.springframework.data.jdbc.core.mapping that return RelationalPersistentPropertyModifier and TypeMethodDescriptionprotected RelationalPersistentProperty
JdbcMappingContext.createPersistentProperty
(Property property, RelationalPersistentEntity<?> owner, SimpleTypeHolder simpleTypeHolder) Constructor parameters in org.springframework.data.jdbc.core.mapping with type arguments of type RelationalPersistentPropertyModifierConstructorDescriptionBasicJdbcPersistentProperty
(Property property, PersistentEntity<?, RelationalPersistentProperty> owner, SimpleTypeHolder simpleTypeHolder, NamingStrategy namingStrategy) Creates a newBasicJdbcPersistentProperty
. -
Uses of RelationalPersistentProperty in org.springframework.data.jdbc.core.mapping.schema
Methods in org.springframework.data.jdbc.core.mapping.schema with parameters of type RelationalPersistentPropertyModifier 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.Constructor parameters in org.springframework.data.jdbc.core.mapping.schema with type arguments of type RelationalPersistentPropertyModifierConstructorDescriptionLiquibaseChangeSetWriter
(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
Method parameters in org.springframework.data.jdbc.mybatis with type arguments of type RelationalPersistentPropertyModifier 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
Constructor parameters in org.springframework.data.jdbc.repository.query with type arguments of type RelationalPersistentPropertyModifierConstructorDescriptionJdbcQueryMethod
(Method method, RepositoryMetadata metadata, ProjectionFactory factory, NamedQueries namedQueries, MappingContext<? extends RelationalPersistentEntity<?>, ? extends RelationalPersistentProperty> mappingContext) -
Uses of RelationalPersistentProperty in org.springframework.data.r2dbc.convert
Methods in org.springframework.data.r2dbc.convert with parameters of type RelationalPersistentPropertyModifier 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
.Constructor parameters in org.springframework.data.r2dbc.convert with type arguments of type RelationalPersistentPropertyModifierConstructorDescriptionMappingR2dbcConverter
(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
Methods in org.springframework.data.r2dbc.core that return types with arguments of type RelationalPersistentProperty -
Uses of RelationalPersistentProperty in org.springframework.data.r2dbc.query
Methods in org.springframework.data.r2dbc.query that return types with arguments of type RelationalPersistentPropertyModifier and TypeMethodDescriptionprotected MappingContext<? extends RelationalPersistentEntity<?>,
RelationalPersistentProperty> QueryMapper.getMappingContext()
Constructors in org.springframework.data.r2dbc.query with parameters of type RelationalPersistentPropertyModifierConstructorDescriptionprotected
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
.Constructor parameters in org.springframework.data.r2dbc.query with type arguments of type RelationalPersistentPropertyModifierConstructorDescriptionprotected
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
Constructor parameters in org.springframework.data.r2dbc.repository.query with type arguments of type RelationalPersistentPropertyModifierConstructorDescriptionR2dbcQueryMethod
(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
Methods in org.springframework.data.relational.core.conversion that return types with arguments of type RelationalPersistentPropertyModifier 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.Methods in org.springframework.data.relational.core.conversion with parameters of type RelationalPersistentPropertyModifier 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.hasNonEmptyValue
(RelationalPersistentProperty property) boolean
MappingRelationalConverter.RelationalPropertyValueProvider.hasNonEmptyValue
(RelationalPersistentProperty property) Determine whether there is a non empty value for the givenRelationalPersistentProperty
.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
.Method parameters in org.springframework.data.relational.core.conversion with type arguments of type RelationalPersistentPropertyModifier 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.Constructor parameters in org.springframework.data.relational.core.conversion with type arguments of type RelationalPersistentPropertyModifierConstructorDescriptionDelete
(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
Classes in org.springframework.data.relational.core.mapping that implement RelationalPersistentPropertyMethods in org.springframework.data.relational.core.mapping that return RelationalPersistentPropertyModifier 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
.Methods in org.springframework.data.relational.core.mapping that return types with arguments of type RelationalPersistentPropertyModifier 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
.Methods in org.springframework.data.relational.core.mapping with parameters of type RelationalPersistentPropertyModifier 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
.Method parameters in org.springframework.data.relational.core.mapping with type arguments of type RelationalPersistentPropertyModifier 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.Constructor parameters in org.springframework.data.relational.core.mapping with type arguments of type RelationalPersistentPropertyModifierConstructorDescriptionBasicRelationalPersistentProperty
(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
Constructor parameters in org.springframework.data.relational.repository.query with type arguments of type RelationalPersistentPropertyModifierConstructorDescriptionRelationalExampleMapper
(MappingContext<? extends RelationalPersistentEntity<?>, ? extends RelationalPersistentProperty> mappingContext)
RelationalConverter.read(java.lang.Class<R>, org.springframework.data.relational.domain.RowDocument)
method instead.