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.
Dialects abstract the SQL dialect of the underlying database.
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
Fields in org.springframework.data.jdbc.core.convert declared as SqlIdentifierMethods in org.springframework.data.jdbc.core.convert 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.jdbc.core.convert that return types with arguments of type SqlIdentifierModifier and TypeMethodDescriptionIdentifier.toMap()Returns aMapcontaining the identifier name to value tuples.Methods in org.springframework.data.jdbc.core.convert with parameters of type SqlIdentifierModifier and TypeMethodDescriptionvoidIdentifier.IdentifierConsumer.accept(SqlIdentifier name, Object value, Class<?> targetType) Performs this operation on the given arguments.Identifier.get(SqlIdentifier columnName) static IdentifierIdentifier.of(SqlIdentifier name, Object value, Class<?> targetType) Identifier.withPart(SqlIdentifier name, Object value, Class<?> targetType) Creates a newIdentifierfrom 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 IdentifierIdentifier.from(Map<SqlIdentifier, Object> map) Creates anIdentifierfrom aMapof name to value tuples.Constructors in org.springframework.data.jdbc.core.convert with parameters of type SqlIdentifierModifierConstructorDescriptionprotectedMetadataBackedField(SqlIdentifier name, RelationalPersistentEntity<?> entity, MappingContext<? extends RelationalPersistentEntity<?>, RelationalPersistentProperty> context, JdbcConverter converter) Creates a newQueryMapper.MetadataBackedFieldwith the given name,RelationalPersistentEntityandMappingContext.protectedMetadataBackedField(SqlIdentifier name, RelationalPersistentEntity<?> entity, MappingContext<? extends RelationalPersistentEntity<?>, RelationalPersistentProperty> context, RelationalPersistentProperty property, JdbcConverter converter) Creates a newQueryMapper.MetadataBackedFieldwith the given name,RelationalPersistentEntityandMappingContextwith the givenRelationalPersistentProperty. -
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.DeleteSpecStatementMapper.DeleteSpec.create(SqlIdentifier table) Create anDELETEspecification fortable.static StatementMapper.InsertSpecStatementMapper.InsertSpec.create(SqlIdentifier table) Create anINSERTspecification fortable.static StatementMapper.SelectSpecStatementMapper.SelectSpec.create(SqlIdentifier table) Create anSELECTspecification fortable.static StatementMapper.UpdateSpecStatementMapper.UpdateSpec.create(SqlIdentifier table, Update update) Create anINSERTspecification fortable.default StatementMapper.DeleteSpecStatementMapper.createDelete(SqlIdentifier table) Create aDELETEspecification fortable.default StatementMapper.InsertSpecStatementMapper.createInsert(SqlIdentifier table) Create anINSERTspecification fortable.default StatementMapper.SelectSpecStatementMapper.createSelect(SqlIdentifier table) Create aSELECTspecification fortable.default StatementMapper.UpdateSpecStatementMapper.createUpdate(SqlIdentifier table, Update update) Create anUPDATEspecification fortable.ReactiveDeleteOperation.DeleteWithTable.from(SqlIdentifier table) Explicitly set thenameof the table on which to perform the delete.ReactiveSelectOperation.SelectWithTable.from(SqlIdentifier table) Explicitly set thenameof the table on which to perform the query.ReactiveUpdateOperation.UpdateWithTable.inTable(SqlIdentifier table) Explicitly set thenameof the table on which to perform the update.ReactiveInsertOperation.InsertWithTable.into(SqlIdentifier table) Explicitly set thenameof 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 StringReactiveDataAccessStrategy.renderForGeneratedValues(SqlIdentifier identifier) Deprecated.Render aSqlIdentifierin 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 aSqlIdentifierfor SQL usage.StatementMapper.InsertSpec.withColumn(SqlIdentifier column, Parameter value) Associate a column with aParameterand create a newStatementMapper.InsertSpec.StatementMapper.SelectSpec.withProjection(SqlIdentifier... projectedFields) AssociateprojectedFieldswith the select and create a newStatementMapper.SelectSpec.Constructors in org.springframework.data.r2dbc.core with parameters of type SqlIdentifierModifierConstructorDescriptionprotectedDeleteSpec(SqlIdentifier table, CriteriaDefinition criteria) protectedInsertSpec(SqlIdentifier table, Map<SqlIdentifier, Parameter> assignments) protectedUpdateSpec(SqlIdentifier table, Update update, CriteriaDefinition criteria) Constructor parameters in org.springframework.data.r2dbc.core with type arguments of type SqlIdentifierModifierConstructorDescriptionprotectedInsertSpec(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 StringR2dbcDialect.renderForGeneratedValues(SqlIdentifier identifier) Render aSqlIdentifierin 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 thisOutboundRowand return this.OutboundRow.put(SqlIdentifier key, Parameter value) Method parameters in org.springframework.data.r2dbc.mapping with type arguments of type SqlIdentifierModifier and TypeMethodDescriptionvoidOutboundRow.forEach(BiConsumer<? super SqlIdentifier, ? super Parameter> action) voidOutboundRow.putAll(Map<? extends SqlIdentifier, ? extends Parameter> m) Constructors in org.springframework.data.r2dbc.mapping with parameters of type SqlIdentifierModifierConstructorDescriptionOutboundRow(SqlIdentifier key, Parameter value) Create aOutboundRowinstance 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 aSqlIdentifierfor 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.Fieldwithout meta-information but the given name.protectedMetadataBackedField(SqlIdentifier name, RelationalPersistentEntity<?> entity, MappingContext<? extends RelationalPersistentEntity<?>, RelationalPersistentProperty> context) Creates a newQueryMapper.MetadataBackedFieldwith the given name,RelationalPersistentEntityandMappingContext.protectedMetadataBackedField(SqlIdentifier name, RelationalPersistentEntity<?> entity, MappingContext<? extends RelationalPersistentEntity<?>, RelationalPersistentProperty> context, RelationalPersistentProperty property) Creates a newQueryMapper.MetadataBackedFieldwith the given name,RelationalPersistentEntityandMappingContextwith the givenRelationalPersistentProperty. -
Uses of SqlIdentifier in org.springframework.data.relational.core.conversion
Methods in org.springframework.data.relational.core.conversion with parameters of type SqlIdentifierModifier and TypeMethodDescriptionbooleanMappingRelationalConverter.AggregatePathValueProvider.hasValue(SqlIdentifier identifier) Determine whether there is a value for the givenSqlIdentifier.booleanMappingRelationalConverter.DocumentValueProvider.hasValue(SqlIdentifier identifier) -
Uses of SqlIdentifier in org.springframework.data.relational.core.dialect
Methods in org.springframework.data.relational.core.dialect with parameters of type SqlIdentifierModifier and TypeMethodDescriptiondefault StringIdGeneration.getKeyColumnName(SqlIdentifier id) Provides for a given idSqlIdentifierthe String that is to be used for registering interest in the generated value of that column. -
Uses of SqlIdentifier in org.springframework.data.relational.core.mapping
Methods in org.springframework.data.relational.core.mapping that return SqlIdentifierModifier and TypeMethodDescriptionAggregatePath.ColumnInfo.alias()Returns the value of thealiasrecord component.AggregatePath.TableInfo.effectiveIdColumnName()Returns the value of theeffectiveIdColumnNamerecord component.PersistentPropertyPathExtension.getColumnAlias()Deprecated, for removal: This API element is subject to removal in a future version.The alias for the column used to represent this property in the database.BasicRelationalPersistentProperty.getColumnName()PersistentPropertyPathExtension.getColumnName()Deprecated, for removal: This API element is subject to removal in a future version.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()Deprecated, for removal: This API element is subject to removal in a future version.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()Deprecated, for removal: This API element is subject to removal in a future version.The column name of the id column of the ancestor path that represents an actual table.BasicRelationalPersistentProperty.getKeyColumn()RelationalPersistentProperty.getKeyColumn()PersistentPropertyPathExtension.getQualifiedTableName()Deprecated, for removal: This API element is subject to removal in a future version.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 SqlIdentifierRelationalPersistentEntity.getQualifiedTableName()Returns the qualified name of the table backing the given entity, including the schema.PersistentPropertyPathExtension.getQualifierColumn()Deprecated, for removal: This API element is subject to removal in a future version.The column name used for the list index or map key of the leaf property of this path.BasicRelationalPersistentProperty.getReverseColumnName(PersistentPropertyPathExtension path) BasicRelationalPersistentProperty.getReverseColumnName(RelationalPersistentEntity<?> owner) PersistentPropertyPathExtension.getReverseColumnName()Deprecated, for removal: This API element is subject to removal in a future version.The name of the column used to reference the id in the parent table.RelationalPersistentProperty.getReverseColumnName(PersistentPropertyPathExtension path) Deprecated, for removal: This API element is subject to removal in a future version.RelationalPersistentProperty.getReverseColumnName(RelationalPersistentEntity<?> owner) PersistentPropertyPathExtension.getReverseColumnNameAlias()Deprecated, for removal: This API element is subject to removal in a future version.The alias used in select for the column used to reference the id in the parent table.PersistentPropertyPathExtension.getTableAlias()Deprecated, for removal: This API element is subject to removal in a future version.The alias used for the table on which this path is based.PersistentPropertyPathExtension.getTableName()Deprecated, for removal: This API element is subject to removal in a future version.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.AggregatePath.TableInfo.idColumnName()Returns the value of theidColumnNamerecord component.AggregatePath.ColumnInfo.name()Returns the value of thenamerecord component.AggregatePath.TableInfo.qualifiedTableName()Returns the value of thequalifiedTableNamerecord component.AggregatePath.TableInfo.tableAlias()Returns the value of thetableAliasrecord component.Constructors in org.springframework.data.relational.core.mapping with parameters of type SqlIdentifierModifierConstructorDescriptionColumnInfo(SqlIdentifier name, SqlIdentifier alias) Creates an instance of aColumnInforecord class.TableInfo(SqlIdentifier qualifiedTableName, SqlIdentifier tableAlias, AggregatePath.ColumnInfo reverseColumnInfo, AggregatePath.ColumnInfo qualifierColumnInfo, Class<?> qualifierColumnType, SqlIdentifier idColumnName, SqlIdentifier effectiveIdColumnName) Creates an instance of aTableInforecord class. -
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 SqlIdentifierSqlIdentifier.from(SqlIdentifier... sqlIdentifiers) Create a new compositeSqlIdentifierfrom one or moreSqlIdentifiers.Aliased.getAlias()AliasedExpression.getAlias()Column.getName()InlineQuery.getName()Named.getName()Table.getName()TableLike.getName()Column.getReferenceName()InlineQuery.getReferenceName()Table.getReferenceName()TableLike.getReferenceName()static SqlIdentifierCreate a new quoted identifier givenname.SqlIdentifier.transform(UnaryOperator<String> transformationFunction) Transform the SQL identifier name by applying atransformation function.static SqlIdentifierCreate 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.AliasedAnalyticFunctionAnalyticFunction.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 newTablealiased toalias.default ColumnTableLike.column(SqlIdentifier name) TableLike.columns(SqlIdentifier... names) static ColumnColumn.create(SqlIdentifier name, Table table) static InlineQueryInlineQuery.create(Select select, SqlIdentifier alias) Creates a newInlineQueryusing analias.static TableTable.create(SqlIdentifier name) Creates a newTablegivenname.static SqlIdentifierSqlIdentifier.from(SqlIdentifier... sqlIdentifiers) Create a new compositeSqlIdentifierfrom one or moreSqlIdentifiers.Constructors in org.springframework.data.relational.core.sql with parameters of type SqlIdentifier -
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 SqlIdentifierReturn thecolumn name.default SqlIdentifierReturn thetable name.default SqlIdentifierRenderNamingStrategy.getReferenceName(Column column) Return thecolumn reference name.default SqlIdentifierRenderNamingStrategy.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
RelationalPersistentProperty.getReverseColumnName(RelationalPersistentEntity)instead