Insert the rows from the source into the specified
base table. This will cause constraints to be checked
and triggers to be executed based on the c's and t's
compiled into the insert plan.
Inner Class :class MyRowAllocator implements GeneratedMethod
Field Summary
protected boolean
autoincrementGenerated If set to true, implies that this (rep)insertresultset has generated
autoincrement values.
getSetAutoincrementValue(int columnPosition, long increment) getSetAutoincrementValue will get the autoincrement value of the
columnPosition specified for the target table.
If set to true, implies that this (rep)insertresultset has generated
autoincrement values. During refresh for example, the autoincrement
values are not generated but sent from the source to target or
vice-versa.
getSetAutoincrementValue will get the autoincrement value of the
columnPosition specified for the target table. If increment is
non-zero we will also update the autoincrement value.
Parameters: columnPosition - position of the column in the table (1-based) Parameters: increment - amount of increment. exception: StandardException - if anything goes wrong.
Preprocess the source row. Apply any check constraints here.
Do an inplace cloning of all key columns. For triggers, if
we have a before row trigger, we fire it here if we can.
This is useful for bulk insert where the store stands between
the source and us.
Parameters: execRow - The source row. The preprocessed source row. exception: StandardException - thrown on error
Verify that bulkInsert is allowed on this table.
The execution time check to see if bulkInsert is allowed
simply consists of checking to see if this is not a deferred
mode insert and that the table is empty if this is not replace.
A side effect of calling this method is to get an exclusive
table lock on the table.
Whether or not bulkInsert is allowed on this table. exception: StandardException - Thrown on error
Fields inherited from org.apache.derby.impl.sql.execute.DMLWriteResultSet