Interface InsertStatement
-
- All Superinterfaces:
MutationStatement
,Statement
- All Known Implementing Classes:
InsertSelectStatement
public interface InsertStatement extends MutationStatement
Specialization of MutationStatement for inserts
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
forEachTargetColumn(BiConsumer<Integer,ColumnReference> consumer)
Iterates each target columndefault int
getNumberOfTargetColumns()
The number of target columns associated with this insert.List<ColumnReference>
getTargetColumns()
Get all target columns-
Methods inherited from interface org.hibernate.sql.ast.tree.MutationStatement
getReturningColumns, getTargetTable
-
-
-
-
Method Detail
-
getTargetColumns
List<ColumnReference> getTargetColumns()
Get all target columns
-
getNumberOfTargetColumns
default int getNumberOfTargetColumns()
The number of target columns associated with this insert.- Implementation Note:
- By default, returns the size of
getTargetColumns()
which may be appropriate or not
-
forEachTargetColumn
void forEachTargetColumn(BiConsumer<Integer,ColumnReference> consumer)
Iterates each target column
-
-