- All Known Implementing Classes:
AbstractConditionalStatementBuilder,AbstractStatementBuilder,DeleteBuilder,NoOpStatementBuilder
Interface for building SQL execution/update statements.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddSetNode(Column column, @Nullable Object value, boolean bindValue) Adds a set node to the statement.build()Builds the final SQL statement.Creates the update metadata for the statement.node()Returns the current query node.Returns the chain of statements built so far.
-
Method Details
-
node
QueryNode node()Returns the current query node.- Returns:
- the query node
-
addSetNode
Adds a set node to the statement.- Parameters:
column- the column to setvalue- the value to setbindValue- whether to bind the value as a parameter
-
statementChain
StatementChain statementChain()Returns the chain of statements built so far.- Returns:
- The statement chain.
-
createUpdateMetaData
UpdateMetaData createUpdateMetaData()Creates the update metadata for the statement.- Returns:
- the update metadata
-
build
PreparedOperation build()Builds the final SQL statement.- Returns:
- The built statement.
-