| Package | Description |
|---|---|
| org.springframework.data.relational.core.conversion | |
| org.springframework.data.relational.core.mapping | |
| org.springframework.data.relational.repository.query |
Query support for relational database repositories.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.data.mapping.context.MappingContext<? extends RelationalPersistentEntity<?>,? extends RelationalPersistentProperty> |
BasicRelationalConverter.getMappingContext() |
org.springframework.data.mapping.context.MappingContext<? extends RelationalPersistentEntity<?>,? extends RelationalPersistentProperty> |
RelationalConverter.getMappingContext()
Returns the underlying
MappingContext used by the converter. |
org.springframework.data.mapping.PersistentPropertyPath<RelationalPersistentProperty> |
DbAction.Insert.getPropertyPath() |
org.springframework.data.mapping.PersistentPropertyPath<RelationalPersistentProperty> |
DbAction.Update.getPropertyPath() |
org.springframework.data.mapping.PersistentPropertyPath<RelationalPersistentProperty> |
DbAction.Delete.getPropertyPath() |
org.springframework.data.mapping.PersistentPropertyPath<RelationalPersistentProperty> |
DbAction.DeleteAll.getPropertyPath() |
org.springframework.data.mapping.PersistentPropertyPath<RelationalPersistentProperty> |
DbAction.WithPropertyPath.getPropertyPath() |
default org.springframework.data.util.Pair<org.springframework.data.mapping.PersistentPropertyPath<RelationalPersistentProperty>,Object> |
DbAction.WithDependingOn.getQualifier() |
Map<org.springframework.data.mapping.PersistentPropertyPath<RelationalPersistentProperty>,Object> |
DbAction.Insert.getQualifiers() |
Map<org.springframework.data.mapping.PersistentPropertyPath<RelationalPersistentProperty>,Object> |
DbAction.WithDependingOn.getQualifiers()
Additional values to be set during insert or update statements.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
BasicRelationalConverter.createInstance(org.springframework.data.mapping.PersistentEntity<T,RelationalPersistentProperty> entity,
Function<org.springframework.data.mapping.Parameter<?,RelationalPersistentProperty>,Object> parameterValueProvider) |
<T> T |
BasicRelationalConverter.createInstance(org.springframework.data.mapping.PersistentEntity<T,RelationalPersistentProperty> entity,
Function<org.springframework.data.mapping.Parameter<?,RelationalPersistentProperty>,Object> parameterValueProvider) |
<T> T |
RelationalConverter.createInstance(org.springframework.data.mapping.PersistentEntity<T,RelationalPersistentProperty> entity,
Function<org.springframework.data.mapping.Parameter<?,RelationalPersistentProperty>,Object> parameterValueProvider)
Create a new instance of
PersistentEntity given ParameterValueProvider to obtain constructor
properties. |
<T> T |
RelationalConverter.createInstance(org.springframework.data.mapping.PersistentEntity<T,RelationalPersistentProperty> entity,
Function<org.springframework.data.mapping.Parameter<?,RelationalPersistentProperty>,Object> parameterValueProvider)
Create a new instance of
PersistentEntity given ParameterValueProvider to obtain constructor
properties. |
| Constructor and Description |
|---|
BasicRelationalConverter(org.springframework.data.mapping.context.MappingContext<? extends RelationalPersistentEntity<?>,? extends RelationalPersistentProperty> context)
Creates a new
BasicRelationalConverter given MappingContext. |
BasicRelationalConverter(org.springframework.data.mapping.context.MappingContext<? extends RelationalPersistentEntity<?>,? extends RelationalPersistentProperty> context,
org.springframework.data.convert.CustomConversions conversions)
|
Delete(Object rootId,
org.springframework.data.mapping.PersistentPropertyPath<RelationalPersistentProperty> propertyPath) |
DeleteAll(org.springframework.data.mapping.PersistentPropertyPath<RelationalPersistentProperty> propertyPath) |
Insert(T entity,
org.springframework.data.mapping.PersistentPropertyPath<RelationalPersistentProperty> propertyPath,
DbAction.WithEntity<?> dependingOn,
Map<org.springframework.data.mapping.PersistentPropertyPath<RelationalPersistentProperty>,Object> qualifiers,
IdValueSource idValueSource) |
Insert(T entity,
org.springframework.data.mapping.PersistentPropertyPath<RelationalPersistentProperty> propertyPath,
DbAction.WithEntity<?> dependingOn,
Map<org.springframework.data.mapping.PersistentPropertyPath<RelationalPersistentProperty>,Object> qualifiers,
IdValueSource idValueSource) |
Update(T entity,
org.springframework.data.mapping.PersistentPropertyPath<RelationalPersistentProperty> propertyPath) |
| Modifier and Type | Class and Description |
|---|---|
class |
BasicRelationalPersistentProperty
Meta data about a property to be used by repository implementations.
|
| Modifier and Type | Method and Description |
|---|---|
protected RelationalPersistentProperty |
RelationalMappingContext.createPersistentProperty(org.springframework.data.mapping.model.Property property,
RelationalPersistentEntity<?> owner,
org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder) |
RelationalPersistentProperty |
PersistentPropertyPathExtension.getRequiredIdProperty()
The id property of the final element of the path.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.data.mapping.Association<RelationalPersistentProperty> |
BasicRelationalPersistentProperty.createAssociation() |
org.springframework.data.mapping.PersistentPropertyPath<? extends RelationalPersistentProperty> |
PersistentPropertyPathExtension.getRequiredPersistentPropertyPath()
Converts this path to a non-null
PersistentPropertyPath. |
| Modifier and Type | Method and Description |
|---|---|
PersistentPropertyPathExtension |
PersistentPropertyPathExtension.extendBy(RelationalPersistentProperty property)
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 given
RelationalPersistentProperty'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.
|
default String |
NamingStrategy.getReverseColumnName(RelationalPersistentProperty property)
For a reference A -> B this is the name in the table for B which references A.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
PersistentPropertyPathExtension.matches(org.springframework.data.mapping.PersistentPropertyPath<RelationalPersistentProperty> path)
Tests if
this and the argument represent the same path. |
| Constructor and Description |
|---|
BasicRelationalPersistentProperty(org.springframework.data.mapping.model.Property property,
org.springframework.data.mapping.PersistentEntity<?,RelationalPersistentProperty> owner,
org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder,
NamingStrategy namingStrategy)
Creates a new
BasicRelationalPersistentProperty. |
BasicRelationalPersistentProperty(org.springframework.data.mapping.model.Property property,
org.springframework.data.mapping.PersistentEntity<?,RelationalPersistentProperty> owner,
org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder,
RelationalMappingContext context)
Deprecated.
|
PersistentPropertyPathExtension(org.springframework.data.mapping.context.MappingContext<? extends RelationalPersistentEntity<?>,? extends RelationalPersistentProperty> context,
org.springframework.data.mapping.PersistentPropertyPath<? extends RelationalPersistentProperty> path)
Creates a non-empty path.
|
PersistentPropertyPathExtension(org.springframework.data.mapping.context.MappingContext<? extends RelationalPersistentEntity<?>,? extends RelationalPersistentProperty> context,
org.springframework.data.mapping.PersistentPropertyPath<? extends RelationalPersistentProperty> path)
Creates a non-empty path.
|
PersistentPropertyPathExtension(org.springframework.data.mapping.context.MappingContext<? extends RelationalPersistentEntity<?>,? extends RelationalPersistentProperty> context,
RelationalPersistentEntity<?> entity)
Creates the empty path referencing the root itself.
|
| Constructor and Description |
|---|
RelationalExampleMapper(org.springframework.data.mapping.context.MappingContext<? extends RelationalPersistentEntity<?>,? extends RelationalPersistentProperty> mappingContext) |
Copyright © 2017–2023 Pivotal Software, Inc.. All rights reserved.