1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
|
# A sequence is created with the method <em>BDB::Common#create_sequence</em>
# or <em>BDB::Common#open_sequence</em>
#
class BDB::Sequence
#return the current cache size
def cachesize
end
#close the sequence
def close
end
#return the bdb file associated with the sequence
def db
end
#return the current flags
def flags
end
#return the next available element in the sequence and changes
#the sequence value by <em>delta</em>
#
#<em>flags</em> can have the value BDB::AUTO_COMMIT, BDB::TXN_NOSYNC
def get(delta = 1, flags = 0)
end
#return the key associated with the sequence
def key
end
#return the range of values in the sequence
def range
end
#remove the sequence
#
#<em>flags</em> can have the value BDB::AUTO_COMMIT, BDB::TXN_NOSYNC
def remove(flags = 0)
end
#return statistics about the sequence
#
#<em>flags</em> can have the value BDB::STAT_CLEAR
def stat(flags = 0)
end
end
|