Class BDB::Sequence
In: sequence.rb
Parent: Object

A sequence is created with the method BDB::Common#create_sequence or BDB::Common#open_sequence

Methods

cachesize   close   db   flags   get   key   range   remove   stat  

Public Instance methods

return the current cache size

close the sequence

return the bdb file associated with the sequence

return the current flags

return the next available element in the sequence and changes the sequence value by delta

flags can have the value BDB::AUTO_COMMIT, BDB::TXN_NOSYNC

return the key associated with the sequence

return the range of values in the sequence

remove the sequence

flags can have the value BDB::AUTO_COMMIT, BDB::TXN_NOSYNC

return statistics about the sequence

flags can have the value BDB::STAT_CLEAR

[Validate]