Uses of Interface
org.springframework.data.relational.core.sql.SqlIdentifier
Packages that use 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
Methods in org.springframework.data.jdbc.core.convert that return types with arguments of type SqlIdentifierModifier and TypeMethodDescriptionIdentifier.toMap()
Returns aMap
containing the identifier name to value tuples.Methods in org.springframework.data.jdbc.core.convert with parameters of type SqlIdentifierModifier 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
.Method parameters in org.springframework.data.jdbc.core.convert with type arguments of type SqlIdentifierModifier and TypeMethodDescriptionstatic Identifier
Identifier.from
(Map<SqlIdentifier, Object> map) Creates anIdentifier
from aMap
of name to value tuples. -
Uses of SqlIdentifier in org.springframework.data.r2dbc.core
Methods in org.springframework.data.r2dbc.core that return SqlIdentifierModifier and TypeMethodDescriptionStatementMapper.DeleteSpec.getTable()
StatementMapper.InsertSpec.getTable()
StatementMapper.UpdateSpec.getTable()
DefaultReactiveDataAccessStrategy.getTableName
(Class<?> type) ReactiveDataAccessStrategy.getTableName
(Class<?> type) Deprecated.Methods in org.springframework.data.r2dbc.core that return types with arguments of type SqlIdentifierModifier and TypeMethodDescriptionDefaultReactiveDataAccessStrategy.getAllColumns
(Class<?> entityType) ReactiveDataAccessStrategy.getAllColumns
(Class<?> entityType) Deprecated.StatementMapper.InsertSpec.getAssignments()
DefaultReactiveDataAccessStrategy.getIdentifierColumns
(Class<?> entityType) ReactiveDataAccessStrategy.getIdentifierColumns
(Class<?> entityType) Deprecated.Methods in org.springframework.data.r2dbc.core with parameters of type SqlIdentifierModifier 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
.Constructors in org.springframework.data.r2dbc.core with parameters of type SqlIdentifierModifierConstructorDescriptionprotected
DeleteSpec
(SqlIdentifier table, CriteriaDefinition criteria) protected
InsertSpec
(SqlIdentifier table, Map<SqlIdentifier, Parameter> assignments) protected
UpdateSpec
(SqlIdentifier table, Update update, CriteriaDefinition criteria) Constructor parameters in org.springframework.data.r2dbc.core with type arguments of type SqlIdentifierModifierConstructorDescriptionprotected
InsertSpec
(SqlIdentifier table, Map<SqlIdentifier, Parameter> assignments) -
Uses of SqlIdentifier in org.springframework.data.r2dbc.dialect
Methods in org.springframework.data.r2dbc.dialect with parameters of type SqlIdentifierModifier 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
Methods in org.springframework.data.r2dbc.mapping that return types with arguments of type SqlIdentifierMethods in org.springframework.data.r2dbc.mapping with parameters of type SqlIdentifierModifier and TypeMethodDescriptionOutboundRow.append
(SqlIdentifier key, Parameter value) Put the given key/value pair into thisOutboundRow
and return this.OutboundRow.put
(SqlIdentifier key, Parameter value) Method parameters in org.springframework.data.r2dbc.mapping with type arguments of type SqlIdentifierModifier and TypeMethodDescriptionvoid
OutboundRow.forEach
(BiConsumer<? super SqlIdentifier, ? super Parameter> action) void
OutboundRow.putAll
(Map<? extends SqlIdentifier, ? extends Parameter> m) Constructors in org.springframework.data.r2dbc.mapping with parameters of type SqlIdentifierModifierConstructorDescriptionOutboundRow
(SqlIdentifier key, Parameter value) Create aOutboundRow
instance initialized with the given key/value pair. -
Uses of SqlIdentifier in org.springframework.data.r2dbc.mapping.event
Methods in org.springframework.data.r2dbc.mapping.event with parameters of type SqlIdentifierModifier 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
Fields in org.springframework.data.r2dbc.query declared as SqlIdentifierMethods in org.springframework.data.r2dbc.query that return SqlIdentifierModifier and TypeMethodDescriptionQueryMapper.Field.getMappedColumnName()
Returns the key to be used in the mapped document eventually.QueryMapper.MetadataBackedField.getMappedColumnName()
Methods in org.springframework.data.r2dbc.query with parameters of type SqlIdentifierModifier and TypeMethodDescriptionQueryMapper.toSql
(SqlIdentifier identifier) Render aSqlIdentifier
for SQL usage.Method parameters in org.springframework.data.r2dbc.query with type arguments of type SqlIdentifierModifier and TypeMethodDescriptionUpdateMapper.getMappedObject
(BindMarkers markers, Map<SqlIdentifier, ? extends Object> assignments, Table table, RelationalPersistentEntity<?> entity) Constructors in org.springframework.data.r2dbc.query with parameters of type SqlIdentifierModifierConstructorDescriptionField
(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
Methods in org.springframework.data.relational.core.mapping that return SqlIdentifierModifier 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.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 name of the table backing the given entity. -
Uses of SqlIdentifier in org.springframework.data.relational.core.query
Methods in org.springframework.data.relational.core.query that return SqlIdentifierMethods in org.springframework.data.relational.core.query that return types with arguments of type SqlIdentifierModifier and TypeMethodDescriptionUpdate.getAssignments()
Returns all assignments.Query.getColumns()
Return the columns that this query should project.Methods in org.springframework.data.relational.core.query with parameters of type SqlIdentifierModifier and TypeMethodDescriptionQuery.columns
(SqlIdentifier... columns) Add columns to the query.Update.set
(SqlIdentifier column, Object value) Update a column by assigning a value.Method parameters in org.springframework.data.relational.core.query with type arguments of type SqlIdentifier -
Uses of SqlIdentifier in org.springframework.data.relational.core.sql
Fields in org.springframework.data.relational.core.sql declared as SqlIdentifierMethods in org.springframework.data.relational.core.sql that return SqlIdentifierModifier 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
.Methods in org.springframework.data.relational.core.sql with parameters of type SqlIdentifierModifier 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
Methods in org.springframework.data.relational.core.sql.render that return SqlIdentifierModifier 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
Methods in org.springframework.data.relational.repository.query that return SqlIdentifierModifier 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
Methods in org.springframework.data.relational.repository.support that return SqlIdentifier