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