Interface BulkInsertCounter

All Known Implementing Classes:
SequenceUpdater.BulkInsertUpdater

public interface BulkInsertCounter
Thin wrapper around a sequence generator to support the bulk-insert optimization used by InsertResultSet.
  • Method Details

    • getCurrentValueAndAdvance

      void getCurrentValueAndAdvance(NumberDataValue returnValue) throws StandardException

      Get the next sequence number for bulk-insert.

      Parameters:
      returnValue - This value is stuffed with the new sequence number.
      Throws:
      StandardException
    • peekAtCurrentValue

      Long peekAtCurrentValue() throws StandardException

      Get the current value of the sequence generator without advancing it. May return null if the generator is exhausted.

      Throws:
      StandardException