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.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 |
---|---|
Iterable<Object> |
DefaultDataAccessStrategy.findAllByProperty(Object rootId,
RelationalPersistentProperty property) |
<T> Iterable<T> |
CascadingDataAccessStrategy.findAllByProperty(Object rootId,
RelationalPersistentProperty property) |
<T> Iterable<T> |
DelegatingDataAccessStrategy.findAllByProperty(Object rootId,
RelationalPersistentProperty property) |
<T> Iterable<T> |
DataAccessStrategy.findAllByProperty(Object rootId,
RelationalPersistentProperty property)
Deprecated.
Use #findAllByPath instead.
|
Constructor and Description |
---|
BasicJdbcConverter(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(MappingContext<? extends RelationalPersistentEntity<?>,? extends RelationalPersistentProperty> context,
RelationResolver relationResolver,
CustomConversions conversions,
JdbcTypeFactory typeFactory)
Creates a new
BasicRelationalConverter given MappingContext . |
Modifier and Type | Class and Description |
---|---|
class |
BasicJdbcPersistentProperty |
Modifier and Type | Method and Description |
---|---|
protected RelationalPersistentProperty |
JdbcMappingContext.createPersistentProperty(Property property,
RelationalPersistentEntity<?> owner,
SimpleTypeHolder simpleTypeHolder) |
Constructor and Description |
---|
BasicJdbcPersistentProperty(Property property,
PersistentEntity<?,RelationalPersistentProperty> owner,
SimpleTypeHolder simpleTypeHolder,
RelationalMappingContext context)
Creates a new
BasicJdbcPersistentProperty . |
Modifier and Type | Method and Description |
---|---|
<T> Iterable<T> |
MyBatisDataAccessStrategy.findAllByProperty(Object rootId,
RelationalPersistentProperty property) |
Modifier and Type | Method and Description |
---|---|
void |
MyBatisDataAccessStrategy.delete(Object rootId,
PersistentPropertyPath<RelationalPersistentProperty> propertyPath) |
void |
MyBatisDataAccessStrategy.deleteAll(PersistentPropertyPath<RelationalPersistentProperty> propertyPath) |
Iterable<Object> |
MyBatisDataAccessStrategy.findAllByPath(Identifier identifier,
PersistentPropertyPath<RelationalPersistentProperty> path) |
Modifier and Type | Method and Description |
---|---|
MappingContext<? extends RelationalPersistentEntity<?>,? extends RelationalPersistentProperty> |
RelationalConverter.getMappingContext()
Returns the underlying
MappingContext used by the converter. |
MappingContext<? extends RelationalPersistentEntity<?>,? extends RelationalPersistentProperty> |
BasicRelationalConverter.getMappingContext() |
PersistentPropertyPath<RelationalPersistentProperty> |
DbAction.WithPropertyPath.getPropertyPath() |
Map<PersistentPropertyPath<RelationalPersistentProperty>,Object> |
DbAction.Insert.getQualifiers() |
Map<PersistentPropertyPath<RelationalPersistentProperty>,Object> |
DbAction.Merge.getQualifiers() |
Map<PersistentPropertyPath<RelationalPersistentProperty>,Object> |
DbAction.WithDependingOn.getQualifiers()
Additional values to be set during insert or update statements.
|
Constructor and Description |
---|
BasicRelationalConverter(MappingContext<? extends RelationalPersistentEntity<?>,? extends RelationalPersistentProperty> context)
Creates a new
BasicRelationalConverter given MappingContext . |
BasicRelationalConverter(MappingContext<? extends RelationalPersistentEntity<?>,? extends RelationalPersistentProperty> context,
CustomConversions conversions)
|
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(Property property,
RelationalPersistentEntity<?> owner,
SimpleTypeHolder simpleTypeHolder) |
RelationalPersistentProperty |
PersistentPropertyPathExtension.getRequiredIdProperty()
The id property of the final element of the path.
|
Modifier and Type | Method and Description |
---|---|
protected Association<RelationalPersistentProperty> |
BasicRelationalPersistentProperty.createAssociation() |
PersistentPropertyPath<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(PersistentPropertyPath<RelationalPersistentProperty> path)
Tests if
this and the argument represent the same path. |
Constructor and Description |
---|
BasicRelationalPersistentProperty(Property property,
PersistentEntity<?,RelationalPersistentProperty> owner,
SimpleTypeHolder simpleTypeHolder,
RelationalMappingContext context)
Creates a new
AnnotationBasedPersistentProperty . |
PersistentPropertyPathExtension(MappingContext<RelationalPersistentEntity<?>,RelationalPersistentProperty> context,
PersistentPropertyPath<RelationalPersistentProperty> path)
Creates a non-empty path.
|
PersistentPropertyPathExtension(MappingContext<RelationalPersistentEntity<?>,RelationalPersistentProperty> context,
PersistentPropertyPath<RelationalPersistentProperty> path)
Creates a non-empty path.
|
PersistentPropertyPathExtension(MappingContext<RelationalPersistentEntity<?>,RelationalPersistentProperty> context,
RelationalPersistentEntity<?> entity)
Creates the empty path referencing the root itself.
|
Constructor and Description |
---|
DtoInstantiatingConverter(Class<?> dtoType,
MappingContext<? extends RelationalPersistentEntity<?>,? extends RelationalPersistentProperty> context,
EntityInstantiators instantiator)
Creates a new
Converter to instantiate DTOs. |
Copyright © 2017–2019 Pivotal Software, Inc.. All rights reserved.