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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
getCurrentValueAndAdvance(NumberDataValue returnValue)
Get the next sequence number for bulk-insert.java.lang.Long
peekAtCurrentValue()
Get the current value of the sequence generator without advancing it.
-
-
-
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
-
-