Class TableInsertStandard
java.lang.Object
org.hibernate.sql.ast.spi.model.AbstractTableMutation<JdbcInsertMutation>
org.hibernate.sql.ast.spi.model.AbstractTableInsert
org.hibernate.sql.ast.spi.model.TableInsertStandard
- All Implemented Interfaces:
AssigningTableMutation<JdbcInsertMutation>, GeneratedMutation<JdbcInsertMutation>, TableInsert, TableMutation<JdbcInsertMutation>, SqlAstNode, Statement
- Direct Known Subclasses:
OptionalTableInsert
public class TableInsertStandard
extends AbstractTableInsert
implements TableInsert, GeneratedMutation<JdbcInsertMutation>
-
Constructor Summary
ConstructorsConstructorDescriptionTableInsertStandard(MutatingTableReference mutatingTable, MutationTarget mutationTarget, List<ColumnValueBinding> valueBindings, List<ColumnReference> returningColumns, List<ColumnValueParameter> parameters) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(SqlAstWalker walker) VisitationvoidforEachReturningColumn(BiConsumer<Integer, ColumnReference> consumer) Visit each return-columnThe columns to return from the insert.booleanIs the mutation a procedure/function?booleanMethods inherited from class AbstractTableInsert
createMutationOperation, forEachValueBinding, getExpectation, getLoggableName, getValueBindingsMethods inherited from class AbstractTableMutation
createMutationOperation, createMutationOperation, forEachParameter, forEachThing, getMutatingTable, getMutationComment, getMutationTarget, getParameters, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Statement
isSelectionMethods inherited from interface TableInsert
forEachValueBinding, getNumberOfReturningColumns, getNumberOfValueBindings, getValueBindingsMethods inherited from interface TableMutation
createMutationOperation, createMutationOperation, forEachParameter, getExpectation, getMutatingTable, getMutationComment, getParameters, getTableName
-
Constructor Details
-
TableInsertStandard
public TableInsertStandard(MutatingTableReference mutatingTable, MutationTarget mutationTarget, List<ColumnValueBinding> valueBindings, List<ColumnReference> returningColumns, List<ColumnValueParameter> parameters)
-
-
Method Details
-
isCustomSql
public boolean isCustomSql()- Overrides:
isCustomSqlin classAbstractTableMutation<JdbcInsertMutation>
-
getReturningColumns
Description copied from interface:TableInsertThe columns to return from the insert.- Specified by:
getReturningColumnsin interfaceTableInsert
-
forEachReturningColumn
Description copied from interface:TableInsertVisit each return-column- Specified by:
forEachReturningColumnin interfaceTableInsert- See Also:
-
isCallable
public boolean isCallable()Description copied from interface:TableMutationIs the mutation a procedure/function?- Specified by:
isCallablein interfaceTableMutation<JdbcInsertMutation>
-
accept
Description copied from interface:StatementVisitation- Specified by:
acceptin interfaceSqlAstNode- Specified by:
acceptin interfaceStatement
-