Uses of Interface
org.springframework.data.relational.core.sql.SqlIdentifier
Package
Description
JDBC-specific conversion classes.
Core domain types around DatabaseClient.
Dialects abstract the SQL dialect of the underlying database.
Domain objects for R2DBC.
Mapping event callback infrastructure for the R2DBC row-to-object mapping subsystem.
Query and update support.
Query and update support.
Statement Builder implementation.
SQL rendering utilities to render SQL from the Statement Builder API.
Query support for relational database repositories.
Support infrastructure for query derivation of relational database repositories.
-
Uses of SqlIdentifier in org.springframework.data.jdbc.core.convert
Modifier and TypeMethodDescriptionQueryMapper.Field.getMappedColumnName()
Returns the key to be used in the mapped document eventually.QueryMapper.MetadataBackedField.getMappedColumnName()
Modifier and TypeMethodDescriptionIdentifier.toMap()
Returns aMap
containing the identifier name to value tuples.Modifier and TypeMethodDescriptionvoid
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.withPart
(SqlIdentifier name, Object value, Class<?> targetType) Creates a newIdentifier
from the current instance and sets the value forkey
.Modifier and TypeMethodDescriptionstatic Identifier
Identifier.from
(Map<SqlIdentifier, Object> map) Creates anIdentifier
from aMap
of name to value tuples.ModifierConstructorDescriptionprotected
MetadataBackedField
(SqlIdentifier name, RelationalPersistentEntity<?> entity, MappingContext<? extends RelationalPersistentEntity<?>, RelationalPersistentProperty> context, JdbcConverter converter) Creates a newQueryMapper.MetadataBackedField
with the given name,RelationalPersistentEntity
andMappingContext
.protected
MetadataBackedField
(SqlIdentifier name, RelationalPersistentEntity<?> entity, MappingContext<? extends RelationalPersistentEntity<?>, RelationalPersistentProperty> context, RelationalPersistentProperty property, JdbcConverter converter) Creates a newQueryMapper.MetadataBackedField
with the given name,RelationalPersistentEntity
andMappingContext
with the givenRelationalPersistentProperty
. -
Uses of SqlIdentifier in org.springframework.data.r2dbc.core
Modifier and TypeMethodDescriptionStatementMapper.DeleteSpec.getTable()
StatementMapper.InsertSpec.getTable()
StatementMapper.UpdateSpec.getTable()
DefaultReactiveDataAccessStrategy.getTableName
(Class<?> type) ReactiveDataAccessStrategy.getTableName
(Class<?> type) Deprecated.Modifier and TypeMethodDescriptionDefaultReactiveDataAccessStrategy.getAllColumns
(Class<?> entityType) ReactiveDataAccessStrategy.getAllColumns
(Class<?> entityType) Deprecated.StatementMapper.InsertSpec.getAssignments()
DefaultReactiveDataAccessStrategy.getIdentifierColumns
(Class<?> entityType) ReactiveDataAccessStrategy.getIdentifierColumns
(Class<?> entityType) Deprecated.Modifier and TypeMethodDescriptionstatic StatementMapper.DeleteSpec
StatementMapper.DeleteSpec.create
(SqlIdentifier table) Create anDELETE
specification fortable
.static StatementMapper.InsertSpec
StatementMapper.InsertSpec.create
(SqlIdentifier table) Create anINSERT
specification fortable
.static StatementMapper.SelectSpec
StatementMapper.SelectSpec.create
(SqlIdentifier table) Create anSELECT
specification fortable
.static StatementMapper.UpdateSpec
StatementMapper.UpdateSpec.create
(SqlIdentifier table, Update update) Create anINSERT
specification fortable
.default StatementMapper.DeleteSpec
StatementMapper.createDelete
(SqlIdentifier table) Create aDELETE
specification fortable
.default StatementMapper.InsertSpec
StatementMapper.createInsert
(SqlIdentifier table) Create anINSERT
specification fortable
.default StatementMapper.SelectSpec
StatementMapper.createSelect
(SqlIdentifier table) Create aSELECT
specification fortable
.default StatementMapper.UpdateSpec
StatementMapper.createUpdate
(SqlIdentifier table, Update update) Create anUPDATE
specification fortable
.ReactiveDeleteOperation.DeleteWithTable.from
(SqlIdentifier table) Explicitly set thename
of the table on which to perform the delete.ReactiveSelectOperation.SelectWithTable.from
(SqlIdentifier table) Explicitly set thename
of the table on which to perform the query.ReactiveUpdateOperation.UpdateWithTable.inTable
(SqlIdentifier table) Explicitly set thename
of the table on which to perform the update.ReactiveInsertOperation.InsertWithTable.into
(SqlIdentifier table) Explicitly set thename
of the table.protected <T> reactor.core.publisher.Mono<T>
R2dbcEntityTemplate.maybeCallAfterConvert
(T object, SqlIdentifier table) protected <T> reactor.core.publisher.Mono<T>
R2dbcEntityTemplate.maybeCallAfterSave
(T object, OutboundRow row, SqlIdentifier table) protected <T> reactor.core.publisher.Mono<T>
R2dbcEntityTemplate.maybeCallBeforeConvert
(T object, SqlIdentifier table) protected <T> reactor.core.publisher.Mono<T>
R2dbcEntityTemplate.maybeCallBeforeSave
(T object, OutboundRow row, SqlIdentifier table) DefaultReactiveDataAccessStrategy.renderForGeneratedValues
(SqlIdentifier identifier) default String
ReactiveDataAccessStrategy.renderForGeneratedValues
(SqlIdentifier identifier) Deprecated.Render aSqlIdentifier
in a way suitable for registering it as a generated key with a statement throughStatement#returnGeneratedValues
.DefaultReactiveDataAccessStrategy.toSql
(SqlIdentifier identifier) ReactiveDataAccessStrategy.toSql
(SqlIdentifier identifier) Deprecated.Render aSqlIdentifier
for SQL usage.StatementMapper.InsertSpec.withColumn
(SqlIdentifier column, Parameter value) Associate a column with aParameter
and create a newStatementMapper.InsertSpec
.StatementMapper.SelectSpec.withProjection
(SqlIdentifier... projectedFields) AssociateprojectedFields
with the select and create a newStatementMapper.SelectSpec
.ModifierConstructorDescriptionprotected
DeleteSpec
(SqlIdentifier table, CriteriaDefinition criteria) protected
InsertSpec
(SqlIdentifier table, Map<SqlIdentifier, Parameter> assignments) protected
UpdateSpec
(SqlIdentifier table, Update update, CriteriaDefinition criteria) ModifierConstructorDescriptionprotected
InsertSpec
(SqlIdentifier table, Map<SqlIdentifier, Parameter> assignments) -
Uses of SqlIdentifier in org.springframework.data.r2dbc.dialect
Modifier and TypeMethodDescriptionH2Dialect.renderForGeneratedValues
(SqlIdentifier identifier) MySqlDialect.renderForGeneratedValues
(SqlIdentifier identifier) default String
R2dbcDialect.renderForGeneratedValues
(SqlIdentifier identifier) Render aSqlIdentifier
in a way suitable for registering it as a generated key with a statement throughStatement#returnGeneratedValues
. -
Uses of SqlIdentifier in org.springframework.data.r2dbc.mapping
Modifier and TypeMethodDescriptionOutboundRow.append
(SqlIdentifier key, Parameter value) Put the given key/value pair into thisOutboundRow
and return this.OutboundRow.put
(SqlIdentifier key, Parameter value) Modifier and TypeMethodDescriptionvoid
OutboundRow.forEach
(BiConsumer<? super SqlIdentifier, ? super Parameter> action) void
OutboundRow.putAll
(Map<? extends SqlIdentifier, ? extends Parameter> m) ModifierConstructorDescriptionOutboundRow
(SqlIdentifier key, Parameter value) Create aOutboundRow
instance initialized with the given key/value pair. -
Uses of SqlIdentifier in org.springframework.data.r2dbc.mapping.event
Modifier and TypeMethodDescriptionorg.reactivestreams.Publisher<T>
AfterConvertCallback.onAfterConvert
(T entity, SqlIdentifier table) Entity callback method invoked after a domain object is materialized from a row.org.reactivestreams.Publisher<T>
AfterSaveCallback.onAfterSave
(T entity, OutboundRow outboundRow, SqlIdentifier table) Entity callback method invoked after a domain object is saved.org.reactivestreams.Publisher<T>
BeforeConvertCallback.onBeforeConvert
(T entity, SqlIdentifier table) Entity callback method invoked before a domain object is converted to be persisted.org.reactivestreams.Publisher<Object>
ReactiveAuditingEntityCallback.onBeforeConvert
(Object entity, SqlIdentifier table) org.reactivestreams.Publisher<T>
BeforeSaveCallback.onBeforeSave
(T entity, OutboundRow row, SqlIdentifier table) Entity callback method invoked before a domain object is saved. -
Uses of SqlIdentifier in org.springframework.data.r2dbc.query
Modifier and TypeMethodDescriptionQueryMapper.Field.getMappedColumnName()
Returns the key to be used in the mapped document eventually.QueryMapper.MetadataBackedField.getMappedColumnName()
Modifier and TypeMethodDescriptionQueryMapper.toSql
(SqlIdentifier identifier) Render aSqlIdentifier
for SQL usage.Modifier and TypeMethodDescriptionUpdateMapper.getMappedObject
(BindMarkers markers, Map<SqlIdentifier, ? extends Object> assignments, Table table, RelationalPersistentEntity<?> entity) ModifierConstructorDescriptionField
(SqlIdentifier name) Creates a newQueryMapper.Field
without meta-information but the given name.protected
MetadataBackedField
(SqlIdentifier name, RelationalPersistentEntity<?> entity, MappingContext<? extends RelationalPersistentEntity<?>, RelationalPersistentProperty> context) Creates a newQueryMapper.MetadataBackedField
with the given name,RelationalPersistentEntity
andMappingContext
.protected
MetadataBackedField
(SqlIdentifier name, RelationalPersistentEntity<?> entity, MappingContext<? extends RelationalPersistentEntity<?>, RelationalPersistentProperty> context, RelationalPersistentProperty property) Creates a newQueryMapper.MetadataBackedField
with the given name,RelationalPersistentEntity
andMappingContext
with the givenRelationalPersistentProperty
. -
Uses of SqlIdentifier in org.springframework.data.relational.core.mapping
Modifier and TypeMethodDescriptionPersistentPropertyPathExtension.getColumnAlias()
The alias for the column used to represent this property in the database.BasicRelationalPersistentProperty.getColumnName()
PersistentPropertyPathExtension.getColumnName()
The name of the column used to represent this property in the database.RelationalPersistentProperty.getColumnName()
Returns the name of the column backing this property.PersistentPropertyPathExtension.getEffectiveIdColumnName()
If the table owning ancestor has an id the column name of that id property is returned.RelationalPersistentEntity.getIdColumn()
Returns the column representing the identifier.PersistentPropertyPathExtension.getIdColumnName()
The column name of the id column of the ancestor path that represents an actual table.BasicRelationalPersistentProperty.getKeyColumn()
RelationalPersistentProperty.getKeyColumn()
PersistentPropertyPathExtension.getQualifiedTableName()
The fully qualified name of the table this path is tied to or of the longest ancestor path that is actually tied to a table.default SqlIdentifier
RelationalPersistentEntity.getQualifiedTableName()
Returns the qualified name of the table backing the given entity, including the schema.PersistentPropertyPathExtension.getQualifierColumn()
The column name used for the list index or map key of the leaf property of this path.BasicRelationalPersistentProperty.getReverseColumnName
(PersistentPropertyPathExtension path) PersistentPropertyPathExtension.getReverseColumnName()
The name of the column used to reference the id in the parent table.RelationalPersistentProperty.getReverseColumnName
(PersistentPropertyPathExtension path) PersistentPropertyPathExtension.getReverseColumnNameAlias()
The alias used in select for the column used to reference the id in the parent table.PersistentPropertyPathExtension.getTableAlias()
The alias used for the table on which this path is based.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.RelationalPersistentEntity.getTableName()
Returns the unqualified name of the table (i.e. without schema or owner) backing the given entity. -
Uses of SqlIdentifier in org.springframework.data.relational.core.query
Modifier and TypeMethodDescriptionUpdate.getAssignments()
Returns all assignments.Query.getColumns()
Return the columns that this query should project.Modifier and TypeMethodDescriptionQuery.columns
(SqlIdentifier... columns) Add columns to the query.Update.set
(SqlIdentifier column, Object value) Update a column by assigning a value. -
Uses of SqlIdentifier in org.springframework.data.relational.core.sql
Modifier and TypeMethodDescriptionstatic SqlIdentifier
SqlIdentifier.from
(SqlIdentifier... sqlIdentifiers) Create a new compositeSqlIdentifier
from one or moreSqlIdentifier
s.Aliased.getAlias()
Column.getName()
InlineQuery.getName()
Named.getName()
Table.getName()
TableLike.getName()
Column.getReferenceName()
InlineQuery.getReferenceName()
Table.getReferenceName()
TableLike.getReferenceName()
static SqlIdentifier
Create a new quoted identifier givenname
.SqlIdentifier.transform
(UnaryOperator<String> transformationFunction) Transform the SQL identifier name by applying atransformation function
.static SqlIdentifier
Create a new unquoted identifier givenname
.Modifier and TypeMethodDescriptionorg.springframework.data.relational.core.sql.AnalyticFunction.AliasedAnalyticFunction
AnalyticFunction.as
(SqlIdentifier alias) Column.as
(SqlIdentifier alias) Creates a new aliasedColumn
.SimpleFunction.as
(SqlIdentifier alias) Expose this function result under a columnalias
.Table.as
(SqlIdentifier alias) Creates a newTable
aliased toalias
.default Column
TableLike.column
(SqlIdentifier name) TableLike.columns
(SqlIdentifier... names) static Column
Column.create
(SqlIdentifier name, Table table) static InlineQuery
InlineQuery.create
(Select select, SqlIdentifier alias) Creates a newInlineQuery
using analias
.static Table
Table.create
(SqlIdentifier name) Creates a newTable
givenname
.static SqlIdentifier
SqlIdentifier.from
(SqlIdentifier... sqlIdentifiers) Create a new compositeSqlIdentifier
from one or moreSqlIdentifier
s. -
Uses of SqlIdentifier in org.springframework.data.relational.core.sql.render
Modifier and TypeMethodDescriptiondefault SqlIdentifier
Return thecolumn name
.default SqlIdentifier
Return thetable name
.default SqlIdentifier
RenderNamingStrategy.getReferenceName
(Column column) Return thecolumn reference name
.default SqlIdentifier
RenderNamingStrategy.getReferenceName
(TableLike table) Return thetable reference name
. -
Uses of SqlIdentifier in org.springframework.data.relational.repository.query
Modifier and TypeMethodDescriptionRelationalEntityInformation.getTableName()
Returns the name of the table the entity shall be persisted to.RelationalEntityMetadata.getTableName()
Returns the name of the table the entity shall be persisted to.SimpleRelationalEntityMetadata.getTableName()
-
Uses of SqlIdentifier in org.springframework.data.relational.repository.support