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 Detail

      • 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

        java.lang.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