Debian Codegraph @

docs/api_reference/C/db_heap_rid.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>DB_HEAP_RID</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="db.html" title="Chapter 2.  The DB Handle" />
11 <link rel="prev" href="dbverify.html" title="DB-&gt;verify()" />
12 <link rel="next" href="dbc.html" title="Chapter 3.  The DBcursor Handle" />
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">DB_HEAP_RID</th>
22 </tr>
23 <tr>
24 <td width="20%" align="left"><a accesskey="p" href="dbverify.html">Prev</a> </td>
25 <th width="60%" align="center">Chapter 2. 
26 The DB Handle
27 </th>
28 <td width="20%" align="right"> <a accesskey="n" href="dbc.html">Next</a></td>
29 </tr>
30 </table>
31 <hr />
32 </div>
33 <div class="sect1" lang="en" xml:lang="en">
34 <div class="titlepage">
35 <div>
36 <div>
37 <h2 class="title" style="clear: both"><a id="db_heap_rid"></a>DB_HEAP_RID</h2>
38 </div>
39 </div>
40 </div>
41 <pre class="programlisting">#include &lt;db.h&gt;
42
43 struct __db_heap_rid {
44 db_pgno_t pgno; /* Page number. */
45 db_indx_t indx; /* Index in the offset table. */
46 }; </pre>
47 <p>
48 Content used for the key in a Heap database record. Berkeley DB
49 <span>creates this structure</span>
50
51 for you when you create a record in a Heap database. You should
52 never
53 <span>create this structure or modify the contents
54 of this structure </span>
55
56 yourself; Berkeley DB must create and manage it for you.
57 </p>
58 <p>
59 This
60 <span>structure</span>
61
62 is returned in the <span class="bold"><strong>key</strong></span>
63 DBT parameter of the method that you use to add a record to the
64 Heap database.
65 </p>
66 <div class="sect2" lang="en" xml:lang="en">
67 <div class="titlepage">
68 <div>
69 <div>
70 <h3 class="title"><a id="idp50778136"></a>Parameters</h3>
71 </div>
72 </div>
73 </div>
74 <div class="sect3" lang="en" xml:lang="en">
75 <div class="titlepage">
76 <div>
77 <div>
78 <h4 class="title"><a id="idp50737512"></a>pgno</h4>
79 </div>
80 </div>
81 </div>
82 <p>
83 The database page number where the record is stored.
84 </p>
85 </div>
86 <div class="sect3" lang="en" xml:lang="en">
87 <div class="titlepage">
88 <div>
89 <div>
90 <h4 class="title"><a id="idp50795048"></a>indx</h4>
91 </div>
92 </div>
93 </div>
94 <p>
95 Index in the offset table where the record can be found.
96 </p>
97 </div>
98 </div>
99 <div class="sect2" lang="en" xml:lang="en">
100 <div class="titlepage">
101 <div>
102 <div>
103 <h3 class="title"><a id="idp50774040"></a>See Also</h3>
104 </div>
105 </div>
106 </div>
107 <p>
108 <a class="xref" href="db.html#dblist" title="Database and Related Methods">Database and Related Methods</a>,
109 </p>
110 </div>
111 </div>
112 <div class="navfooter">
113 <hr />
114 <table width="100%" summary="Navigation footer">
115 <tr>
116 <td width="40%" align="left"><a accesskey="p" href="dbverify.html">Prev</a> </td>
117 <td width="20%" align="center">
118 <a accesskey="u" href="db.html">Up</a>
119 </td>
120 <td width="40%" align="right"> <a accesskey="n" href="dbc.html">Next</a></td>
121 </tr>
122 <tr>
123 <td width="40%" align="left" valign="top">DB-&gt;verify() </td>
124 <td width="20%" align="center">
125 <a accesskey="h" href="index.html">Home</a>
126 </td>
127 <td width="40%" align="right" valign="top"> Chapter 3. 
128 The DBcursor Handle
129 </td>
130 </tr>
131 </table>
132 </div>
133 </body>
134 </html>