Debian Codegraph @

docs/java/com/sleepycat/db/VerifyConfig.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:05 EDT 2013 -->
6 <TITLE>
7 VerifyConfig (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="VerifyConfig (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/VerifyConfig.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/VerboseConfig.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A>&nbsp;
59 &nbsp;<A HREF="../../../com/sleepycat/db/VersionMismatchException.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/VerifyConfig.html" target="_top"><B>FRAMES</B></A> &nbsp;
62 &nbsp;<A HREF="VerifyConfig.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;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81 DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&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 VerifyConfig</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 "><B>com.sleepycat.db.VerifyConfig</B>
97 </PRE>
98 <HR>
99 <DL>
100 <DT><PRE>public class <B>VerifyConfig</B><DT>extends <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></DL>
101 </PRE>
102
103 <P>
104 Specifies the attributes of a verification operation.
105 <P>
106
107 <P>
108 <HR>
109
110 <P>
111 <!-- =========== FIELD SUMMARY =========== -->
112
113 <A NAME="field_summary"><!-- --></A>
114 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
115 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
116 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
117 <B>Field Summary</B></FONT></TH>
118 </TR>
119 <TR BGCOLOR="white" CLASS="TableRowColor">
120 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
121 <CODE>static&nbsp;<A HREF="../../../com/sleepycat/db/VerifyConfig.html" title="class in com.sleepycat.db">VerifyConfig</A></CODE></FONT></TD>
122 <TD><CODE><B><A HREF="../../../com/sleepycat/db/VerifyConfig.html#DEFAULT">DEFAULT</A></B></CODE>
123
124 <BR>
125 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default configuration used if null is passed to
126 <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A>.</TD>
127 </TR>
128 </TABLE>
129 &nbsp;
130 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
131
132 <A NAME="constructor_summary"><!-- --></A>
133 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
134 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
135 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
136 <B>Constructor Summary</B></FONT></TH>
137 </TR>
138 <TR BGCOLOR="white" CLASS="TableRowColor">
139 <TD><CODE><B><A HREF="../../../com/sleepycat/db/VerifyConfig.html#VerifyConfig()">VerifyConfig</A></B>()</CODE>
140
141 <BR>
142 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An instance created using the default constructor is initialized
143 with the system's default settings.</TD>
144 </TR>
145 </TABLE>
146 &nbsp;
147 <!-- ========== METHOD SUMMARY =========== -->
148
149 <A NAME="method_summary"><!-- --></A>
150 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
151 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
152 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
153 <B>Method Summary</B></FONT></TH>
154 </TR>
155 <TR BGCOLOR="white" CLASS="TableRowColor">
156 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
157 <CODE>&nbsp;boolean</CODE></FONT></TD>
158 <TD><CODE><B><A HREF="../../../com/sleepycat/db/VerifyConfig.html#getAggressive()">getAggressive</A></B>()</CODE>
159
160 <BR>
161 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return true if the <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A> is configured to output
162 <b>all</b> the key/data pairs in the file that can be found.</TD>
163 </TR>
164 <TR BGCOLOR="white" CLASS="TableRowColor">
165 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
166 <CODE>&nbsp;boolean</CODE></FONT></TD>
167 <TD><CODE><B><A HREF="../../../com/sleepycat/db/VerifyConfig.html#getNoOrderCheck()">getNoOrderCheck</A></B>()</CODE>
168
169 <BR>
170 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return true if the <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A> is configured to skip the
171 database checks for btree and duplicate sort order and for hashing.</TD>
172 </TR>
173 <TR BGCOLOR="white" CLASS="TableRowColor">
174 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
175 <CODE>&nbsp;boolean</CODE></FONT></TD>
176 <TD><CODE><B><A HREF="../../../com/sleepycat/db/VerifyConfig.html#getOrderCheckOnly()">getOrderCheckOnly</A></B>()</CODE>
177
178 <BR>
179 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return true if the <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A> is configured to do database
180 checks for btree and duplicate sort order and for hashing, skipped
181 by verification operations configured by <A HREF="../../../com/sleepycat/db/VerifyConfig.html#setNoOrderCheck(boolean)"><CODE>VerifyConfig.setNoOrderCheck</CODE></A>.</TD>
182 </TR>
183 <TR BGCOLOR="white" CLASS="TableRowColor">
184 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
185 <CODE>&nbsp;boolean</CODE></FONT></TD>
186 <TD><CODE><B><A HREF="../../../com/sleepycat/db/VerifyConfig.html#getPrintable()">getPrintable</A></B>()</CODE>
187
188 <BR>
189 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return true if the <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A> is configured to use printing
190 characters to where possible.</TD>
191 </TR>
192 <TR BGCOLOR="white" CLASS="TableRowColor">
193 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
194 <CODE>&nbsp;boolean</CODE></FONT></TD>
195 <TD><CODE><B><A HREF="../../../com/sleepycat/db/VerifyConfig.html#getSalvage()">getSalvage</A></B>()</CODE>
196
197 <BR>
198 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return true if the <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A> is configured to write the
199 key/data pairs from all databases in the file to the file stream
200 named by the outfile parameter..</TD>
201 </TR>
202 <TR BGCOLOR="white" CLASS="TableRowColor">
203 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
204 <CODE>&nbsp;void</CODE></FONT></TD>
205 <TD><CODE><B><A HREF="../../../com/sleepycat/db/VerifyConfig.html#setAggressive(boolean)">setAggressive</A></B>(boolean&nbsp;aggressive)</CODE>
206
207 <BR>
208 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Configure <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A> to output <b>all</b> the
209 key/data pairs in the file that can be found.</TD>
210 </TR>
211 <TR BGCOLOR="white" CLASS="TableRowColor">
212 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
213 <CODE>&nbsp;void</CODE></FONT></TD>
214 <TD><CODE><B><A HREF="../../../com/sleepycat/db/VerifyConfig.html#setNoOrderCheck(boolean)">setNoOrderCheck</A></B>(boolean&nbsp;noOrderCheck)</CODE>
215
216 <BR>
217 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Configure <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A> to skip the database checks for
218 btree and duplicate sort order and for hashing.</TD>
219 </TR>
220 <TR BGCOLOR="white" CLASS="TableRowColor">
221 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
222 <CODE>&nbsp;void</CODE></FONT></TD>
223 <TD><CODE><B><A HREF="../../../com/sleepycat/db/VerifyConfig.html#setOrderCheckOnly(boolean)">setOrderCheckOnly</A></B>(boolean&nbsp;orderCheckOnly)</CODE>
224
225 <BR>
226 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Configure <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A> to do database checks for btree
227 and duplicate sort order and for hashing, skipped by verification
228 operations configured by <A HREF="../../../com/sleepycat/db/VerifyConfig.html#setNoOrderCheck(boolean)"><CODE>VerifyConfig.setNoOrderCheck</CODE></A>.</TD>
229 </TR>
230 <TR BGCOLOR="white" CLASS="TableRowColor">
231 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
232 <CODE>&nbsp;void</CODE></FONT></TD>
233 <TD><CODE><B><A HREF="../../../com/sleepycat/db/VerifyConfig.html#setPrintable(boolean)">setPrintable</A></B>(boolean&nbsp;printable)</CODE>
234
235 <BR>
236 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Configure <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A> to use printing characters to
237 where possible.</TD>
238 </TR>
239 <TR BGCOLOR="white" CLASS="TableRowColor">
240 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
241 <CODE>&nbsp;void</CODE></FONT></TD>
242 <TD><CODE><B><A HREF="../../../com/sleepycat/db/VerifyConfig.html#setSalvage(boolean)">setSalvage</A></B>(boolean&nbsp;salvage)</CODE>
243
244 <BR>
245 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Configure <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A> to write the key/data pairs from
246 all databases in the file to the file stream named by the outfile
247 parameter.</TD>
248 </TR>
249 </TABLE>
250 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
251 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
252 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
253 <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>
254 </TR>
255 <TR BGCOLOR="white" CLASS="TableRowColor">
256 <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#toString()" title="class or interface in java.lang">toString</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>
257 </TR>
258 </TABLE>
259 &nbsp;
260 <P>
261
262 <!-- ============ FIELD DETAIL =========== -->
263
264 <A NAME="field_detail"><!-- --></A>
265 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
266 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
267 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
268 <B>Field Detail</B></FONT></TH>
269 </TR>
270 </TABLE>
271
272 <A NAME="DEFAULT"><!-- --></A><H3>
273 DEFAULT</H3>
274 <PRE>
275 public static final <A HREF="../../../com/sleepycat/db/VerifyConfig.html" title="class in com.sleepycat.db">VerifyConfig</A> <B>DEFAULT</B></PRE>
276 <DL>
277 <DD>Default configuration used if null is passed to
278 <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A>.
279 <P>
280 <DL>
281 </DL>
282 </DL>
283
284 <!-- ========= CONSTRUCTOR DETAIL ======== -->
285
286 <A NAME="constructor_detail"><!-- --></A>
287 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
288 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
289 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
290 <B>Constructor Detail</B></FONT></TH>
291 </TR>
292 </TABLE>
293
294 <A NAME="VerifyConfig()"><!-- --></A><H3>
295 VerifyConfig</H3>
296 <PRE>
297 public <B>VerifyConfig</B>()</PRE>
298 <DL>
299 <DD>An instance created using the default constructor is initialized
300 with the system's default settings.
301 <P>
302 </DL>
303
304 <!-- ============ METHOD DETAIL ========== -->
305
306 <A NAME="method_detail"><!-- --></A>
307 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
308 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
309 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
310 <B>Method Detail</B></FONT></TH>
311 </TR>
312 </TABLE>
313
314 <A NAME="setAggressive(boolean)"><!-- --></A><H3>
315 setAggressive</H3>
316 <PRE>
317 public void <B>setAggressive</B>(boolean&nbsp;aggressive)</PRE>
318 <DL>
319 <DD>Configure <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A> to output <b>all</b> the
320 key/data pairs in the file that can be found.
321 <p>
322 By default, <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A> does not assume corruption.
323 For example, if a key/data pair on a page is marked as deleted, it
324 is not then written to the output file. When <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A> is configured with this method, corruption is assumed, and
325 any key/data pair that can be found is written. In this case,
326 key/data pairs that are corrupted or have been deleted may appear
327 in the output (even if the file being salvaged is in no way
328 corrupt), and the output will almost certainly require editing
329 before being loaded into a database.
330 <p>
331 <P>
332 <DD><DL>
333 <DT><B>Parameters:</B><DD><CODE>aggressive</CODE> - If true, configure <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A> to output <b>all</b>
334 the key/data pairs in the file that can be found.</DL>
335 </DD>
336 </DL>
337 <HR>
338
339 <A NAME="getAggressive()"><!-- --></A><H3>
340 getAggressive</H3>
341 <PRE>
342 public boolean <B>getAggressive</B>()</PRE>
343 <DL>
344 <DD>Return true if the <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A> is configured to output
345 <b>all</b> the key/data pairs in the file that can be found.
346 <p>
347 This method may be called at any time during the life of the application.
348 <p>
349 <P>
350 <DD><DL>
351
352 <DT><B>Returns:</B><DD>True if the <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A> is configured to output
353 <b>all</b> the key/data pairs in the file that can be found.</DL>
354 </DD>
355 </DL>
356 <HR>
357
358 <A NAME="setNoOrderCheck(boolean)"><!-- --></A><H3>
359 setNoOrderCheck</H3>
360 <PRE>
361 public void <B>setNoOrderCheck</B>(boolean&nbsp;noOrderCheck)</PRE>
362 <DL>
363 <DD>Configure <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A> to skip the database checks for
364 btree and duplicate sort order and for hashing.
365 <p>
366 <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A> normally verifies that btree keys and
367 duplicate items are correctly sorted, and hash keys are correctly
368 hashed. If the file being verified contains multiple databases
369 using differing sorting or hashing algorithms, some of them must
370 necessarily fail database verification because only one sort order
371 or hash function can be specified before <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A>
372 is called. To verify files with multiple databases having differing
373 sorting orders or hashing functions, first perform verification of
374 the file as a whole using <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A> configured with
375 <A HREF="../../../com/sleepycat/db/VerifyConfig.html#setNoOrderCheck(boolean)"><CODE>VerifyConfig.setNoOrderCheck</CODE></A>, and then individually verify
376 the sort order and hashing function for each database in the file
377 using 4_link(Database, verify) configured with <A HREF="../../../com/sleepycat/db/VerifyConfig.html#setOrderCheckOnly(boolean)"><CODE>VerifyConfig.setOrderCheckOnly</CODE></A>.
378 <p>
379 <P>
380 <DD><DL>
381 <DT><B>Parameters:</B><DD><CODE>noOrderCheck</CODE> - If true, configure <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A> to skip the database
382 checks for btree and duplicate sort order and for hashing.</DL>
383 </DD>
384 </DL>
385 <HR>
386
387 <A NAME="getNoOrderCheck()"><!-- --></A><H3>
388 getNoOrderCheck</H3>
389 <PRE>
390 public boolean <B>getNoOrderCheck</B>()</PRE>
391 <DL>
392 <DD>Return true if the <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A> is configured to skip the
393 database checks for btree and duplicate sort order and for hashing.
394 <p>
395 This method may be called at any time during the life of the application.
396 <p>
397 <P>
398 <DD><DL>
399
400 <DT><B>Returns:</B><DD>True if the <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A> is configured to skip the
401 database checks for btree and duplicate sort order and for hashing.</DL>
402 </DD>
403 </DL>
404 <HR>
405
406 <A NAME="setOrderCheckOnly(boolean)"><!-- --></A><H3>
407 setOrderCheckOnly</H3>
408 <PRE>
409 public void <B>setOrderCheckOnly</B>(boolean&nbsp;orderCheckOnly)</PRE>
410 <DL>
411 <DD>Configure <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A> to do database checks for btree
412 and duplicate sort order and for hashing, skipped by verification
413 operations configured by <A HREF="../../../com/sleepycat/db/VerifyConfig.html#setNoOrderCheck(boolean)"><CODE>VerifyConfig.setNoOrderCheck</CODE></A>.
414 <p>
415 When this flag is specified, a database name must be specified to
416 <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A>, indicating the database in the physical
417 file which is to be checked.
418 <p>
419 This configuration is only safe to use on databases that have
420 already successfully been verified with <A HREF="../../../com/sleepycat/db/VerifyConfig.html#setNoOrderCheck(boolean)"><CODE>VerifyConfig.setNoOrderCheck</CODE></A> configured.
421 <p>
422 <P>
423 <DD><DL>
424 <DT><B>Parameters:</B><DD><CODE>orderCheckOnly</CODE> - If true, configure <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A> to do database checks
425 for btree and duplicate sort order and for hashing, skipped by
426 verification operations configured by <A HREF="../../../com/sleepycat/db/VerifyConfig.html#setNoOrderCheck(boolean)"><CODE>VerifyConfig.setNoOrderCheck</CODE></A>.</DL>
427 </DD>
428 </DL>
429 <HR>
430
431 <A NAME="getOrderCheckOnly()"><!-- --></A><H3>
432 getOrderCheckOnly</H3>
433 <PRE>
434 public boolean <B>getOrderCheckOnly</B>()</PRE>
435 <DL>
436 <DD>Return true if the <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A> is configured to do database
437 checks for btree and duplicate sort order and for hashing, skipped
438 by verification operations configured by <A HREF="../../../com/sleepycat/db/VerifyConfig.html#setNoOrderCheck(boolean)"><CODE>VerifyConfig.setNoOrderCheck</CODE></A>.
439 <p>
440 This method may be called at any time during the life of the application.
441 <p>
442 <P>
443 <DD><DL>
444
445 <DT><B>Returns:</B><DD>True if the <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A> is configured to do database
446 checks for btree and duplicate sort order and for hashing, skipped
447 by verification operations configured by <A HREF="../../../com/sleepycat/db/VerifyConfig.html#setNoOrderCheck(boolean)"><CODE>VerifyConfig.setNoOrderCheck</CODE></A>.</DL>
448 </DD>
449 </DL>
450 <HR>
451
452 <A NAME="setPrintable(boolean)"><!-- --></A><H3>
453 setPrintable</H3>
454 <PRE>
455 public void <B>setPrintable</B>(boolean&nbsp;printable)</PRE>
456 <DL>
457 <DD>Configure <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A> to use printing characters to
458 where possible.
459 <p>
460 This method is only meaningful when combined with
461 <A HREF="../../../com/sleepycat/db/VerifyConfig.html#setSalvage(boolean)"><CODE>VerifyConfig.setSalvage</CODE></A>.
462 <p>
463 This configuration permits users to use standard text editors and
464 tools to modify the contents of databases or selectively remove data
465 from salvager output.
466 <p>
467 Note: different systems may have different notions about what characters
468 are considered <em>printing characters</em>, and databases dumped in
469 this manner may be less portable to external systems.
470 <p>
471 <P>
472 <DD><DL>
473 <DT><B>Parameters:</B><DD><CODE>printable</CODE> - If true, configure <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A> to use printing
474 characters to where possible.</DL>
475 </DD>
476 </DL>
477 <HR>
478
479 <A NAME="getPrintable()"><!-- --></A><H3>
480 getPrintable</H3>
481 <PRE>
482 public boolean <B>getPrintable</B>()</PRE>
483 <DL>
484 <DD>Return true if the <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A> is configured to use printing
485 characters to where possible.
486 <p>
487 This method may be called at any time during the life of the application.
488 <p>
489 <P>
490 <DD><DL>
491
492 <DT><B>Returns:</B><DD>True if the <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A> is configured to use printing
493 characters to where possible.</DL>
494 </DD>
495 </DL>
496 <HR>
497
498 <A NAME="setSalvage(boolean)"><!-- --></A><H3>
499 setSalvage</H3>
500 <PRE>
501 public void <B>setSalvage</B>(boolean&nbsp;salvage)</PRE>
502 <DL>
503 <DD>Configure <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A> to write the key/data pairs from
504 all databases in the file to the file stream named by the outfile
505 parameter.
506 <p>
507 The output format is the same as that specified for the db_dump
508 utility, and can be used as input for the db_load utility.
509 <p>
510 Because the key/data pairs are output in page order as opposed to the
511 sort order used by db_dump, using <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A> to dump
512 key/data pairs normally produces less than optimal loads for Btree
513 databases.
514 <p>
515 <P>
516 <DD><DL>
517 <DT><B>Parameters:</B><DD><CODE>salvage</CODE> - If true, configure <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A> to write the key/data
518 pairs from all databases in the file to the file stream named by the
519 outfile parameter.</DL>
520 </DD>
521 </DL>
522 <HR>
523
524 <A NAME="getSalvage()"><!-- --></A><H3>
525 getSalvage</H3>
526 <PRE>
527 public boolean <B>getSalvage</B>()</PRE>
528 <DL>
529 <DD>Return true if the <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A> is configured to write the
530 key/data pairs from all databases in the file to the file stream
531 named by the outfile parameter..
532 <p>
533 This method may be called at any time during the life of the application.
534 <p>
535 <P>
536 <DD><DL>
537
538 <DT><B>Returns:</B><DD>True if the <A HREF="../../../com/sleepycat/db/Database.html#verify(java.lang.String, java.lang.String, java.io.PrintStream, com.sleepycat.db.VerifyConfig, com.sleepycat.db.DatabaseConfig)"><CODE>Database.verify</CODE></A> is configured to write the
539 key/data pairs from all databases in the file to the file stream
540 named by the outfile parameter..</DL>
541 </DD>
542 </DL>
543 <!-- ========= END OF CLASS DATA ========= -->
544 <HR>
545
546
547 <!-- ======= START OF BOTTOM NAVBAR ====== -->
548 <A NAME="navbar_bottom"><!-- --></A>
549 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
550 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
551 <TR>
552 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
553 <A NAME="navbar_bottom_firstrow"><!-- --></A>
554 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
555 <TR ALIGN="center" VALIGN="top">
556 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
557 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
558 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
559 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/VerifyConfig.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
560 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
561 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
562 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
563 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
564 </TR>
565 </TABLE>
566 </TD>
567 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
568 <b>Berkeley DB</b><br><font size="-1"> version 5.3.28</font></EM>
569 </TD>
570 </TR>
571
572 <TR>
573 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
574 &nbsp;<A HREF="../../../com/sleepycat/db/VerboseConfig.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A>&nbsp;
575 &nbsp;<A HREF="../../../com/sleepycat/db/VersionMismatchException.html" title="class in com.sleepycat.db"><B>NEXT CLASS</B></A></FONT></TD>
576 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
577 <A HREF="../../../index.html?com/sleepycat/db/VerifyConfig.html" target="_top"><B>FRAMES</B></A> &nbsp;
578 &nbsp;<A HREF="VerifyConfig.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
579 &nbsp;<SCRIPT type="text/javascript">
580 <!--
581 if(window==top) {
582 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
583 }
584 //-->
585 </SCRIPT>
586 <NOSCRIPT>
587 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
588 </NOSCRIPT>
589
590
591 </FONT></TD>
592 </TR>
593 <TR>
594 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
595 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
596 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
597 DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
598 </TR>
599 </TABLE>
600 <A NAME="skip-navbar_bottom"></A>
601 <!-- ======== END OF BOTTOM NAVBAR ======= -->
602
603 <HR>
604 <font size=1>Copyright (c) 1996, 2013 Oracle and/or its affiliates. All rights reserved.</font>
605 </BODY>
606 </HTML>