| 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| 2 |
|
| 3 |
<HTML> |
| 4 |
<HEAD> |
| 5 |
|
| 6 |
<TITLE> |
| 7 |
StoreConfig (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="StoreConfig (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 |
|
| 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> </TD> |
| 41 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| 42 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| 43 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/StoreConfig.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| 44 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| 45 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| 46 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| 47 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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 |
<A HREF="../../../com/sleepycat/persist/SecondaryIndex.html" title="class in com.sleepycat.persist"><B>PREV CLASS</B></A> |
| 59 |
<A HREF="../../../com/sleepycat/persist/StoreConfigBeanInfo.html" title="class in com.sleepycat.persist"><B>NEXT CLASS</B></A></FONT></TD> |
| 60 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 61 |
<A HREF="../../../index.html?com/sleepycat/persist/StoreConfig.html" target="_top"><B>FRAMES</B></A> |
| 62 |
<A HREF="StoreConfig.html" target="_top"><B>NO FRAMES</B></A> |
| 63 |
<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: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 80 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 81 |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| 82 |
</TR> |
| 83 |
</TABLE> |
| 84 |
<A NAME="skip-navbar_top"></A> |
| 85 |
|
| 86 |
|
| 87 |
<HR> |
| 88 |
|
| 89 |
<H2> |
| 90 |
<FONT SIZE="-1"> |
| 91 |
com.sleepycat.persist</FONT> |
| 92 |
<BR> |
| 93 |
Class StoreConfig</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.persist.StoreConfig</B> |
| 97 |
</PRE> |
| 98 |
<DL> |
| 99 |
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</A></DD> |
| 100 |
</DL> |
| 101 |
<HR> |
| 102 |
<DL> |
| 103 |
<DT><PRE>public class <B>StoreConfig</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><DT>implements <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</A></DL> |
| 104 |
</PRE> |
| 105 |
|
| 106 |
<P> |
| 107 |
Configuration properties used with an <A HREF="../../../com/sleepycat/persist/EntityStore.html" title="class in com.sleepycat.persist"><CODE>EntityStore</CODE></A> or <A HREF="../../../com/sleepycat/persist/raw/RawStore.html" title="class in com.sleepycat.persist.raw"><CODE>RawStore</CODE></A>. |
| 108 |
|
| 109 |
<p><code>StoreConfig</code> objects are thread-safe. Multiple threads may safely |
| 110 |
call the methods of a shared <code>StoreConfig</code> object.</p> |
| 111 |
|
| 112 |
<p>See the <a href="package-summary.html#example">package |
| 113 |
summary example</a> for an example of using a <code>StoreConfig</code>.</p> |
| 114 |
<P> |
| 115 |
|
| 116 |
<P> |
| 117 |
<HR> |
| 118 |
|
| 119 |
<P> |
| 120 |
|
| 121 |
|
| 122 |
<A NAME="field_summary"></A> |
| 123 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 124 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 125 |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| 126 |
<B>Field Summary</B></FONT></TH> |
| 127 |
</TR> |
| 128 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 129 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 130 |
<CODE>static <A HREF="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</A></CODE></FONT></TD> |
| 131 |
<TD><CODE><B><A HREF="../../../com/sleepycat/persist/StoreConfig.html#DEFAULT">DEFAULT</A></B></CODE> |
| 132 |
|
| 133 |
<BR> |
| 134 |
The default store configuration containing properties as if the |
| 135 |
configuration were constructed and not modified.</TD> |
| 136 |
</TR> |
| 137 |
</TABLE> |
| 138 |
|
| 139 |
|
| 140 |
|
| 141 |
<A NAME="constructor_summary"></A> |
| 142 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 143 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 144 |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| 145 |
<B>Constructor Summary</B></FONT></TH> |
| 146 |
</TR> |
| 147 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 148 |
<TD><CODE><B><A HREF="../../../com/sleepycat/persist/StoreConfig.html#StoreConfig()">StoreConfig</A></B>()</CODE> |
| 149 |
|
| 150 |
<BR> |
| 151 |
Creates an entity store configuration object with default properties.</TD> |
| 152 |
</TR> |
| 153 |
</TABLE> |
| 154 |
|
| 155 |
|
| 156 |
|
| 157 |
<A NAME="method_summary"></A> |
| 158 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 159 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 160 |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| 161 |
<B>Method Summary</B></FONT></TH> |
| 162 |
</TR> |
| 163 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 164 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 165 |
<CODE> <A HREF="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</A></CODE></FONT></TD> |
| 166 |
<TD><CODE><B><A HREF="../../../com/sleepycat/persist/StoreConfig.html#clone()">clone</A></B>()</CODE> |
| 167 |
|
| 168 |
<BR> |
| 169 |
Returns a shallow copy of the configuration.</TD> |
| 170 |
</TR> |
| 171 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 172 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 173 |
<CODE> <A HREF="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</A></CODE></FONT></TD> |
| 174 |
<TD><CODE><B><A HREF="../../../com/sleepycat/persist/StoreConfig.html#cloneConfig()">cloneConfig</A></B>()</CODE> |
| 175 |
|
| 176 |
<BR> |
| 177 |
<B>Deprecated.</B> <I>As of JE 4.0.13, replaced by <A HREF="../../../com/sleepycat/persist/StoreConfig.html#clone()"><CODE>clone()</CODE></A>.</p></I></TD> |
| 178 |
</TR> |
| 179 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 180 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 181 |
<CODE> boolean</CODE></FONT></TD> |
| 182 |
<TD><CODE><B><A HREF="../../../com/sleepycat/persist/StoreConfig.html#getAllowCreate()">getAllowCreate</A></B>()</CODE> |
| 183 |
|
| 184 |
<BR> |
| 185 |
Returns whether creation of a new store is allowed.</TD> |
| 186 |
</TR> |
| 187 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 188 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 189 |
<CODE> <A HREF="../../../com/sleepycat/persist/DatabaseNamer.html" title="interface in com.sleepycat.persist">DatabaseNamer</A></CODE></FONT></TD> |
| 190 |
<TD><CODE><B><A HREF="../../../com/sleepycat/persist/StoreConfig.html#getDatabaseNamer()">getDatabaseNamer</A></B>()</CODE> |
| 191 |
|
| 192 |
<BR> |
| 193 |
Returns the object reponsible for naming of files and databases.</TD> |
| 194 |
</TR> |
| 195 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 196 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 197 |
<CODE> boolean</CODE></FONT></TD> |
| 198 |
<TD><CODE><B><A HREF="../../../com/sleepycat/persist/StoreConfig.html#getExclusiveCreate()">getExclusiveCreate</A></B>()</CODE> |
| 199 |
|
| 200 |
<BR> |
| 201 |
Returns whether opening an existing store is prohibited.</TD> |
| 202 |
</TR> |
| 203 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 204 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 205 |
<CODE> <A HREF="../../../com/sleepycat/persist/model/EntityModel.html" title="class in com.sleepycat.persist.model">EntityModel</A></CODE></FONT></TD> |
| 206 |
<TD><CODE><B><A HREF="../../../com/sleepycat/persist/StoreConfig.html#getModel()">getModel</A></B>()</CODE> |
| 207 |
|
| 208 |
<BR> |
| 209 |
Returns the entity model that defines entity classes and index keys.</TD> |
| 210 |
</TR> |
| 211 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 212 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 213 |
<CODE> <A HREF="../../../com/sleepycat/persist/evolve/Mutations.html" title="class in com.sleepycat.persist.evolve">Mutations</A></CODE></FONT></TD> |
| 214 |
<TD><CODE><B><A HREF="../../../com/sleepycat/persist/StoreConfig.html#getMutations()">getMutations</A></B>()</CODE> |
| 215 |
|
| 216 |
<BR> |
| 217 |
Returns the configured mutations for performing lazy evolution of stored |
| 218 |
instances.</TD> |
| 219 |
</TR> |
| 220 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 221 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 222 |
<CODE> boolean</CODE></FONT></TD> |
| 223 |
<TD><CODE><B><A HREF="../../../com/sleepycat/persist/StoreConfig.html#getReadOnly()">getReadOnly</A></B>()</CODE> |
| 224 |
|
| 225 |
<BR> |
| 226 |
Returns the read-only configuration property.</TD> |
| 227 |
</TR> |
| 228 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 229 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 230 |
<CODE> boolean</CODE></FONT></TD> |
| 231 |
<TD><CODE><B><A HREF="../../../com/sleepycat/persist/StoreConfig.html#getSecondaryBulkLoad()">getSecondaryBulkLoad</A></B>()</CODE> |
| 232 |
|
| 233 |
<BR> |
| 234 |
Returns the bulk-load-secondaries configuration property.</TD> |
| 235 |
</TR> |
| 236 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 237 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 238 |
<CODE> boolean</CODE></FONT></TD> |
| 239 |
<TD><CODE><B><A HREF="../../../com/sleepycat/persist/StoreConfig.html#getTransactional()">getTransactional</A></B>()</CODE> |
| 240 |
|
| 241 |
<BR> |
| 242 |
Returns the transactional configuration property.</TD> |
| 243 |
</TR> |
| 244 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 245 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 246 |
<CODE> <A HREF="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</A></CODE></FONT></TD> |
| 247 |
<TD><CODE><B><A HREF="../../../com/sleepycat/persist/StoreConfig.html#setAllowCreate(boolean)">setAllowCreate</A></B>(boolean allowCreate)</CODE> |
| 248 |
|
| 249 |
<BR> |
| 250 |
Specifies whether creation of a new store is allowed.</TD> |
| 251 |
</TR> |
| 252 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 253 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 254 |
<CODE> void</CODE></FONT></TD> |
| 255 |
<TD><CODE><B><A HREF="../../../com/sleepycat/persist/StoreConfig.html#setAllowCreateVoid(boolean)">setAllowCreateVoid</A></B>(boolean allowCreate)</CODE> |
| 256 |
|
| 257 |
<BR> |
| 258 |
</TD> |
| 259 |
</TR> |
| 260 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 261 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 262 |
<CODE> <A HREF="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</A></CODE></FONT></TD> |
| 263 |
<TD><CODE><B><A HREF="../../../com/sleepycat/persist/StoreConfig.html#setDatabaseNamer(com.sleepycat.persist.DatabaseNamer)">setDatabaseNamer</A></B>(<A HREF="../../../com/sleepycat/persist/DatabaseNamer.html" title="interface in com.sleepycat.persist">DatabaseNamer</A> databaseNamer)</CODE> |
| 264 |
|
| 265 |
<BR> |
| 266 |
Specifies the object reponsible for naming of files and databases.</TD> |
| 267 |
</TR> |
| 268 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 269 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 270 |
<CODE> void</CODE></FONT></TD> |
| 271 |
<TD><CODE><B><A HREF="../../../com/sleepycat/persist/StoreConfig.html#setDatabaseNamerVoid(com.sleepycat.persist.DatabaseNamer)">setDatabaseNamerVoid</A></B>(<A HREF="../../../com/sleepycat/persist/DatabaseNamer.html" title="interface in com.sleepycat.persist">DatabaseNamer</A> databaseNamer)</CODE> |
| 272 |
|
| 273 |
<BR> |
| 274 |
</TD> |
| 275 |
</TR> |
| 276 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 277 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 278 |
<CODE> <A HREF="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</A></CODE></FONT></TD> |
| 279 |
<TD><CODE><B><A HREF="../../../com/sleepycat/persist/StoreConfig.html#setExclusiveCreate(boolean)">setExclusiveCreate</A></B>(boolean exclusiveCreate)</CODE> |
| 280 |
|
| 281 |
<BR> |
| 282 |
Specifies whether opening an existing store is prohibited.</TD> |
| 283 |
</TR> |
| 284 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 285 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 286 |
<CODE> void</CODE></FONT></TD> |
| 287 |
<TD><CODE><B><A HREF="../../../com/sleepycat/persist/StoreConfig.html#setExclusiveCreateVoid(boolean)">setExclusiveCreateVoid</A></B>(boolean exclusiveCreate)</CODE> |
| 288 |
|
| 289 |
<BR> |
| 290 |
</TD> |
| 291 |
</TR> |
| 292 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 293 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 294 |
<CODE> <A HREF="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</A></CODE></FONT></TD> |
| 295 |
<TD><CODE><B><A HREF="../../../com/sleepycat/persist/StoreConfig.html#setModel(com.sleepycat.persist.model.EntityModel)">setModel</A></B>(<A HREF="../../../com/sleepycat/persist/model/EntityModel.html" title="class in com.sleepycat.persist.model">EntityModel</A> model)</CODE> |
| 296 |
|
| 297 |
<BR> |
| 298 |
Sets the entity model that defines entity classes and index keys.</TD> |
| 299 |
</TR> |
| 300 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 301 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 302 |
<CODE> void</CODE></FONT></TD> |
| 303 |
<TD><CODE><B><A HREF="../../../com/sleepycat/persist/StoreConfig.html#setModelVoid(com.sleepycat.persist.model.EntityModel)">setModelVoid</A></B>(<A HREF="../../../com/sleepycat/persist/model/EntityModel.html" title="class in com.sleepycat.persist.model">EntityModel</A> model)</CODE> |
| 304 |
|
| 305 |
<BR> |
| 306 |
</TD> |
| 307 |
</TR> |
| 308 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 309 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 310 |
<CODE> <A HREF="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</A></CODE></FONT></TD> |
| 311 |
<TD><CODE><B><A HREF="../../../com/sleepycat/persist/StoreConfig.html#setMutations(com.sleepycat.persist.evolve.Mutations)">setMutations</A></B>(<A HREF="../../../com/sleepycat/persist/evolve/Mutations.html" title="class in com.sleepycat.persist.evolve">Mutations</A> mutations)</CODE> |
| 312 |
|
| 313 |
<BR> |
| 314 |
Configures mutations for performing lazy evolution of stored instances.</TD> |
| 315 |
</TR> |
| 316 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 317 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 318 |
<CODE> void</CODE></FONT></TD> |
| 319 |
<TD><CODE><B><A HREF="../../../com/sleepycat/persist/StoreConfig.html#setMutationsVoid(com.sleepycat.persist.evolve.Mutations)">setMutationsVoid</A></B>(<A HREF="../../../com/sleepycat/persist/evolve/Mutations.html" title="class in com.sleepycat.persist.evolve">Mutations</A> mutations)</CODE> |
| 320 |
|
| 321 |
<BR> |
| 322 |
</TD> |
| 323 |
</TR> |
| 324 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 325 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 326 |
<CODE> <A HREF="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</A></CODE></FONT></TD> |
| 327 |
<TD><CODE><B><A HREF="../../../com/sleepycat/persist/StoreConfig.html#setReadOnly(boolean)">setReadOnly</A></B>(boolean readOnly)</CODE> |
| 328 |
|
| 329 |
<BR> |
| 330 |
Sets the read-only configuration property.</TD> |
| 331 |
</TR> |
| 332 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 333 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 334 |
<CODE> void</CODE></FONT></TD> |
| 335 |
<TD><CODE><B><A HREF="../../../com/sleepycat/persist/StoreConfig.html#setReadOnlyVoid(boolean)">setReadOnlyVoid</A></B>(boolean readOnly)</CODE> |
| 336 |
|
| 337 |
<BR> |
| 338 |
</TD> |
| 339 |
</TR> |
| 340 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 341 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 342 |
<CODE> <A HREF="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</A></CODE></FONT></TD> |
| 343 |
<TD><CODE><B><A HREF="../../../com/sleepycat/persist/StoreConfig.html#setSecondaryBulkLoad(boolean)">setSecondaryBulkLoad</A></B>(boolean secondaryBulkLoad)</CODE> |
| 344 |
|
| 345 |
<BR> |
| 346 |
Sets the bulk-load-secondaries configuration property.</TD> |
| 347 |
</TR> |
| 348 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 349 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 350 |
<CODE> void</CODE></FONT></TD> |
| 351 |
<TD><CODE><B><A HREF="../../../com/sleepycat/persist/StoreConfig.html#setSecondaryBulkLoadVoid(boolean)">setSecondaryBulkLoadVoid</A></B>(boolean secondaryBulkLoad)</CODE> |
| 352 |
|
| 353 |
<BR> |
| 354 |
</TD> |
| 355 |
</TR> |
| 356 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 357 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 358 |
<CODE> <A HREF="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</A></CODE></FONT></TD> |
| 359 |
<TD><CODE><B><A HREF="../../../com/sleepycat/persist/StoreConfig.html#setTransactional(boolean)">setTransactional</A></B>(boolean transactional)</CODE> |
| 360 |
|
| 361 |
<BR> |
| 362 |
Sets the transactional configuration property.</TD> |
| 363 |
</TR> |
| 364 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 365 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 366 |
<CODE> void</CODE></FONT></TD> |
| 367 |
<TD><CODE><B><A HREF="../../../com/sleepycat/persist/StoreConfig.html#setTransactionalVoid(boolean)">setTransactionalVoid</A></B>(boolean transactional)</CODE> |
| 368 |
|
| 369 |
<BR> |
| 370 |
</TD> |
| 371 |
</TR> |
| 372 |
</TABLE> |
| 373 |
<A NAME="methods_inherited_from_class_java.lang.Object"></A> |
| 374 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 375 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| 376 |
<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> |
| 377 |
</TR> |
| 378 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 379 |
<TD><CODE><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> |
| 380 |
</TR> |
| 381 |
</TABLE> |
| 382 |
|
| 383 |
<P> |
| 384 |
|
| 385 |
|
| 386 |
|
| 387 |
<A NAME="field_detail"></A> |
| 388 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 389 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 390 |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| 391 |
<B>Field Detail</B></FONT></TH> |
| 392 |
</TR> |
| 393 |
</TABLE> |
| 394 |
|
| 395 |
<A NAME="DEFAULT"></A><H3> |
| 396 |
DEFAULT</H3> |
| 397 |
<PRE> |
| 398 |
public static final <A HREF="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</A> <B>DEFAULT</B></PRE> |
| 399 |
<DL> |
| 400 |
<DD>The default store configuration containing properties as if the |
| 401 |
configuration were constructed and not modified. |
| 402 |
<P> |
| 403 |
<DL> |
| 404 |
</DL> |
| 405 |
</DL> |
| 406 |
|
| 407 |
|
| 408 |
|
| 409 |
<A NAME="constructor_detail"></A> |
| 410 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 411 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 412 |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| 413 |
<B>Constructor Detail</B></FONT></TH> |
| 414 |
</TR> |
| 415 |
</TABLE> |
| 416 |
|
| 417 |
<A NAME="StoreConfig()"></A><H3> |
| 418 |
StoreConfig</H3> |
| 419 |
<PRE> |
| 420 |
public <B>StoreConfig</B>()</PRE> |
| 421 |
<DL> |
| 422 |
<DD>Creates an entity store configuration object with default properties. |
| 423 |
<P> |
| 424 |
</DL> |
| 425 |
|
| 426 |
|
| 427 |
|
| 428 |
<A NAME="method_detail"></A> |
| 429 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 430 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 431 |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| 432 |
<B>Method Detail</B></FONT></TH> |
| 433 |
</TR> |
| 434 |
</TABLE> |
| 435 |
|
| 436 |
<A NAME="cloneConfig()"></A><H3> |
| 437 |
cloneConfig</H3> |
| 438 |
<PRE> |
| 439 |
public <A HREF="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</A> <B>cloneConfig</B>()</PRE> |
| 440 |
<DL> |
| 441 |
<DD><B>Deprecated.</B> <I>As of JE 4.0.13, replaced by <A HREF="../../../com/sleepycat/persist/StoreConfig.html#clone()"><CODE>clone()</CODE></A>.</p></I> |
| 442 |
<P> |
| 443 |
<DD>Returns a shallow copy of the configuration. |
| 444 |
<P> |
| 445 |
<DD><DL> |
| 446 |
</DL> |
| 447 |
</DD> |
| 448 |
<DD><DL> |
| 449 |
</DL> |
| 450 |
</DD> |
| 451 |
</DL> |
| 452 |
<HR> |
| 453 |
|
| 454 |
<A NAME="clone()"></A><H3> |
| 455 |
clone</H3> |
| 456 |
<PRE> |
| 457 |
public <A HREF="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</A> <B>clone</B>()</PRE> |
| 458 |
<DL> |
| 459 |
<DD>Returns a shallow copy of the configuration. |
| 460 |
<P> |
| 461 |
<DD><DL> |
| 462 |
<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#clone()" title="class or interface in java.lang">clone</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> |
| 463 |
</DD> |
| 464 |
<DD><DL> |
| 465 |
</DL> |
| 466 |
</DD> |
| 467 |
</DL> |
| 468 |
<HR> |
| 469 |
|
| 470 |
<A NAME="setAllowCreate(boolean)"></A><H3> |
| 471 |
setAllowCreate</H3> |
| 472 |
<PRE> |
| 473 |
public <A HREF="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</A> <B>setAllowCreate</B>(boolean allowCreate)</PRE> |
| 474 |
<DL> |
| 475 |
<DD>Specifies whether creation of a new store is allowed. By default this |
| 476 |
property is false. |
| 477 |
|
| 478 |
<p>If this property is false and the internal store metadata database |
| 479 |
does not exist, <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db"><CODE>DatabaseException</CODE></A> will be thrown when the store |
| 480 |
is opened.</p> |
| 481 |
<P> |
| 482 |
<DD><DL> |
| 483 |
</DL> |
| 484 |
</DD> |
| 485 |
<DD><DL> |
| 486 |
</DL> |
| 487 |
</DD> |
| 488 |
</DL> |
| 489 |
<HR> |
| 490 |
|
| 491 |
<A NAME="setAllowCreateVoid(boolean)"></A><H3> |
| 492 |
setAllowCreateVoid</H3> |
| 493 |
<PRE> |
| 494 |
public void <B>setAllowCreateVoid</B>(boolean allowCreate)</PRE> |
| 495 |
<DL> |
| 496 |
<DD><DL> |
| 497 |
</DL> |
| 498 |
</DD> |
| 499 |
<DD><DL> |
| 500 |
</DL> |
| 501 |
</DD> |
| 502 |
</DL> |
| 503 |
<HR> |
| 504 |
|
| 505 |
<A NAME="getAllowCreate()"></A><H3> |
| 506 |
getAllowCreate</H3> |
| 507 |
<PRE> |
| 508 |
public boolean <B>getAllowCreate</B>()</PRE> |
| 509 |
<DL> |
| 510 |
<DD>Returns whether creation of a new store is allowed. |
| 511 |
<P> |
| 512 |
<DD><DL> |
| 513 |
</DL> |
| 514 |
</DD> |
| 515 |
<DD><DL> |
| 516 |
</DL> |
| 517 |
</DD> |
| 518 |
</DL> |
| 519 |
<HR> |
| 520 |
|
| 521 |
<A NAME="setExclusiveCreate(boolean)"></A><H3> |
| 522 |
setExclusiveCreate</H3> |
| 523 |
<PRE> |
| 524 |
public <A HREF="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</A> <B>setExclusiveCreate</B>(boolean exclusiveCreate)</PRE> |
| 525 |
<DL> |
| 526 |
<DD>Specifies whether opening an existing store is prohibited. By default |
| 527 |
this property is false. |
| 528 |
|
| 529 |
<p>If this property is true and the internal store metadata database |
| 530 |
already exists, <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db"><CODE>DatabaseException</CODE></A> will be thrown when the store |
| 531 |
is opened.</p> |
| 532 |
<P> |
| 533 |
<DD><DL> |
| 534 |
</DL> |
| 535 |
</DD> |
| 536 |
<DD><DL> |
| 537 |
</DL> |
| 538 |
</DD> |
| 539 |
</DL> |
| 540 |
<HR> |
| 541 |
|
| 542 |
<A NAME="setExclusiveCreateVoid(boolean)"></A><H3> |
| 543 |
setExclusiveCreateVoid</H3> |
| 544 |
<PRE> |
| 545 |
public void <B>setExclusiveCreateVoid</B>(boolean exclusiveCreate)</PRE> |
| 546 |
<DL> |
| 547 |
<DD><DL> |
| 548 |
</DL> |
| 549 |
</DD> |
| 550 |
<DD><DL> |
| 551 |
</DL> |
| 552 |
</DD> |
| 553 |
</DL> |
| 554 |
<HR> |
| 555 |
|
| 556 |
<A NAME="getExclusiveCreate()"></A><H3> |
| 557 |
getExclusiveCreate</H3> |
| 558 |
<PRE> |
| 559 |
public boolean <B>getExclusiveCreate</B>()</PRE> |
| 560 |
<DL> |
| 561 |
<DD>Returns whether opening an existing store is prohibited. |
| 562 |
<P> |
| 563 |
<DD><DL> |
| 564 |
</DL> |
| 565 |
</DD> |
| 566 |
<DD><DL> |
| 567 |
</DL> |
| 568 |
</DD> |
| 569 |
</DL> |
| 570 |
<HR> |
| 571 |
|
| 572 |
<A NAME="setTransactional(boolean)"></A><H3> |
| 573 |
setTransactional</H3> |
| 574 |
<PRE> |
| 575 |
public <A HREF="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</A> <B>setTransactional</B>(boolean transactional)</PRE> |
| 576 |
<DL> |
| 577 |
<DD>Sets the transactional configuration property. By default this property |
| 578 |
is false. |
| 579 |
|
| 580 |
<p>This property is true to open all store indices for transactional |
| 581 |
access. True may not be specified if the environment is not also |
| 582 |
transactional.</p> |
| 583 |
<P> |
| 584 |
<DD><DL> |
| 585 |
</DL> |
| 586 |
</DD> |
| 587 |
<DD><DL> |
| 588 |
</DL> |
| 589 |
</DD> |
| 590 |
</DL> |
| 591 |
<HR> |
| 592 |
|
| 593 |
<A NAME="setTransactionalVoid(boolean)"></A><H3> |
| 594 |
setTransactionalVoid</H3> |
| 595 |
<PRE> |
| 596 |
public void <B>setTransactionalVoid</B>(boolean transactional)</PRE> |
| 597 |
<DL> |
| 598 |
<DD><DL> |
| 599 |
</DL> |
| 600 |
</DD> |
| 601 |
<DD><DL> |
| 602 |
</DL> |
| 603 |
</DD> |
| 604 |
</DL> |
| 605 |
<HR> |
| 606 |
|
| 607 |
<A NAME="getTransactional()"></A><H3> |
| 608 |
getTransactional</H3> |
| 609 |
<PRE> |
| 610 |
public boolean <B>getTransactional</B>()</PRE> |
| 611 |
<DL> |
| 612 |
<DD>Returns the transactional configuration property. |
| 613 |
<P> |
| 614 |
<DD><DL> |
| 615 |
</DL> |
| 616 |
</DD> |
| 617 |
<DD><DL> |
| 618 |
</DL> |
| 619 |
</DD> |
| 620 |
</DL> |
| 621 |
<HR> |
| 622 |
|
| 623 |
<A NAME="setReadOnly(boolean)"></A><H3> |
| 624 |
setReadOnly</H3> |
| 625 |
<PRE> |
| 626 |
public <A HREF="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</A> <B>setReadOnly</B>(boolean readOnly)</PRE> |
| 627 |
<DL> |
| 628 |
<DD>Sets the read-only configuration property. By default this property is |
| 629 |
false. |
| 630 |
|
| 631 |
<p>This property is true to open all store indices for read-only access, |
| 632 |
or false to open them for read-write access. False may not be specified |
| 633 |
if the environment is read-only.</p> |
| 634 |
<P> |
| 635 |
<DD><DL> |
| 636 |
</DL> |
| 637 |
</DD> |
| 638 |
<DD><DL> |
| 639 |
</DL> |
| 640 |
</DD> |
| 641 |
</DL> |
| 642 |
<HR> |
| 643 |
|
| 644 |
<A NAME="setReadOnlyVoid(boolean)"></A><H3> |
| 645 |
setReadOnlyVoid</H3> |
| 646 |
<PRE> |
| 647 |
public void <B>setReadOnlyVoid</B>(boolean readOnly)</PRE> |
| 648 |
<DL> |
| 649 |
<DD><DL> |
| 650 |
</DL> |
| 651 |
</DD> |
| 652 |
<DD><DL> |
| 653 |
</DL> |
| 654 |
</DD> |
| 655 |
</DL> |
| 656 |
<HR> |
| 657 |
|
| 658 |
<A NAME="getReadOnly()"></A><H3> |
| 659 |
getReadOnly</H3> |
| 660 |
<PRE> |
| 661 |
public boolean <B>getReadOnly</B>()</PRE> |
| 662 |
<DL> |
| 663 |
<DD>Returns the read-only configuration property. |
| 664 |
<P> |
| 665 |
<DD><DL> |
| 666 |
</DL> |
| 667 |
</DD> |
| 668 |
<DD><DL> |
| 669 |
</DL> |
| 670 |
</DD> |
| 671 |
</DL> |
| 672 |
<HR> |
| 673 |
|
| 674 |
<A NAME="setSecondaryBulkLoad(boolean)"></A><H3> |
| 675 |
setSecondaryBulkLoad</H3> |
| 676 |
<PRE> |
| 677 |
public <A HREF="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</A> <B>setSecondaryBulkLoad</B>(boolean secondaryBulkLoad)</PRE> |
| 678 |
<DL> |
| 679 |
<DD>Sets the bulk-load-secondaries configuration property. By default this |
| 680 |
property is false. |
| 681 |
|
| 682 |
<p>This property is true to cause the initial creation of secondary |
| 683 |
indices to be performed as a bulk load. If this property is true and |
| 684 |
<A HREF="../../../com/sleepycat/persist/EntityStore.html#getSecondaryIndex(com.sleepycat.persist.PrimaryIndex, java.lang.Class, java.lang.String)"><CODE>EntityStore.getSecondaryIndex</CODE></A> has |
| 685 |
never been called for a secondary index, that secondary index will not |
| 686 |
be created or written as records are written to the primary index. In |
| 687 |
addition, if that secondary index defines a foreign key constraint, the |
| 688 |
constraint will not be enforced.</p> |
| 689 |
|
| 690 |
<p>The secondary index will be populated later when the <code>getSecondaryIndex</code> method is called for the first time for that index, |
| 691 |
or when the store is closed and re-opened with this property set to |
| 692 |
false and the primary index is obtained. In either case, the secondary |
| 693 |
index is populated by reading through the entire primary index and |
| 694 |
adding records to the secondary index as needed. While populating the |
| 695 |
secondary, foreign key constraints will be enforced and an exception is |
| 696 |
thrown if a constraint is violated.</p> |
| 697 |
|
| 698 |
<p>When loading a primary index along with secondary indexes from a |
| 699 |
large input data set, configuring a bulk load of the secondary indexes |
| 700 |
is sometimes more performant than updating the secondary indexes each |
| 701 |
time the primary index is updated. The absence of foreign key |
| 702 |
constraints during the load also provides more flexibility.</p> |
| 703 |
<P> |
| 704 |
<DD><DL> |
| 705 |
</DL> |
| 706 |
</DD> |
| 707 |
<DD><DL> |
| 708 |
</DL> |
| 709 |
</DD> |
| 710 |
</DL> |
| 711 |
<HR> |
| 712 |
|
| 713 |
<A NAME="setSecondaryBulkLoadVoid(boolean)"></A><H3> |
| 714 |
setSecondaryBulkLoadVoid</H3> |
| 715 |
<PRE> |
| 716 |
public void <B>setSecondaryBulkLoadVoid</B>(boolean secondaryBulkLoad)</PRE> |
| 717 |
<DL> |
| 718 |
<DD><DL> |
| 719 |
</DL> |
| 720 |
</DD> |
| 721 |
<DD><DL> |
| 722 |
</DL> |
| 723 |
</DD> |
| 724 |
</DL> |
| 725 |
<HR> |
| 726 |
|
| 727 |
<A NAME="getSecondaryBulkLoad()"></A><H3> |
| 728 |
getSecondaryBulkLoad</H3> |
| 729 |
<PRE> |
| 730 |
public boolean <B>getSecondaryBulkLoad</B>()</PRE> |
| 731 |
<DL> |
| 732 |
<DD>Returns the bulk-load-secondaries configuration property. |
| 733 |
<P> |
| 734 |
<DD><DL> |
| 735 |
</DL> |
| 736 |
</DD> |
| 737 |
<DD><DL> |
| 738 |
</DL> |
| 739 |
</DD> |
| 740 |
</DL> |
| 741 |
<HR> |
| 742 |
|
| 743 |
<A NAME="setModel(com.sleepycat.persist.model.EntityModel)"></A><H3> |
| 744 |
setModel</H3> |
| 745 |
<PRE> |
| 746 |
public <A HREF="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</A> <B>setModel</B>(<A HREF="../../../com/sleepycat/persist/model/EntityModel.html" title="class in com.sleepycat.persist.model">EntityModel</A> model)</PRE> |
| 747 |
<DL> |
| 748 |
<DD>Sets the entity model that defines entity classes and index keys. |
| 749 |
|
| 750 |
<p>If null is specified or this method is not called, an <A HREF="../../../com/sleepycat/persist/model/AnnotationModel.html" title="class in com.sleepycat.persist.model"><CODE>AnnotationModel</CODE></A> instance is used by default.</p> |
| 751 |
<P> |
| 752 |
<DD><DL> |
| 753 |
</DL> |
| 754 |
</DD> |
| 755 |
<DD><DL> |
| 756 |
</DL> |
| 757 |
</DD> |
| 758 |
</DL> |
| 759 |
<HR> |
| 760 |
|
| 761 |
<A NAME="setModelVoid(com.sleepycat.persist.model.EntityModel)"></A><H3> |
| 762 |
setModelVoid</H3> |
| 763 |
<PRE> |
| 764 |
public void <B>setModelVoid</B>(<A HREF="../../../com/sleepycat/persist/model/EntityModel.html" title="class in com.sleepycat.persist.model">EntityModel</A> model)</PRE> |
| 765 |
<DL> |
| 766 |
<DD><DL> |
| 767 |
</DL> |
| 768 |
</DD> |
| 769 |
<DD><DL> |
| 770 |
</DL> |
| 771 |
</DD> |
| 772 |
</DL> |
| 773 |
<HR> |
| 774 |
|
| 775 |
<A NAME="getModel()"></A><H3> |
| 776 |
getModel</H3> |
| 777 |
<PRE> |
| 778 |
public <A HREF="../../../com/sleepycat/persist/model/EntityModel.html" title="class in com.sleepycat.persist.model">EntityModel</A> <B>getModel</B>()</PRE> |
| 779 |
<DL> |
| 780 |
<DD>Returns the entity model that defines entity classes and index keys. |
| 781 |
<P> |
| 782 |
<DD><DL> |
| 783 |
</DL> |
| 784 |
</DD> |
| 785 |
<DD><DL> |
| 786 |
</DL> |
| 787 |
</DD> |
| 788 |
</DL> |
| 789 |
<HR> |
| 790 |
|
| 791 |
<A NAME="setMutations(com.sleepycat.persist.evolve.Mutations)"></A><H3> |
| 792 |
setMutations</H3> |
| 793 |
<PRE> |
| 794 |
public <A HREF="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</A> <B>setMutations</B>(<A HREF="../../../com/sleepycat/persist/evolve/Mutations.html" title="class in com.sleepycat.persist.evolve">Mutations</A> mutations)</PRE> |
| 795 |
<DL> |
| 796 |
<DD>Configures mutations for performing lazy evolution of stored instances. |
| 797 |
Existing mutations for this store are not cleared, so the mutations |
| 798 |
required are only those changes that have been made since the store was |
| 799 |
last opened. Some new mutations may override existing specifications, |
| 800 |
and some may be supplemental. |
| 801 |
|
| 802 |
<p>If null is specified and the store already exists, the previously |
| 803 |
specified mutations are used. The mutations are stored persistently in |
| 804 |
serialized form.</p> |
| 805 |
|
| 806 |
<p>Mutations must be available to handle all changes to classes that are |
| 807 |
incompatible with the class definitions known to this store. See <A HREF="../../../com/sleepycat/persist/evolve/Mutations.html" title="class in com.sleepycat.persist.evolve"><CODE>Mutations</CODE></A> and <A HREF="../../../com/sleepycat/persist/evolve/package-summary.html"><CODE>Class Evolution</CODE></A> for |
| 808 |
more information.</p> |
| 809 |
|
| 810 |
<p>If an incompatible class change has been made and mutations are not |
| 811 |
available for handling the change, <A HREF="../../../com/sleepycat/persist/evolve/IncompatibleClassException.html" title="class in com.sleepycat.persist.evolve"><CODE>IncompatibleClassException</CODE></A> |
| 812 |
will be thrown when creating an <A HREF="../../../com/sleepycat/persist/EntityStore.html" title="class in com.sleepycat.persist"><CODE>EntityStore</CODE></A>.</p> |
| 813 |
<P> |
| 814 |
<DD><DL> |
| 815 |
</DL> |
| 816 |
</DD> |
| 817 |
<DD><DL> |
| 818 |
</DL> |
| 819 |
</DD> |
| 820 |
</DL> |
| 821 |
<HR> |
| 822 |
|
| 823 |
<A NAME="setMutationsVoid(com.sleepycat.persist.evolve.Mutations)"></A><H3> |
| 824 |
setMutationsVoid</H3> |
| 825 |
<PRE> |
| 826 |
public void <B>setMutationsVoid</B>(<A HREF="../../../com/sleepycat/persist/evolve/Mutations.html" title="class in com.sleepycat.persist.evolve">Mutations</A> mutations)</PRE> |
| 827 |
<DL> |
| 828 |
<DD><DL> |
| 829 |
</DL> |
| 830 |
</DD> |
| 831 |
<DD><DL> |
| 832 |
</DL> |
| 833 |
</DD> |
| 834 |
</DL> |
| 835 |
<HR> |
| 836 |
|
| 837 |
<A NAME="getMutations()"></A><H3> |
| 838 |
getMutations</H3> |
| 839 |
<PRE> |
| 840 |
public <A HREF="../../../com/sleepycat/persist/evolve/Mutations.html" title="class in com.sleepycat.persist.evolve">Mutations</A> <B>getMutations</B>()</PRE> |
| 841 |
<DL> |
| 842 |
<DD>Returns the configured mutations for performing lazy evolution of stored |
| 843 |
instances. |
| 844 |
<P> |
| 845 |
<DD><DL> |
| 846 |
</DL> |
| 847 |
</DD> |
| 848 |
<DD><DL> |
| 849 |
</DL> |
| 850 |
</DD> |
| 851 |
</DL> |
| 852 |
<HR> |
| 853 |
|
| 854 |
<A NAME="setDatabaseNamer(com.sleepycat.persist.DatabaseNamer)"></A><H3> |
| 855 |
setDatabaseNamer</H3> |
| 856 |
<PRE> |
| 857 |
public <A HREF="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</A> <B>setDatabaseNamer</B>(<A HREF="../../../com/sleepycat/persist/DatabaseNamer.html" title="interface in com.sleepycat.persist">DatabaseNamer</A> databaseNamer)</PRE> |
| 858 |
<DL> |
| 859 |
<DD>Specifies the object reponsible for naming of files and databases. |
| 860 |
|
| 861 |
By default this property is <A HREF="../../../com/sleepycat/persist/DatabaseNamer.html#DEFAULT"><CODE>DatabaseNamer.DEFAULT</CODE></A>. |
| 862 |
<P> |
| 863 |
<DD><DL> |
| 864 |
</DL> |
| 865 |
</DD> |
| 866 |
<DD><DL> |
| 867 |
|
| 868 |
<DT><B>Throws:</B> |
| 869 |
<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</A></CODE> - if a null parameter value is passed.</DL> |
| 870 |
</DD> |
| 871 |
</DL> |
| 872 |
<HR> |
| 873 |
|
| 874 |
<A NAME="setDatabaseNamerVoid(com.sleepycat.persist.DatabaseNamer)"></A><H3> |
| 875 |
setDatabaseNamerVoid</H3> |
| 876 |
<PRE> |
| 877 |
public void <B>setDatabaseNamerVoid</B>(<A HREF="../../../com/sleepycat/persist/DatabaseNamer.html" title="interface in com.sleepycat.persist">DatabaseNamer</A> databaseNamer)</PRE> |
| 878 |
<DL> |
| 879 |
<DD><DL> |
| 880 |
</DL> |
| 881 |
</DD> |
| 882 |
<DD><DL> |
| 883 |
</DL> |
| 884 |
</DD> |
| 885 |
</DL> |
| 886 |
<HR> |
| 887 |
|
| 888 |
<A NAME="getDatabaseNamer()"></A><H3> |
| 889 |
getDatabaseNamer</H3> |
| 890 |
<PRE> |
| 891 |
public <A HREF="../../../com/sleepycat/persist/DatabaseNamer.html" title="interface in com.sleepycat.persist">DatabaseNamer</A> <B>getDatabaseNamer</B>()</PRE> |
| 892 |
<DL> |
| 893 |
<DD>Returns the object reponsible for naming of files and databases. |
| 894 |
<P> |
| 895 |
<DD><DL> |
| 896 |
</DL> |
| 897 |
</DD> |
| 898 |
<DD><DL> |
| 899 |
</DL> |
| 900 |
</DD> |
| 901 |
</DL> |
| 902 |
|
| 903 |
<HR> |
| 904 |
|
| 905 |
|
| 906 |
|
| 907 |
<A NAME="navbar_bottom"></A> |
| 908 |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| 909 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| 910 |
<TR> |
| 911 |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| 912 |
<A NAME="navbar_bottom_firstrow"></A> |
| 913 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| 914 |
<TR ALIGN="center" VALIGN="top"> |
| 915 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| 916 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| 917 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| 918 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/StoreConfig.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| 919 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| 920 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| 921 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| 922 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| 923 |
</TR> |
| 924 |
</TABLE> |
| 925 |
</TD> |
| 926 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| 927 |
<b>Berkeley DB</b><br><font size="-1"> version 5.3.28</font></EM> |
| 928 |
</TD> |
| 929 |
</TR> |
| 930 |
|
| 931 |
<TR> |
| 932 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 933 |
<A HREF="../../../com/sleepycat/persist/SecondaryIndex.html" title="class in com.sleepycat.persist"><B>PREV CLASS</B></A> |
| 934 |
<A HREF="../../../com/sleepycat/persist/StoreConfigBeanInfo.html" title="class in com.sleepycat.persist"><B>NEXT CLASS</B></A></FONT></TD> |
| 935 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 936 |
<A HREF="../../../index.html?com/sleepycat/persist/StoreConfig.html" target="_top"><B>FRAMES</B></A> |
| 937 |
<A HREF="StoreConfig.html" target="_top"><B>NO FRAMES</B></A> |
| 938 |
<SCRIPT type="text/javascript"> |
| 939 |
<!-- |
| 940 |
if(window==top) { |
| 941 |
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| 942 |
} |
| 943 |
//--> |
| 944 |
</SCRIPT> |
| 945 |
<NOSCRIPT> |
| 946 |
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> |
| 947 |
</NOSCRIPT> |
| 948 |
|
| 949 |
|
| 950 |
</FONT></TD> |
| 951 |
</TR> |
| 952 |
<TR> |
| 953 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 954 |
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 955 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 956 |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| 957 |
</TR> |
| 958 |
</TABLE> |
| 959 |
<A NAME="skip-navbar_bottom"></A> |
| 960 |
|
| 961 |
|
| 962 |
<HR> |
| 963 |
<font size=1>Copyright (c) 1996, 2013 Oracle and/or its affiliates. All rights reserved.</font> |
| 964 |
</BODY> |
| 965 |
</HTML> |