Class SequenceUpdater.BulkInsertUpdater

java.lang.Object
org.apache.derby.impl.sql.catalog.SequenceUpdater
org.apache.derby.impl.sql.catalog.SequenceUpdater.BulkInsertUpdater
All Implemented Interfaces:
Cacheable, BulkInsertCounter
Enclosing class:
SequenceUpdater

public static final class SequenceUpdater.BulkInsertUpdater extends SequenceUpdater implements BulkInsertCounter

Implementation of SequenceUpdater for use with the bulk-insert optimization used by InsertResultSet. This BulkInsertUpdater doesn't really write to disk. It is assumed that the BulkInsertUpdater will only be used by the bulk-insert code, where the user has exclusive write-access on the table whose identity column is backed by the original SequenceUpdater. At the end of bulk-insert, the current value of the BulkInsertUpdater is written to disk by other code.

  • Constructor Details

    • BulkInsertUpdater

      public BulkInsertUpdater()
    • BulkInsertUpdater

      public BulkInsertUpdater(SequenceUpdater originalUpdater, boolean restart)
  • Method Details