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 Summary
Modifier and TypeMethodDescriptionvoid
getCurrentValueAndAdvance
(NumberDataValue returnValue) Get the next sequence number for bulk-insert.Get the current value of the sequence generator without advancing it.
-
Method Details
-
getCurrentValueAndAdvance
Get the next sequence number for bulk-insert.
- Parameters:
returnValue
- This value is stuffed with the new sequence number.- Throws:
StandardException
-
peekAtCurrentValue
Get the current value of the sequence generator without advancing it. May return null if the generator is exhausted.
- Throws:
StandardException
-