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
|
<! "@(#)ops.so 10.3 (Sleepycat) 10/19/98">
<!Copyright 1997, 1998 by Sleepycat Software, Inc. All rights reserved.>
<html>
<body bgcolor=white>
<head>
<title>Berkeley DB: Access method operations</title>
<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btr
ee,hash,hashing,transaction,transactions,locking,logging,access method,access me
thods,java,C,C++">
</head>
<h1 align=center>Access method operations</h1>
<p>
Once a database has been opened using <a href="../../api_c/Db/open.html">db_open</a>, and a handle on
that database returned, there are seven standard access method operations.
Each of these operations is performed using a function that is referenced
from the returned handle. The seven operations are as follows:
<p>
<dl compact>
<p><dt><a href="../../api_c/Db/get.html">DB->get</a><dd>Retrieve a record
<dt><a href="../../api_c/Db/put.html">DB->put</a><dd>Store a record
<dt><a href="../../api_c/Db/del.html">DB->del</a><dd>Delete a record
<dt><a href="../../api_c/Db/cursor.html">DB->cursor</a><dd>Open a cursor into the database
<dt><a href="../../api_c/Db/stat.html">DB->stat</a><dd>Return statistics about the database
<dt><a href="../../api_c/Db/sync.html">DB->sync</a><dd>Flush the underlying cache
<dt><a href="../../api_c/Db/close.html">DB->close</a><dd>Close the database
</dl>
<p>
<a href="../../ref/simple_tut/close.html"><img src="../../images/prev.gif"></a>
<a href="../../ref/toc.html"><img src="../../images/toc.gif"></a>
<a href="../../ref/am/get.html"><img src="../../images/next.gif"></a>
</tt>
</body>
</html>
|