protected static class AbstractStatementsWriter.InsertStatement extends AbstractStatementsWriter.AbstractTableStatement
| Constructor and Description |
|---|
InsertStatement(GeneratorDialect dialect,
GeneratorTable table)
Creates a new instance of InsertStatement.
|
| Modifier and Type | Method and Description |
|---|---|
protected <T> StringBuilder |
addColumns(StringBuilder result,
Collection<T> columns,
BiConsumer<StringBuilder,T> mapper)
Adds columns to an SQL expression.
|
String |
toSql()
Prints this statement as SQL.
|
getDialect, getTable, getValues, isPlainExpressionAvailable, reset, setColumnValue, toStringpublic InsertStatement(GeneratorDialect dialect, GeneratorTable table)
dialect - the current database dialecttable - the affected tableprotected <T> StringBuilder addColumns(StringBuilder result, Collection<T> columns, BiConsumer<StringBuilder,T> mapper)
result - the string buildercolumns - contains the columnsmapper - add the column to the expressionresult for chainingpublic String toSql()
EntityStatementCopyright © 2026 fastnate.org. All rights reserved.