Debian Codegraph @

docs/api_reference/CXX/dbc.html

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6 <title>Chapter 3.  The Dbc Handle</title>
7 <link rel="stylesheet" href="apiReference.css" type="text/css" />
8 <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
9 <link rel="start" href="index.html" title="Berkeley DB C++ API Reference" />
10 <link rel="up" href="index.html" title="Berkeley DB C++ API Reference" />
11 <link rel="prev" href="db_heap_rid.html" title="DbHeapRecordId" />
12 <link rel="next" href="dbcursor.html" title="Db::cursor()" />
13 </head>
14 <body>
15 <div xmlns="" class="navheader">
16 <div class="libver">
17 <p>Library Version 11.2.5.3</p>
18 </div>
19 <table width="100%" summary="Navigation header">
20 <tr>
21 <th colspan="3" align="center">Chapter 3. 
22 The Dbc Handle
23 </th>
24 </tr>
25 <tr>
26 <td width="20%" align="left"><a accesskey="p" href="db_heap_rid.html">Prev</a> </td>
27 <th width="60%" align="center"> </th>
28 <td width="20%" align="right"> <a accesskey="n" href="dbcursor.html">Next</a></td>
29 </tr>
30 </table>
31 <hr />
32 </div>
33 <div class="chapter" lang="en" xml:lang="en">
34 <div class="titlepage">
35 <div>
36 <div>
37 <h2 class="title"><a id="dbc"></a>Chapter 3. 
38 The Dbc Handle
39 </h2>
40 </div>
41 </div>
42 </div>
43 <p>
44 A Dbc object is a handle for a cursor into a Berkeley
45 DB database.
46 </p>
47 <p>
48 Dbc handles are not free-threaded. Cursor
49 handles may be shared by multiple threads if access is
50 serialized by the application.
51 </p>
52 <p>
53 You create a Dbc using the
54 <a class="xref" href="dbcursor.html" title="Db::cursor()">Db::cursor()</a>
55 method.
56 </p>
57 <p>
58 If the cursor is to be used to perform operations on behalf
59 of a transaction, the cursor must be opened and closed
60 within the context of that single transaction.
61 </p>
62 <p>
63 Once <a class="xref" href="dbcclose.html" title="Dbc::close()">Dbc::close()</a> has
64 been called, the handle may not be accessed again,
65 regardless of the method's return.
66 </p>
67 <div class="sect1" lang="en" xml:lang="en">
68 <div class="titlepage">
69 <div>
70 <div>
71 <h2 class="title" style="clear: both"><a id="dbclist"></a>Database Cursors and Related Methods</h2>
72 </div>
73 </div>
74 </div>
75 <div class="navtable">
76 <table border="1" width="80%">
77 <thead>
78 <tr>
79 <th>Database Cursors and Related Methods</th>
80 <th>Description</th>
81 </tr>
82 </thead>
83 <tbody>
84 <tr>
85 <td>
86 <a class="xref" href="dbcursor.html" title="Db::cursor()">Db::cursor()</a>
87 </td>
88 <td>Create a cursor handle</td>
89 </tr>
90 <tr>
91 <td>
92 <a class="xref" href="dbcclose.html" title="Dbc::close()">Dbc::close()</a>
93 </td>
94 <td>Close a cursor handle</td>
95 </tr>
96 <tr>
97 <td>
98 <a class="xref" href="dbccmp.html" title="Dbc::cmp()">Dbc::cmp()</a>
99 </td>
100 <td>Compare two cursors for equality.</td>
101 </tr>
102 <tr>
103 <td>
104 <a class="xref" href="dbccount.html" title="Dbc::count()">Dbc::count()</a>
105 </td>
106 <td>Return count of duplicates for current key</td>
107 </tr>
108 <tr>
109 <td>
110 <a class="xref" href="dbcdel.html" title="Dbc::del()">Dbc::del()</a>
111 </td>
112 <td>Delete current key/data pair</td>
113 </tr>
114 <tr>
115 <td>
116 <a class="xref" href="dbcdup.html" title="Dbc::dup()">Dbc::dup()</a>
117 </td>
118 <td>Duplicate the cursor handle</td>
119 </tr>
120 <tr>
121 <td>
122 <a class="xref" href="dbcget.html" title="Dbc::get()">Dbc::get()</a>
123 </td>
124 <td>Retrieve by cursor</td>
125 </tr>
126 <tr>
127 <td>
128 <a class="xref" href="dbcput.html" title="Dbc::put()">Dbc::put()</a>
129 </td>
130 <td>Store by cursor</td>
131 </tr>
132 <tr>
133 <td><a class="xref" href="dbcset_priority.html" title="Dbc::set_priority()">Dbc::set_priority()</a>, <a class="xref" href="dbcget_priority.html" title="Dbc::get_priority()">Dbc::get_priority()</a></td>
134 <td>Set/get the cursor's cache priority</td>
135 </tr>
136 </tbody>
137 </table>
138 </div>
139 </div>
140 </div>
141 <div class="navfooter">
142 <hr />
143 <table width="100%" summary="Navigation footer">
144 <tr>
145 <td width="40%" align="left"><a accesskey="p" href="db_heap_rid.html">Prev</a> </td>
146 <td width="20%" align="center"> </td>
147 <td width="40%" align="right"> <a accesskey="n" href="dbcursor.html">Next</a></td>
148 </tr>
149 <tr>
150 <td width="40%" align="left" valign="top">DbHeapRecordId </td>
151 <td width="20%" align="center">
152 <a accesskey="h" href="index.html">Home</a>
153 </td>
154 <td width="40%" align="right" valign="top"> Db::cursor()</td>
155 </tr>
156 </table>
157 </div>
158 </body>
159 </html>