Sophie

Sophie

distrib > Fedora > 13 > i386 > media > os > by-pkgid > 38d9966b2e862f62a2028762250d72f3 > files > 29

ruby-bdb-0.6.5-3.fc12.i686.rpm

# 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