Package org.springframework.data.relational.core.sql
@NonNullApi
@NonNullFields
package org.springframework.data.relational.core.sql
Statement Builder implementation. Use
StatementBuilder
to create
statements and SQL
to create SQL objects. Objects and dependent
objects created by the Statement Builder are immutable except for builders.
The Statement Builder API is intended for framework usage to produce SQL required for framework operations.
- Since:
- 1.1
-
ClassDescriptionAliased element exposing an
alias
.Represents an analytic function, also known as windowing functionUpdate assignment to aColumn
.Factory for commonAssignment
s.Assign aExpression
to aColumn
.BETWEENCondition
comparing betweenExpression
s.Bind marker/parameter placeholder used to construct prepared statements with parameter substitution.Represents aBoolean
literal.Represents aCAST
expression likeCAST(something AS JSON
.Column name within aSELECT … FROM
clause.ComparingCondition
comparing twoExpression
s.ASTSegment
for a condition.Factory for commonCondition
s.Condition
representing fixed sql predicate.AST for aDELETE
statement.Entry point to construct aDelete
statement.Interface exposing theDelete
build method.Interface exposingWHERE
methods.Expression that can be used in select lists.Factory for commonExpression
s.Simple condition that evaluates to SQLFALSE
.FROM
clause.Factory for commonfunction expressions
.An interface describing the processing steps for the conversion ofSqlIdentifier
to SQL snippets or column names.Encapsulates the three kinds of letter casing supported.A conversion from unquoted identifiers to quoted identifiers.IN
Condition
clause.Represents a inline query within a SQL statement.AST for aINSERT
statement.Entry point to construct anInsert
statement.Interface exposing theInsert
build method.Interface exposingWHERE
methods.Interface exposingvalue
methods to add values to theINSERT
statement and the build method.Interface exposingvalue
methods to add values to theINSERT
statement.Interface exposingvalue
methods to add values to theINSERT
statement and the build method.INTO
clause.IS NULL
Condition
.Segment
for aJOIN
declaration.LIKECondition
comparing twoExpression
s.Literal<T>Represents a literal.Lock Mode Types of SELECT statements.Value object providing lock options to apply to aSelect
statement.Wrapper for multipleCondition
s.Named element exposing aname
.Condition group wrapping a nestedCondition
with parentheses.Represents aNumber
literal.Represents an `ORDER BY` clause.Represents a field in theORDER BY
clause.Supertype of all Abstract Syntax Tree (AST) segments.SegmentList<T extends Segment>A list ofSegment
instances.AST for aSELECT
statement.Entry point to construct aSelect
statement.Interface exposing theSelect
build method.Builder exposingSELECT
andFROM
methods.Builder exposingFROM
methods.Builder exposingFROM
,JOIN
,WHERE
,LIMIT/OFFSET
andLOCK
methods.Builder exposingFROM
,WHERE
,LIMIT/OFFSET
, JOINAND
andLOCK
continuation methods.Builder exposingFROM
,JOIN
,WHERE
,LIMIT/OFFSET
andLOCK
methods.Interface exposingJOIN
methods.Limit/offset methods.Lock methods.Interface exposingON
methods to declareJOIN
relationships.Builder exposing JOIN andJOIN … ON
continuation methods.Interface declaring the target column comparison relationship.Builder exposingORDER BY
andLOCK
methods.Interface exposingWHERE
,LOCK
methods.Value object representing the select list (selected columns, functions).Simple function accepting one or moreExpression
s.Utility to create SQLSegment
s.Represents a named object that exists in the database like a table name or a column name.Entrypoint to build SQL statements.Represents aCharSequence
literal.Wrapper for aSelect
query to be used as subselect.Represents a table reference within a SQL statement.A segment that can be used as table in a query.Simple condition that evaluates to SQLTRUE
.AST for aaUPDATE
statement.Entry point to construct anUpdate
statement.Interface exposing theUpdate
build method.Interface exposingSET
methods.Interface exposingWHERE
methods.VALUES
clause.Interface for implementations that wish to be visited by aVisitor
.ASTSegment
visitor.Where
clause.