Package org.hibernate.sql.model.internal
Class TableInsertStandard
- java.lang.Object
-
- org.hibernate.sql.model.ast.AbstractTableMutation<JdbcInsertMutation>
-
- org.hibernate.sql.model.ast.AbstractTableInsert
-
- org.hibernate.sql.model.internal.TableInsertStandard
-
- All Implemented Interfaces:
Statement
,TableInsert
,TableMutation<JdbcInsertMutation>
public class TableInsertStandard extends AbstractTableInsert
-
-
Constructor Summary
Constructors Constructor Description TableInsertStandard(MutatingTableReference mutatingTable, MutationTarget<?> mutationTarget, List<ColumnValueBinding> valueBindings, List<ColumnReference> returningColumns, List<ColumnValueParameter> parameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(SqlAstWalker walker)
Visitationvoid
forEachReturningColumn(BiConsumer<Integer,ColumnReference> consumer)
Visit each return-columnList<ColumnReference>
getReturningColumns()
The columns to return from the insert.boolean
isCallable()
Is the mutation a procedure/function?boolean
isCustomSql()
-
Methods inherited from class org.hibernate.sql.model.ast.AbstractTableInsert
createMutationOperation, forEachValueBinding, getExpectation, getLoggableName, getValueBindings
-
Methods inherited from class org.hibernate.sql.model.ast.AbstractTableMutation
createMutationOperation, createMutationOperation, forEachParameter, forEachThing, getMutatingTable, getMutationComment, getMutationTarget, getParameters, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.sql.model.ast.TableInsert
getNumberOfReturningColumns, getNumberOfValueBindings
-
Methods inherited from interface org.hibernate.sql.model.ast.TableMutation
createMutationOperation, createMutationOperation, forEachParameter, getMutatingTable, getMutationComment, getParameters, getTableName
-
-
-
-
Constructor Detail
-
TableInsertStandard
public TableInsertStandard(MutatingTableReference mutatingTable, MutationTarget<?> mutationTarget, List<ColumnValueBinding> valueBindings, List<ColumnReference> returningColumns, List<ColumnValueParameter> parameters)
-
-
Method Detail
-
isCustomSql
public boolean isCustomSql()
- Overrides:
isCustomSql
in classAbstractTableMutation<JdbcInsertMutation>
-
getReturningColumns
public List<ColumnReference> getReturningColumns()
Description copied from interface:TableInsert
The columns to return from the insert.
-
forEachReturningColumn
public void forEachReturningColumn(BiConsumer<Integer,ColumnReference> consumer)
Description copied from interface:TableInsert
Visit each return-column- See Also:
TableInsert.getReturningColumns()
-
isCallable
public boolean isCallable()
Description copied from interface:TableMutation
Is the mutation a procedure/function?
-
accept
public void accept(SqlAstWalker walker)
Description copied from interface:Statement
Visitation
-
-