Package | Description |
---|---|
org.springframework.data.jdbc.core.convert |
JDBC-specific conversion classes.
|
org.springframework.data.jdbc.core.mapping | |
org.springframework.data.jdbc.mybatis | |
org.springframework.data.jdbc.repository.query |
Query derivation mechanism for JDBC specific repositories.
|
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 |
---|---|
Class<?> |
JdbcConverter.getColumnType(RelationalPersistentProperty property)
The type to be used to store this property in the database.
|
Class<?> |
BasicJdbcConverter.getColumnType(RelationalPersistentProperty property) |
int |
JdbcConverter.getSqlType(RelationalPersistentProperty property)
Deprecated.
|
int |
BasicJdbcConverter.getSqlType(RelationalPersistentProperty property)
Deprecated.
|
SQLType |
JdbcConverter.getTargetSqlType(RelationalPersistentProperty property)
The SQL type constant used when using this property as a parameter for a SQL statement.
|
SQLType |
BasicJdbcConverter.getTargetSqlType(RelationalPersistentProperty property) |
Modifier and Type | Method and Description |
---|---|
void |
CascadingDataAccessStrategy.delete(Object rootId,
org.springframework.data.mapping.PersistentPropertyPath<RelationalPersistentProperty> propertyPath) |
void |
DelegatingDataAccessStrategy.delete(Object rootId,
org.springframework.data.mapping.PersistentPropertyPath<RelationalPersistentProperty> propertyPath) |
void |
DefaultDataAccessStrategy.delete(Object rootId,
org.springframework.data.mapping.PersistentPropertyPath<RelationalPersistentProperty> propertyPath) |
void |
DataAccessStrategy.delete(Object rootId,
org.springframework.data.mapping.PersistentPropertyPath<RelationalPersistentProperty> propertyPath)
Deletes all entities reachable via propertyPath from the instance identified by rootId.
|
void |
CascadingDataAccessStrategy.deleteAll(org.springframework.data.mapping.PersistentPropertyPath<RelationalPersistentProperty> propertyPath) |
void |
DelegatingDataAccessStrategy.deleteAll(org.springframework.data.mapping.PersistentPropertyPath<RelationalPersistentProperty> propertyPath) |
void |
DefaultDataAccessStrategy.deleteAll(org.springframework.data.mapping.PersistentPropertyPath<RelationalPersistentProperty> propertyPath) |
void |
DataAccessStrategy.deleteAll(org.springframework.data.mapping.PersistentPropertyPath<RelationalPersistentProperty> propertyPath)
Deletes all entities reachable via propertyPath from any instance.
|
Iterable<Object> |
RelationResolver.findAllByPath(Identifier identifier,
org.springframework.data.mapping.PersistentPropertyPath<? extends RelationalPersistentProperty> path)
Finds all entities reachable via path.
|
Iterable<Object> |
CascadingDataAccessStrategy.findAllByPath(Identifier identifier,
org.springframework.data.mapping.PersistentPropertyPath<? extends RelationalPersistentProperty> path) |
Iterable<Object> |
DelegatingDataAccessStrategy.findAllByPath(Identifier identifier,
org.springframework.data.mapping.PersistentPropertyPath<? extends RelationalPersistentProperty> path) |
Iterable<Object> |
DefaultDataAccessStrategy.findAllByPath(Identifier identifier,
org.springframework.data.mapping.PersistentPropertyPath<? extends RelationalPersistentProperty> propertyPath) |
Iterable<Object> |
DataAccessStrategy.findAllByPath(Identifier identifier,
org.springframework.data.mapping.PersistentPropertyPath<? extends RelationalPersistentProperty> path) |
Constructor and Description |
---|
BasicJdbcConverter(org.springframework.data.mapping.context.MappingContext<? extends RelationalPersistentEntity<?>,? extends RelationalPersistentProperty> context,
RelationResolver relationResolver)
Creates a new
BasicRelationalConverter given MappingContext and a
no-op type factory throwing UnsupportedOperationException on type
creation. |
BasicJdbcConverter(org.springframework.data.mapping.context.MappingContext<? extends RelationalPersistentEntity<?>,? extends RelationalPersistentProperty> context,
RelationResolver relationResolver,
org.springframework.data.convert.CustomConversions conversions,
JdbcTypeFactory typeFactory,
IdentifierProcessing identifierProcessing)
Creates a new
BasicRelationalConverter given MappingContext . |
Modifier and Type | Class and Description |
---|---|
class |
BasicJdbcPersistentProperty
Extension to
BasicRelationalPersistentProperty . |
Modifier and Type | Method and Description |
---|---|
protected RelationalPersistentProperty |
JdbcMappingContext.createPersistentProperty(org.springframework.data.mapping.model.Property property,
RelationalPersistentEntity<?> owner,
org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder) |
Constructor and Description |
---|
BasicJdbcPersistentProperty(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
BasicJdbcPersistentProperty . |
BasicJdbcPersistentProperty(org.springframework.data.mapping.model.Property property,
org.springframework.data.mapping.PersistentEntity<?,RelationalPersistentProperty> owner,
org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder,
RelationalMappingContext context)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
MyBatisDataAccessStrategy.delete(Object rootId,
org.springframework.data.mapping.PersistentPropertyPath<RelationalPersistentProperty> propertyPath) |
void |
MyBatisDataAccessStrategy.deleteAll(org.springframework.data.mapping.PersistentPropertyPath<RelationalPersistentProperty> propertyPath) |
Iterable<Object> |
MyBatisDataAccessStrategy.findAllByPath(Identifier identifier,
org.springframework.data.mapping.PersistentPropertyPath<? extends RelationalPersistentProperty> path) |
Constructor and Description |
---|
JdbcQueryMethod(Method method,
org.springframework.data.repository.core.RepositoryMetadata metadata,
org.springframework.data.projection.ProjectionFactory factory,
org.springframework.data.repository.core.NamedQueries namedQueries,
org.springframework.data.mapping.context.MappingContext<? extends RelationalPersistentEntity<?>,? extends RelationalPersistentProperty> mappingContext) |
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.