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 TypeMethodDescriptionvoidCascadingDataAccessStrategy.delete(Iterable<Object> rootIds, PersistentPropertyPath<RelationalPersistentProperty> propertyPath) voidCascadingDataAccessStrategy.delete(Object rootId, PersistentPropertyPath<RelationalPersistentProperty> propertyPath) voidDataAccessStrategy.delete(Iterable<Object> rootIds, PersistentPropertyPath<RelationalPersistentProperty> propertyPath) Deletes all entities reachable via propertyPath from the instances identified by rootIds.voidDataAccessStrategy.delete(Object rootId, PersistentPropertyPath<RelationalPersistentProperty> propertyPath) Deletes all entities reachable via propertyPath from the instance identified by rootId.voidDefaultDataAccessStrategy.delete(Iterable<Object> rootIds, PersistentPropertyPath<RelationalPersistentProperty> propertyPath) voidDefaultDataAccessStrategy.delete(Object rootId, PersistentPropertyPath<RelationalPersistentProperty> propertyPath) voidDelegatingDataAccessStrategy.delete(Iterable<Object> rootIds, PersistentPropertyPath<RelationalPersistentProperty> propertyPath) voidDelegatingDataAccessStrategy.delete(Object rootId, PersistentPropertyPath<RelationalPersistentProperty> propertyPath) voidCascadingDataAccessStrategy.deleteAll(PersistentPropertyPath<RelationalPersistentProperty> propertyPath) voidDataAccessStrategy.deleteAll(PersistentPropertyPath<RelationalPersistentProperty> propertyPath) Deletes all entities reachable via propertyPath from any instance.voidDefaultDataAccessStrategy.deleteAll(PersistentPropertyPath<RelationalPersistentProperty> propertyPath) voidDelegatingDataAccessStrategy.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 RelationalPersistentPropertyModifierConstructorDescriptionprotectedMetadataBackedField(SqlIdentifier name, RelationalPersistentEntity<?> entity, MappingContext<? extends RelationalPersistentEntity<?>, RelationalPersistentProperty> context, RelationalPersistentProperty property, JdbcConverter converter) Creates a newQueryMapper.MetadataBackedFieldwith the given name,RelationalPersistentEntityandMappingContextwith the givenRelationalPersistentProperty.Constructor parameters in org.springframework.data.jdbc.core.convert with type arguments of type RelationalPersistentPropertyModifierConstructorDescriptionprotectedMetadataBackedField(SqlIdentifier name, RelationalPersistentEntity<?> entity, MappingContext<? extends RelationalPersistentEntity<?>, RelationalPersistentProperty> context, JdbcConverter converter) Creates a newQueryMapper.MetadataBackedFieldwith the given name,RelationalPersistentEntityandMappingContext.protectedMetadataBackedField(SqlIdentifier name, RelationalPersistentEntity<?> entity, MappingContext<? extends RelationalPersistentEntity<?>, RelationalPersistentProperty> context, RelationalPersistentProperty property, JdbcConverter converter) Creates a newQueryMapper.MetadataBackedFieldwith the given name,RelationalPersistentEntityandMappingContextwith 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 RelationalPersistentPropertyJdbcMappingContext.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 StringSqlTypeMapping.getRequiredColumnType(RelationalPersistentProperty property) Returns the required column type for a persistent property or throwsIllegalArgumentExceptionif the type cannot be determined.default booleanSqlTypeMapping.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 TypeMethodDescriptionvoidMyBatisDataAccessStrategy.delete(Iterable<Object> rootIds, PersistentPropertyPath<RelationalPersistentProperty> propertyPath) voidMyBatisDataAccessStrategy.delete(Object rootId, PersistentPropertyPath<RelationalPersistentProperty> propertyPath) voidMyBatisDataAccessStrategy.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 givenCollectionusing the givenRelationalPersistentPropertyinformation.MappingR2dbcConverter.getArrayValue(ArrayColumns arrayColumns, RelationalPersistentProperty property, Object value) R2dbcConverter.getArrayValue(ArrayColumns arrayColumns, RelationalPersistentProperty property, Object value) Convert avalueinto 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 newMappingR2dbcConvertergivenMappingContext.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 RelationalPersistentPropertyModifierConstructorDescriptionprotectedMetadataBackedField(SqlIdentifier name, RelationalPersistentEntity<?> entity, MappingContext<? extends RelationalPersistentEntity<?>, RelationalPersistentProperty> context, RelationalPersistentProperty property) Creates a newQueryMapper.MetadataBackedFieldwith the given name,RelationalPersistentEntityandMappingContextwith the givenRelationalPersistentProperty.Constructor parameters in org.springframework.data.r2dbc.query with type arguments of type RelationalPersistentPropertyModifierConstructorDescriptionprotectedMetadataBackedField(SqlIdentifier name, RelationalPersistentEntity<?> entity, MappingContext<? extends RelationalPersistentEntity<?>, RelationalPersistentProperty> context) Creates a newQueryMapper.MetadataBackedFieldwith the given name,RelationalPersistentEntityandMappingContext.protectedMetadataBackedField(SqlIdentifier name, RelationalPersistentEntity<?> entity, MappingContext<? extends RelationalPersistentEntity<?>, RelationalPersistentProperty> context, RelationalPersistentProperty property) Creates a newQueryMapper.MetadataBackedFieldwith the given name,RelationalPersistentEntityandMappingContextwith 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 newR2dbcQueryMethodfrom 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 underlyingMappingContextused 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.ConversionContextfor the givenRelationalPersistentProperty.RowDocumentAccessor.get(RelationalPersistentProperty property) Returns the value the givenRelationalPersistentPropertyrefers to.<T> TMappingRelationalConverter.DocumentValueProvider.getPropertyValue(RelationalPersistentProperty property) booleanMappingRelationalConverter.DocumentValueProvider.hasValue(RelationalPersistentProperty property) booleanMappingRelationalConverter.RelationalPropertyValueProvider.hasValue(RelationalPersistentProperty property) Determine whether there is a value for the givenRelationalPersistentProperty.booleanRowDocumentAccessor.hasValue(RelationalPersistentProperty property) Returns whether the underlyingRowDocumenthas a value (null or non-null) for the givenRelationalPersistentProperty.voidRowDocumentAccessor.put(RelationalPersistentProperty prop, Object value) Puts the given value into the backingRowDocumentbased 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> TMappingRelationalConverter.createInstance(PersistentEntity<T, RelationalPersistentProperty> entity, Function<Parameter<?, RelationalPersistentProperty>, Object> parameterValueProvider) <T> TMappingRelationalConverter.createInstance(PersistentEntity<T, RelationalPersistentProperty> entity, Function<Parameter<?, RelationalPersistentProperty>, Object> parameterValueProvider) default <T> TRelationalConverter.createInstance(PersistentEntity<T, RelationalPersistentProperty> entity, Function<Parameter<?, RelationalPersistentProperty>, Object> parameterValueProvider) Deprecated.default <T> TRelationalConverter.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 RelationalPersistentPropertyRelationalMappingContext.createPersistentProperty(Property property, RelationalPersistentEntity<?> owner, SimpleTypeHolder simpleTypeHolder) default RelationalPersistentPropertyAggregatePath.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 RelationalPersistentPropertyAggregatePath.getRequiredLeafProperty()PersistentPropertyTranslator.translate(RelationalPersistentProperty property) Translate aRelationalPersistentPropertyinto 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 StringNamingStrategy.getColumnName(RelationalPersistentProperty property) Defaults to return the givenRelationalPersistentProperty's name with the parts of a camel case name separated by '_';default StringNamingStrategy.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 StringNamingStrategy.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 aRelationalPersistentPropertyinto a corresponding property from a differentRelationalPersistentEntity.Method parameters in org.springframework.data.relational.core.mapping with type arguments of type RelationalPersistentPropertyModifier and TypeMethodDescriptionstatic PersistentPropertyTranslatorPersistentPropertyTranslator.create(RelationalPersistentEntity<?> targetEntity, Predicate<RelationalPersistentProperty> translationFilter) Create a newPersistentPropertyTranslatoraccepting afilter predicatewhether the translation should happen at all.RelationalMappingContext.getAggregatePath(PersistentPropertyPath<? extends RelationalPersistentProperty> path) Provides anAggregatePathfor the providedPersistentPropertyPath.static booleanPersistentPropertyPathExtension.isWritable(PersistentPropertyPath<? extends RelationalPersistentProperty> path) Deprecated, for removal: This API element is subject to removal in a future version.booleanPersistentPropertyPathExtension.matches(PersistentPropertyPath<RelationalPersistentProperty> path) Deprecated, for removal: This API element is subject to removal in a future version.Tests ifthisand 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.