Package | Description |
---|---|
org.springframework.data.jdbc.core.convert |
JDBC-specific conversion classes.
|
org.springframework.data.relational.core.mapping | |
org.springframework.data.relational.core.query |
Query and update support.
|
org.springframework.data.relational.core.sql |
Statement Builder implementation.
|
org.springframework.data.relational.core.sql.render |
SQL rendering utilities to render SQL from the Statement Builder API.
|
org.springframework.data.relational.repository.query |
Query support for relational database repositories.
|
org.springframework.data.relational.repository.support |
Support infrastructure for query derivation of relational database repositories.
|
Modifier and Type | Method and Description |
---|---|
Map<SqlIdentifier,Object> |
Identifier.toMap()
Returns a
Map containing the identifier name to value tuples. |
Modifier and Type | Method and Description |
---|---|
void |
Identifier.IdentifierConsumer.accept(SqlIdentifier name,
Object value,
Class<?> targetType)
Performs this operation on the given arguments.
|
static Identifier |
Identifier.of(SqlIdentifier name,
Object value,
Class<?> targetType)
|
Identifier |
Identifier.withPart(SqlIdentifier name,
Object value,
Class<?> targetType)
Creates a new
Identifier from the current instance and sets the value for key . |
Modifier and Type | Method and Description |
---|---|
static Identifier |
Identifier.from(Map<SqlIdentifier,Object> map)
Creates an
Identifier from a Map of name to value tuples. |
Modifier and Type | Method and Description |
---|---|
SqlIdentifier |
PersistentPropertyPathExtension.getColumnAlias()
The alias for the column used to represent this property in the database.
|
SqlIdentifier |
PersistentPropertyPathExtension.getColumnName()
The name of the column used to represent this property in the database.
|
SqlIdentifier |
BasicRelationalPersistentProperty.getColumnName() |
SqlIdentifier |
RelationalPersistentProperty.getColumnName()
Returns the name of the column backing this property.
|
SqlIdentifier |
PersistentPropertyPathExtension.getEffectiveIdColumnName()
If the table owning ancestor has an id the column name of that id property is returned.
|
SqlIdentifier |
RelationalPersistentEntity.getIdColumn()
Returns the column representing the identifier.
|
SqlIdentifier |
PersistentPropertyPathExtension.getIdColumnName()
The column name of the id column of the ancestor path that represents an actual table.
|
SqlIdentifier |
BasicRelationalPersistentProperty.getKeyColumn() |
SqlIdentifier |
RelationalPersistentProperty.getKeyColumn() |
SqlIdentifier |
PersistentPropertyPathExtension.getQualifierColumn()
The column name used for the list index or map key of the leaf property of this path.
|
SqlIdentifier |
PersistentPropertyPathExtension.getReverseColumnName()
The name of the column used to reference the id in the parent table.
|
SqlIdentifier |
BasicRelationalPersistentProperty.getReverseColumnName(PersistentPropertyPathExtension path) |
SqlIdentifier |
RelationalPersistentProperty.getReverseColumnName(PersistentPropertyPathExtension path) |
SqlIdentifier |
PersistentPropertyPathExtension.getReverseColumnNameAlias()
The alias used in select for the column used to reference the id in the parent table.
|
SqlIdentifier |
PersistentPropertyPathExtension.getTableAlias()
The alias used for the table on which this path is based.
|
SqlIdentifier |
PersistentPropertyPathExtension.getTableName()
The name of the table this path is tied to or of the longest ancestor path that is actually tied to a table.
|
SqlIdentifier |
RelationalPersistentEntity.getTableName()
Returns the name of the table backing the given entity.
|
Modifier and Type | Method and Description |
---|---|
SqlIdentifier |
Criteria.getColumn() |
SqlIdentifier |
CriteriaDefinition.getColumn() |
Modifier and Type | Method and Description |
---|---|
Map<SqlIdentifier,Object> |
Update.getAssignments()
Returns all assignments.
|
List<SqlIdentifier> |
Query.getColumns()
Return the columns that this query should project.
|
Modifier and Type | Method and Description |
---|---|
Query |
Query.columns(SqlIdentifier... columns)
Add columns to the query.
|
Update |
Update.set(SqlIdentifier column,
Object value)
Update a column by assigning a value.
|
Modifier and Type | Method and Description |
---|---|
static Update |
Update.from(Map<SqlIdentifier,Object> assignments)
Static factory method to create an
Update from assignments . |
Modifier and Type | Field and Description |
---|---|
static SqlIdentifier |
SqlIdentifier.EMPTY
Null-object.
|
Modifier and Type | Method and Description |
---|---|
static SqlIdentifier |
SqlIdentifier.from(SqlIdentifier... sqlIdentifiers)
Create a new composite
SqlIdentifier from one or more SqlIdentifier s. |
SqlIdentifier |
Aliased.getAlias() |
SqlIdentifier |
InlineQuery.getName() |
SqlIdentifier |
Named.getName() |
SqlIdentifier |
TableLike.getName() |
SqlIdentifier |
Column.getName() |
SqlIdentifier |
Table.getName() |
SqlIdentifier |
InlineQuery.getReferenceName() |
SqlIdentifier |
TableLike.getReferenceName() |
SqlIdentifier |
Column.getReferenceName() |
SqlIdentifier |
Table.getReferenceName() |
static SqlIdentifier |
SqlIdentifier.quoted(String name)
Create a new quoted identifier given
name . |
SqlIdentifier |
SqlIdentifier.transform(UnaryOperator<String> transformationFunction)
Transform the SQL identifier name by applying a
transformation function . |
static SqlIdentifier |
SqlIdentifier.unquoted(String name)
Create a new unquoted identifier given
name . |
Modifier and Type | Method and Description |
---|---|
Column |
Column.as(SqlIdentifier alias)
Creates a new aliased
Column . |
SimpleFunction |
SimpleFunction.as(SqlIdentifier alias)
Expose this function result under a column
alias . |
Table |
Table.as(SqlIdentifier alias)
Creates a new
Table aliased to alias . |
default Column |
TableLike.column(SqlIdentifier name)
|
default List<Column> |
TableLike.columns(SqlIdentifier... names)
|
static InlineQuery |
InlineQuery.create(Select select,
SqlIdentifier alias)
Creates a new
InlineQuery using an alias . |
static Table |
Table.create(SqlIdentifier name)
Creates a new
Table given name . |
static Column |
Column.create(SqlIdentifier name,
Table table)
|
static SqlIdentifier |
SqlIdentifier.from(SqlIdentifier... sqlIdentifiers)
Create a new composite
SqlIdentifier from one or more SqlIdentifier s. |
Modifier and Type | Method and Description |
---|---|
default SqlIdentifier |
RenderNamingStrategy.getName(Column column)
Return the
column name . |
default SqlIdentifier |
RenderNamingStrategy.getName(TableLike table)
Return the
table name . |
default SqlIdentifier |
RenderNamingStrategy.getReferenceName(Column column)
Return the
column reference name . |
default SqlIdentifier |
RenderNamingStrategy.getReferenceName(TableLike table)
Return the
table reference name . |
Modifier and Type | Method and Description |
---|---|
SqlIdentifier |
RelationalEntityMetadata.getTableName()
Returns the name of the table the entity shall be persisted to.
|
SqlIdentifier |
SimpleRelationalEntityMetadata.getTableName() |
SqlIdentifier |
RelationalEntityInformation.getTableName()
Returns the name of the table the entity shall be persisted to.
|
Modifier and Type | Method and Description |
---|---|
SqlIdentifier |
MappingRelationalEntityInformation.getTableName() |
Copyright © 2017–2022 Pivotal Software, Inc.. All rights reserved.