Debian Codegraph @

docs/java/com/sleepycat/db/BtreeStats.html

raw symbols SCIP
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!--NewPage-->
3 <HTML>
4 <HEAD>
5 <!-- Generated by javadoc (build 1.6.0_51) on Mon Sep 09 11:47:04 EDT 2013 -->
6 <TITLE>
7 BtreeStats (Oracle - Berkeley DB Java API)
8 </TITLE>
9
10 <META NAME="date" CONTENT="2013-09-09">
11
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../style.css" TITLE="Style">
13
14 <SCRIPT type="text/javascript">
15 function windowTitle()
16 {
17 if (location.href.indexOf('is-external=true') == -1) {
18 parent.document.title="BtreeStats (Oracle - Berkeley DB Java API)";
19 }
20 }
21 </SCRIPT>
22 <NOSCRIPT>
23 </NOSCRIPT>
24
25 </HEAD>
26
27 <BODY BGCOLOR="white" onload="windowTitle();">
28 <HR>
29
30
31 <!-- ========= START OF TOP NAVBAR ======= -->
32 <A NAME="navbar_top"><!-- --></A>
33 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35 <TR>
36 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37 <A NAME="navbar_top_firstrow"><!-- --></A>
38 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39 <TR ALIGN="center" VALIGN="top">
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BtreeStats.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48 </TR>
49 </TABLE>
50 </TD>
51 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52 <b>Berkeley DB</b><br><font size="-1"> version 5.3.28</font></EM>
53 </TD>
54 </TR>
55
56 <TR>
57 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58 &nbsp;<A HREF="../../../com/sleepycat/db/BtreePrefixCalculator.html" title="interface in com.sleepycat.db"><B>PREV CLASS</B></A>&nbsp;
59 &nbsp;<A HREF="../../../com/sleepycat/db/CacheFile.html" title="class in com.sleepycat.db"><B>NEXT CLASS</B></A></FONT></TD>
60 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61 <A HREF="../../../index.html?com/sleepycat/db/BtreeStats.html" target="_top"><B>FRAMES</B></A> &nbsp;
62 &nbsp;<A HREF="BtreeStats.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
63 &nbsp;<SCRIPT type="text/javascript">
64 <!--
65 if(window==top) {
66 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
67 }
68 //-->
69 </SCRIPT>
70 <NOSCRIPT>
71 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
72 </NOSCRIPT>
73
74
75 </FONT></TD>
76 </TR>
77 <TR>
78 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
82 </TR>
83 </TABLE>
84 <A NAME="skip-navbar_top"></A>
85 <!-- ========= END OF TOP NAVBAR ========= -->
86
87 <HR>
88 <!-- ======== START OF CLASS DATA ======== -->
89 <H2>
90 <FONT SIZE="-1">
91 com.sleepycat.db</FONT>
92 <BR>
93 Class BtreeStats</H2>
94 <PRE>
95 <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
96 <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../com/sleepycat/db/DatabaseStats.html" title="class in com.sleepycat.db">com.sleepycat.db.DatabaseStats</A>
97 <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.sleepycat.db.BtreeStats</B>
98 </PRE>
99 <HR>
100 <DL>
101 <DT><PRE>public class <B>BtreeStats</B><DT>extends <A HREF="../../../com/sleepycat/db/DatabaseStats.html" title="class in com.sleepycat.db">DatabaseStats</A></DL>
102 </PRE>
103
104 <P>
105 The BtreeStats object is used to return Btree
106 or Recno database statistics.
107 <P>
108
109 <P>
110 <HR>
111
112 <P>
113
114 <!-- ========== METHOD SUMMARY =========== -->
115
116 <A NAME="method_summary"><!-- --></A>
117 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
118 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
119 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
120 <B>Method Summary</B></FONT></TH>
121 </TR>
122 <TR BGCOLOR="white" CLASS="TableRowColor">
123 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
124 <CODE>&nbsp;int</CODE></FONT></TD>
125 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BtreeStats.html#getDupPages()">getDupPages</A></B>()</CODE>
126
127 <BR>
128 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of database duplicate pages.</TD>
129 </TR>
130 <TR BGCOLOR="white" CLASS="TableRowColor">
131 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
132 <CODE>&nbsp;long</CODE></FONT></TD>
133 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BtreeStats.html#getDupPagesFree()">getDupPagesFree</A></B>()</CODE>
134
135 <BR>
136 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of bytes free in database duplicate pages.</TD>
137 </TR>
138 <TR BGCOLOR="white" CLASS="TableRowColor">
139 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
140 <CODE>&nbsp;int</CODE></FONT></TD>
141 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BtreeStats.html#getEmptyPages()">getEmptyPages</A></B>()</CODE>
142
143 <BR>
144 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of empty database pages.</TD>
145 </TR>
146 <TR BGCOLOR="white" CLASS="TableRowColor">
147 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
148 <CODE>&nbsp;int</CODE></FONT></TD>
149 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BtreeStats.html#getFree()">getFree</A></B>()</CODE>
150
151 <BR>
152 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of pages on the free list.</TD>
153 </TR>
154 <TR BGCOLOR="white" CLASS="TableRowColor">
155 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
156 <CODE>&nbsp;int</CODE></FONT></TD>
157 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BtreeStats.html#getIntPages()">getIntPages</A></B>()</CODE>
158
159 <BR>
160 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of database internal pages.</TD>
161 </TR>
162 <TR BGCOLOR="white" CLASS="TableRowColor">
163 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
164 <CODE>&nbsp;long</CODE></FONT></TD>
165 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BtreeStats.html#getIntPagesFree()">getIntPagesFree</A></B>()</CODE>
166
167 <BR>
168 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of bytes free in database internal pages.</TD>
169 </TR>
170 <TR BGCOLOR="white" CLASS="TableRowColor">
171 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
172 <CODE>&nbsp;int</CODE></FONT></TD>
173 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BtreeStats.html#getLeafPages()">getLeafPages</A></B>()</CODE>
174
175 <BR>
176 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of database leaf pages.</TD>
177 </TR>
178 <TR BGCOLOR="white" CLASS="TableRowColor">
179 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
180 <CODE>&nbsp;long</CODE></FONT></TD>
181 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BtreeStats.html#getLeafPagesFree()">getLeafPagesFree</A></B>()</CODE>
182
183 <BR>
184 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of bytes free in database leaf pages.</TD>
185 </TR>
186 <TR BGCOLOR="white" CLASS="TableRowColor">
187 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
188 <CODE>&nbsp;int</CODE></FONT></TD>
189 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BtreeStats.html#getLevels()">getLevels</A></B>()</CODE>
190
191 <BR>
192 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of levels in the database.</TD>
193 </TR>
194 <TR BGCOLOR="white" CLASS="TableRowColor">
195 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
196 <CODE>&nbsp;int</CODE></FONT></TD>
197 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BtreeStats.html#getMagic()">getMagic</A></B>()</CODE>
198
199 <BR>
200 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The magic number that identifies the file as a Btree database.</TD>
201 </TR>
202 <TR BGCOLOR="white" CLASS="TableRowColor">
203 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
204 <CODE>&nbsp;int</CODE></FONT></TD>
205 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BtreeStats.html#getMetaFlags()">getMetaFlags</A></B>()</CODE>
206
207 <BR>
208 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reports internal flags.</TD>
209 </TR>
210 <TR BGCOLOR="white" CLASS="TableRowColor">
211 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
212 <CODE>&nbsp;int</CODE></FONT></TD>
213 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BtreeStats.html#getMinKey()">getMinKey</A></B>()</CODE>
214
215 <BR>
216 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The minimum keys per page.</TD>
217 </TR>
218 <TR BGCOLOR="white" CLASS="TableRowColor">
219 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
220 <CODE>&nbsp;int</CODE></FONT></TD>
221 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BtreeStats.html#getNumData()">getNumData</A></B>()</CODE>
222
223 <BR>
224 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of key/data pairs or records in the database.</TD>
225 </TR>
226 <TR BGCOLOR="white" CLASS="TableRowColor">
227 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
228 <CODE>&nbsp;int</CODE></FONT></TD>
229 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BtreeStats.html#getNumKeys()">getNumKeys</A></B>()</CODE>
230
231 <BR>
232 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of keys or records in the database.</TD>
233 </TR>
234 <TR BGCOLOR="white" CLASS="TableRowColor">
235 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
236 <CODE>&nbsp;int</CODE></FONT></TD>
237 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BtreeStats.html#getOverPages()">getOverPages</A></B>()</CODE>
238
239 <BR>
240 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of database overflow pages.</TD>
241 </TR>
242 <TR BGCOLOR="white" CLASS="TableRowColor">
243 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
244 <CODE>&nbsp;long</CODE></FONT></TD>
245 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BtreeStats.html#getOverPagesFree()">getOverPagesFree</A></B>()</CODE>
246
247 <BR>
248 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of bytes free in database overflow pages.</TD>
249 </TR>
250 <TR BGCOLOR="white" CLASS="TableRowColor">
251 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
252 <CODE>&nbsp;int</CODE></FONT></TD>
253 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BtreeStats.html#getPageCount()">getPageCount</A></B>()</CODE>
254
255 <BR>
256 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of pages in the database.</TD>
257 </TR>
258 <TR BGCOLOR="white" CLASS="TableRowColor">
259 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
260 <CODE>&nbsp;int</CODE></FONT></TD>
261 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BtreeStats.html#getPageSize()">getPageSize</A></B>()</CODE>
262
263 <BR>
264 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The underlying database page size, in bytes.</TD>
265 </TR>
266 <TR BGCOLOR="white" CLASS="TableRowColor">
267 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
268 <CODE>&nbsp;int</CODE></FONT></TD>
269 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BtreeStats.html#getReLen()">getReLen</A></B>()</CODE>
270
271 <BR>
272 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The length of fixed-length records.</TD>
273 </TR>
274 <TR BGCOLOR="white" CLASS="TableRowColor">
275 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
276 <CODE>&nbsp;int</CODE></FONT></TD>
277 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BtreeStats.html#getRePad()">getRePad</A></B>()</CODE>
278
279 <BR>
280 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The padding byte value for fixed-length records.</TD>
281 </TR>
282 <TR BGCOLOR="white" CLASS="TableRowColor">
283 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
284 <CODE>&nbsp;int</CODE></FONT></TD>
285 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BtreeStats.html#getVersion()">getVersion</A></B>()</CODE>
286
287 <BR>
288 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The version of the Btree database.</TD>
289 </TR>
290 <TR BGCOLOR="white" CLASS="TableRowColor">
291 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
292 <CODE>&nbsp;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
293 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BtreeStats.html#toString()">toString</A></B>()</CODE>
294
295 <BR>
296 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For convenience, the BtreeStats class has a toString method
297 that lists all the data fields.</TD>
298 </TR>
299 </TABLE>
300 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
301 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
302 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
303 <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
304 </TR>
305 <TR BGCOLOR="white" CLASS="TableRowColor">
306 <TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
307 </TR>
308 </TABLE>
309 &nbsp;
310 <P>
311
312 <!-- ============ METHOD DETAIL ========== -->
313
314 <A NAME="method_detail"><!-- --></A>
315 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
316 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
317 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
318 <B>Method Detail</B></FONT></TH>
319 </TR>
320 </TABLE>
321
322 <A NAME="getMagic()"><!-- --></A><H3>
323 getMagic</H3>
324 <PRE>
325 public int <B>getMagic</B>()</PRE>
326 <DL>
327 <DD>The magic number that identifies the file as a Btree database.
328 <P>
329 <DD><DL>
330 </DL>
331 </DD>
332 </DL>
333 <HR>
334
335 <A NAME="getVersion()"><!-- --></A><H3>
336 getVersion</H3>
337 <PRE>
338 public int <B>getVersion</B>()</PRE>
339 <DL>
340 <DD>The version of the Btree database.
341 <P>
342 <DD><DL>
343 </DL>
344 </DD>
345 </DL>
346 <HR>
347
348 <A NAME="getMetaFlags()"><!-- --></A><H3>
349 getMetaFlags</H3>
350 <PRE>
351 public int <B>getMetaFlags</B>()</PRE>
352 <DL>
353 <DD>Reports internal flags. For internal use only.
354 <P>
355 <DD><DL>
356 </DL>
357 </DD>
358 </DL>
359 <HR>
360
361 <A NAME="getNumKeys()"><!-- --></A><H3>
362 getNumKeys</H3>
363 <PRE>
364 public int <B>getNumKeys</B>()</PRE>
365 <DL>
366 <DD>The number of keys or records in the database.
367 <p>
368 For the Btree Access Method, the number of keys in the database. If
369 the <A HREF="../../../com/sleepycat/db/Database.html#getStats(com.sleepycat.db.Transaction, com.sleepycat.db.StatsConfig)"><CODE>Database.getStats</CODE></A> call was not configured by the
370 <A HREF="../../../com/sleepycat/db/StatsConfig.html#setFast(boolean)"><CODE>StatsConfig.setFast</CODE></A> method or the database was configured
371 to support retrieval by record number, the count will be exact.
372 Otherwise, the count will be the last saved value unless it has
373 never been calculated, in which case it will be 0.
374 <p>
375 For the Recno Access Method, the number of records in the database.
376 If the database was configured with mutable record numbers the count
377 will be exact. Otherwise, if the <A HREF="../../../com/sleepycat/db/Database.html#getStats(com.sleepycat.db.Transaction, com.sleepycat.db.StatsConfig)"><CODE>Database.getStats</CODE></A> call
378 was configured by the <A HREF="../../../com/sleepycat/db/StatsConfig.html#setFast(boolean)"><CODE>StatsConfig.setFast</CODE></A> method, the
379 count will be exact but will include deleted records; if the
380 <A HREF="../../../com/sleepycat/db/Database.html#getStats(com.sleepycat.db.Transaction, com.sleepycat.db.StatsConfig)"><CODE>Database.getStats</CODE></A> call was not configured by the
381 <A HREF="../../../com/sleepycat/db/StatsConfig.html#setFast(boolean)"><CODE>StatsConfig.setFast</CODE></A> method, the count will be exact and
382 will not include deleted records.
383 <P>
384 <DD><DL>
385 </DL>
386 </DD>
387 </DL>
388 <HR>
389
390 <A NAME="getNumData()"><!-- --></A><H3>
391 getNumData</H3>
392 <PRE>
393 public int <B>getNumData</B>()</PRE>
394 <DL>
395 <DD>The number of key/data pairs or records in the database.
396 <p>
397 For the Btree Access Method, the number of key/data pairs in the
398 database. If the <A HREF="../../../com/sleepycat/db/Database.html#getStats(com.sleepycat.db.Transaction, com.sleepycat.db.StatsConfig)"><CODE>Database.getStats</CODE></A> call was not
399 configured by the <A HREF="../../../com/sleepycat/db/StatsConfig.html#setFast(boolean)"><CODE>StatsConfig.setFast</CODE></A> method, the count
400 will be exact. Otherwise, the count will be the last saved value
401 unless it has never been calculated, in which case it will be 0.
402 <p>
403 For the Recno Access Method, the number of records in the database.
404 If the database was configured with mutable record numbers, the
405 count will be exact. Otherwise, if the <A HREF="../../../com/sleepycat/db/Database.html#getStats(com.sleepycat.db.Transaction, com.sleepycat.db.StatsConfig)"><CODE>Database.getStats</CODE></A>
406 call was configured by the <A HREF="../../../com/sleepycat/db/StatsConfig.html#setFast(boolean)"><CODE>StatsConfig.setFast</CODE></A> method, the
407 count will be exact but will include deleted records; if the
408 <A HREF="../../../com/sleepycat/db/Database.html#getStats(com.sleepycat.db.Transaction, com.sleepycat.db.StatsConfig)"><CODE>Database.getStats</CODE></A> call was not configured by the
409 <A HREF="../../../com/sleepycat/db/StatsConfig.html#setFast(boolean)"><CODE>StatsConfig.setFast</CODE></A> method, the count will be exact and
410 will not include deleted records.
411 <P>
412 <DD><DL>
413 </DL>
414 </DD>
415 </DL>
416 <HR>
417
418 <A NAME="getPageCount()"><!-- --></A><H3>
419 getPageCount</H3>
420 <PRE>
421 public int <B>getPageCount</B>()</PRE>
422 <DL>
423 <DD>The number of pages in the database.
424 <p>
425 Returned if <A HREF="../../../com/sleepycat/db/StatsConfig.html#setFast(boolean)"><CODE>StatsConfig.setFast(boolean)</CODE></A> was configured.
426 <P>
427 <DD><DL>
428 </DL>
429 </DD>
430 </DL>
431 <HR>
432
433 <A NAME="getPageSize()"><!-- --></A><H3>
434 getPageSize</H3>
435 <PRE>
436 public int <B>getPageSize</B>()</PRE>
437 <DL>
438 <DD>The underlying database page size, in bytes.
439 <P>
440 <DD><DL>
441 </DL>
442 </DD>
443 </DL>
444 <HR>
445
446 <A NAME="getMinKey()"><!-- --></A><H3>
447 getMinKey</H3>
448 <PRE>
449 public int <B>getMinKey</B>()</PRE>
450 <DL>
451 <DD>The minimum keys per page.
452 <P>
453 <DD><DL>
454 </DL>
455 </DD>
456 </DL>
457 <HR>
458
459 <A NAME="getReLen()"><!-- --></A><H3>
460 getReLen</H3>
461 <PRE>
462 public int <B>getReLen</B>()</PRE>
463 <DL>
464 <DD>The length of fixed-length records.
465 <P>
466 <DD><DL>
467 </DL>
468 </DD>
469 </DL>
470 <HR>
471
472 <A NAME="getRePad()"><!-- --></A><H3>
473 getRePad</H3>
474 <PRE>
475 public int <B>getRePad</B>()</PRE>
476 <DL>
477 <DD>The padding byte value for fixed-length records.
478 <P>
479 <DD><DL>
480 </DL>
481 </DD>
482 </DL>
483 <HR>
484
485 <A NAME="getLevels()"><!-- --></A><H3>
486 getLevels</H3>
487 <PRE>
488 public int <B>getLevels</B>()</PRE>
489 <DL>
490 <DD>The number of levels in the database.
491 <p>
492 The information is only included if the <A HREF="../../../com/sleepycat/db/Database.html#getStats(com.sleepycat.db.Transaction, com.sleepycat.db.StatsConfig)"><CODE>Database.getStats</CODE></A> call
493 was not configured by the <A HREF="../../../com/sleepycat/db/StatsConfig.html#setFast(boolean)"><CODE>StatsConfig.setFast</CODE></A> method.
494 <P>
495 <DD><DL>
496 </DL>
497 </DD>
498 </DL>
499 <HR>
500
501 <A NAME="getIntPages()"><!-- --></A><H3>
502 getIntPages</H3>
503 <PRE>
504 public int <B>getIntPages</B>()</PRE>
505 <DL>
506 <DD>The number of database internal pages.
507 <p>
508 The information is only included if the <A HREF="../../../com/sleepycat/db/Database.html#getStats(com.sleepycat.db.Transaction, com.sleepycat.db.StatsConfig)"><CODE>Database.getStats</CODE></A> call
509 was not configured by the <A HREF="../../../com/sleepycat/db/StatsConfig.html#setFast(boolean)"><CODE>StatsConfig.setFast</CODE></A> method.
510 <P>
511 <DD><DL>
512 </DL>
513 </DD>
514 </DL>
515 <HR>
516
517 <A NAME="getLeafPages()"><!-- --></A><H3>
518 getLeafPages</H3>
519 <PRE>
520 public int <B>getLeafPages</B>()</PRE>
521 <DL>
522 <DD>The number of database leaf pages.
523 <p>
524 The information is only included if the <A HREF="../../../com/sleepycat/db/Database.html#getStats(com.sleepycat.db.Transaction, com.sleepycat.db.StatsConfig)"><CODE>Database.getStats</CODE></A> call
525 was not configured by the <A HREF="../../../com/sleepycat/db/StatsConfig.html#setFast(boolean)"><CODE>StatsConfig.setFast</CODE></A> method.
526 <P>
527 <DD><DL>
528 </DL>
529 </DD>
530 </DL>
531 <HR>
532
533 <A NAME="getDupPages()"><!-- --></A><H3>
534 getDupPages</H3>
535 <PRE>
536 public int <B>getDupPages</B>()</PRE>
537 <DL>
538 <DD>The number of database duplicate pages.
539 <p>
540 The information is only included if the <A HREF="../../../com/sleepycat/db/Database.html#getStats(com.sleepycat.db.Transaction, com.sleepycat.db.StatsConfig)"><CODE>Database.getStats</CODE></A> call
541 was not configured by the <A HREF="../../../com/sleepycat/db/StatsConfig.html#setFast(boolean)"><CODE>StatsConfig.setFast</CODE></A> method.
542 <P>
543 <DD><DL>
544 </DL>
545 </DD>
546 </DL>
547 <HR>
548
549 <A NAME="getOverPages()"><!-- --></A><H3>
550 getOverPages</H3>
551 <PRE>
552 public int <B>getOverPages</B>()</PRE>
553 <DL>
554 <DD>The number of database overflow pages.
555 <p>
556 The information is only included if the <A HREF="../../../com/sleepycat/db/Database.html#getStats(com.sleepycat.db.Transaction, com.sleepycat.db.StatsConfig)"><CODE>Database.getStats</CODE></A> call
557 was not configured by the <A HREF="../../../com/sleepycat/db/StatsConfig.html#setFast(boolean)"><CODE>StatsConfig.setFast</CODE></A> method.
558 <P>
559 <DD><DL>
560 </DL>
561 </DD>
562 </DL>
563 <HR>
564
565 <A NAME="getEmptyPages()"><!-- --></A><H3>
566 getEmptyPages</H3>
567 <PRE>
568 public int <B>getEmptyPages</B>()</PRE>
569 <DL>
570 <DD>The number of empty database pages.
571 <p>
572 The information is only included if the <A HREF="../../../com/sleepycat/db/Database.html#getStats(com.sleepycat.db.Transaction, com.sleepycat.db.StatsConfig)"><CODE>Database.getStats</CODE></A> call
573 was not configured by the <A HREF="../../../com/sleepycat/db/StatsConfig.html#setFast(boolean)"><CODE>StatsConfig.setFast</CODE></A> method.
574 <P>
575 <DD><DL>
576 </DL>
577 </DD>
578 </DL>
579 <HR>
580
581 <A NAME="getFree()"><!-- --></A><H3>
582 getFree</H3>
583 <PRE>
584 public int <B>getFree</B>()</PRE>
585 <DL>
586 <DD>The number of pages on the free list.
587 <p>
588 The information is only included if the <A HREF="../../../com/sleepycat/db/Database.html#getStats(com.sleepycat.db.Transaction, com.sleepycat.db.StatsConfig)"><CODE>Database.getStats</CODE></A> call
589 was not configured by the <A HREF="../../../com/sleepycat/db/StatsConfig.html#setFast(boolean)"><CODE>StatsConfig.setFast</CODE></A> method.
590 <P>
591 <DD><DL>
592 </DL>
593 </DD>
594 </DL>
595 <HR>
596
597 <A NAME="getIntPagesFree()"><!-- --></A><H3>
598 getIntPagesFree</H3>
599 <PRE>
600 public long <B>getIntPagesFree</B>()</PRE>
601 <DL>
602 <DD>The number of bytes free in database internal pages.
603 <p>
604 The information is only included if the <A HREF="../../../com/sleepycat/db/Database.html#getStats(com.sleepycat.db.Transaction, com.sleepycat.db.StatsConfig)"><CODE>Database.getStats</CODE></A> call
605 was not configured by the <A HREF="../../../com/sleepycat/db/StatsConfig.html#setFast(boolean)"><CODE>StatsConfig.setFast</CODE></A> method.
606 <P>
607 <DD><DL>
608 </DL>
609 </DD>
610 </DL>
611 <HR>
612
613 <A NAME="getLeafPagesFree()"><!-- --></A><H3>
614 getLeafPagesFree</H3>
615 <PRE>
616 public long <B>getLeafPagesFree</B>()</PRE>
617 <DL>
618 <DD>The number of bytes free in database leaf pages.
619 <p>
620 The information is only included if the <A HREF="../../../com/sleepycat/db/Database.html#getStats(com.sleepycat.db.Transaction, com.sleepycat.db.StatsConfig)"><CODE>Database.getStats</CODE></A> call
621 was not configured by the <A HREF="../../../com/sleepycat/db/StatsConfig.html#setFast(boolean)"><CODE>StatsConfig.setFast</CODE></A> method.
622 <P>
623 <DD><DL>
624 </DL>
625 </DD>
626 </DL>
627 <HR>
628
629 <A NAME="getDupPagesFree()"><!-- --></A><H3>
630 getDupPagesFree</H3>
631 <PRE>
632 public long <B>getDupPagesFree</B>()</PRE>
633 <DL>
634 <DD>The number of bytes free in database duplicate pages.
635 <p>
636 The information is only included if the <A HREF="../../../com/sleepycat/db/Database.html#getStats(com.sleepycat.db.Transaction, com.sleepycat.db.StatsConfig)"><CODE>Database.getStats</CODE></A> call
637 was not configured by the <A HREF="../../../com/sleepycat/db/StatsConfig.html#setFast(boolean)"><CODE>StatsConfig.setFast</CODE></A> method.
638 <P>
639 <DD><DL>
640 </DL>
641 </DD>
642 </DL>
643 <HR>
644
645 <A NAME="getOverPagesFree()"><!-- --></A><H3>
646 getOverPagesFree</H3>
647 <PRE>
648 public long <B>getOverPagesFree</B>()</PRE>
649 <DL>
650 <DD>The number of bytes free in database overflow pages.
651 <p>
652 The information is only included if the <A HREF="../../../com/sleepycat/db/Database.html#getStats(com.sleepycat.db.Transaction, com.sleepycat.db.StatsConfig)"><CODE>Database.getStats</CODE></A> call
653 was not configured by the <A HREF="../../../com/sleepycat/db/StatsConfig.html#setFast(boolean)"><CODE>StatsConfig.setFast</CODE></A> method.
654 <P>
655 <DD><DL>
656 </DL>
657 </DD>
658 </DL>
659 <HR>
660
661 <A NAME="toString()"><!-- --></A><H3>
662 toString</H3>
663 <PRE>
664 public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE>
665 <DL>
666 <DD>For convenience, the BtreeStats class has a toString method
667 that lists all the data fields.
668 <P>
669 <DD><DL>
670 <DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL>
671 </DD>
672 <DD><DL>
673 </DL>
674 </DD>
675 </DL>
676 <!-- ========= END OF CLASS DATA ========= -->
677 <HR>
678
679
680 <!-- ======= START OF BOTTOM NAVBAR ====== -->
681 <A NAME="navbar_bottom"><!-- --></A>
682 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
683 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
684 <TR>
685 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
686 <A NAME="navbar_bottom_firstrow"><!-- --></A>
687 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
688 <TR ALIGN="center" VALIGN="top">
689 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
690 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
691 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
692 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BtreeStats.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
693 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
694 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
695 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
696 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
697 </TR>
698 </TABLE>
699 </TD>
700 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
701 <b>Berkeley DB</b><br><font size="-1"> version 5.3.28</font></EM>
702 </TD>
703 </TR>
704
705 <TR>
706 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
707 &nbsp;<A HREF="../../../com/sleepycat/db/BtreePrefixCalculator.html" title="interface in com.sleepycat.db"><B>PREV CLASS</B></A>&nbsp;
708 &nbsp;<A HREF="../../../com/sleepycat/db/CacheFile.html" title="class in com.sleepycat.db"><B>NEXT CLASS</B></A></FONT></TD>
709 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
710 <A HREF="../../../index.html?com/sleepycat/db/BtreeStats.html" target="_top"><B>FRAMES</B></A> &nbsp;
711 &nbsp;<A HREF="BtreeStats.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
712 &nbsp;<SCRIPT type="text/javascript">
713 <!--
714 if(window==top) {
715 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
716 }
717 //-->
718 </SCRIPT>
719 <NOSCRIPT>
720 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
721 </NOSCRIPT>
722
723
724 </FONT></TD>
725 </TR>
726 <TR>
727 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
728 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
729 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
730 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
731 </TR>
732 </TABLE>
733 <A NAME="skip-navbar_bottom"></A>
734 <!-- ======== END OF BOTTOM NAVBAR ======= -->
735
736 <HR>
737 <font size=1>Copyright (c) 1996, 2013 Oracle and/or its affiliates. All rights reserved.</font>
738 </BODY>
739 </HTML>