<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_75) on Fri May 13 13:32:18 PDT 2016 --> <title>StoreConfig (Oracle - Berkeley DB Java API)</title> <meta name="date" content="2016-05-13"> <link rel="stylesheet" type="text/css" href="../../../style.css" title="Style"> </head> <body> <script type="text/javascript"><!-- if (location.href.indexOf('is-external=true') == -1) { parent.document.title="StoreConfig (Oracle - Berkeley DB Java API)"; } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar_top"> <!-- --> </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/StoreConfig.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../index-all.html">Index</a></li> <li><a href="../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage"><em><b>Berkeley DB</b><br><font size="-1"> version 6.1.29</font></em></div> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../com/sleepycat/persist/SecondaryIndex.html" title="class in com.sleepycat.persist"><span class="strong">Prev Class</span></a></li> <li><a href="../../../com/sleepycat/persist/StoreConfigBeanInfo.html" title="class in com.sleepycat.persist"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../index.html?com/sleepycat/persist/StoreConfig.html" target="_top">Frames</a></li> <li><a href="StoreConfig.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li>Nested | </li> <li><a href="#field_summary">Field</a> | </li> <li><a href="#constructor_summary">Constr</a> | </li> <li><a href="#method_summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li><a href="#field_detail">Field</a> | </li> <li><a href="#constructor_detail">Constr</a> | </li> <li><a href="#method_detail">Method</a></li> </ul> </div> <a name="skip-navbar_top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <!-- ======== START OF CLASS DATA ======== --> <div class="header"> <div class="subTitle">com.sleepycat.persist</div> <h2 title="Class StoreConfig" class="title">Class StoreConfig</h2> </div> <div class="contentContainer"> <ul class="inheritance"> <li>java.lang.Object</li> <li> <ul class="inheritance"> <li>com.sleepycat.persist.StoreConfig</li> </ul> </li> </ul> <div class="description"> <ul class="blockList"> <li class="blockList"> <dl> <dt>All Implemented Interfaces:</dt> <dd>java.lang.Cloneable</dd> </dl> <hr> <br> <pre>public class <span class="strong">StoreConfig</span> extends java.lang.Object implements java.lang.Cloneable</pre> <div class="block">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>. <p><code>StoreConfig</code> objects are thread-safe. Multiple threads may safely call the methods of a shared <code>StoreConfig</code> object.</p> <p>See the <a href="package-summary.html#example">package summary example</a> for an example of using a <code>StoreConfig</code>.</p></div> </li> </ul> </div> <div class="summary"> <ul class="blockList"> <li class="blockList"> <!-- =========== FIELD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="field_summary"> <!-- --> </a> <h3>Field Summary</h3> <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> <caption><span>Fields</span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Field and Description</th> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</a></code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/persist/StoreConfig.html#DEFAULT">DEFAULT</a></strong></code> <div class="block">The default store configuration containing properties as if the configuration were constructed and not modified.</div> </td> </tr> </table> </li> </ul> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor_summary"> <!-- --> </a> <h3>Constructor Summary</h3> <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> <caption><span>Constructors</span><span class="tabEnd"> </span></caption> <tr> <th class="colOne" scope="col">Constructor and Description</th> </tr> <tr class="altColor"> <td class="colOne"><code><strong><a href="../../../com/sleepycat/persist/StoreConfig.html#StoreConfig()">StoreConfig</a></strong>()</code> <div class="block">Creates an entity store configuration object with default properties.</div> </td> </tr> </table> </li> </ul> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="method_summary"> <!-- --> </a> <h3>Method Summary</h3> <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> <caption><span>Methods</span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</a></code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/persist/StoreConfig.html#clone()">clone</a></strong>()</code> <div class="block">Returns a shallow copy of the configuration.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</a></code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/persist/StoreConfig.html#cloneConfig()">cloneConfig</a></strong>()</code> <div class="block"><strong>Deprecated.</strong> <div class="block"><i>As of JE 4.0.13, replaced by <a href="../../../com/sleepycat/persist/StoreConfig.html#clone()"><code>clone()</code></a>.</p></i></div> </div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/persist/StoreConfig.html#getAllowCreate()">getAllowCreate</a></strong>()</code> <div class="block">Returns whether creation of a new store is allowed.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../com/sleepycat/persist/DatabaseNamer.html" title="interface in com.sleepycat.persist">DatabaseNamer</a></code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/persist/StoreConfig.html#getDatabaseNamer()">getDatabaseNamer</a></strong>()</code> <div class="block">Returns the object reponsible for naming of files and databases.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/persist/StoreConfig.html#getExclusiveCreate()">getExclusiveCreate</a></strong>()</code> <div class="block">Returns whether opening an existing store is prohibited.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../com/sleepycat/persist/model/EntityModel.html" title="class in com.sleepycat.persist.model">EntityModel</a></code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/persist/StoreConfig.html#getModel()">getModel</a></strong>()</code> <div class="block">Returns the entity model that defines entity classes and index keys.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../com/sleepycat/persist/evolve/Mutations.html" title="class in com.sleepycat.persist.evolve">Mutations</a></code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/persist/StoreConfig.html#getMutations()">getMutations</a></strong>()</code> <div class="block">Returns the configured mutations for performing lazy evolution of stored instances.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/persist/StoreConfig.html#getReadOnly()">getReadOnly</a></strong>()</code> <div class="block">Returns the read-only configuration property.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/persist/StoreConfig.html#getSecondaryBulkLoad()">getSecondaryBulkLoad</a></strong>()</code> <div class="block">Returns the bulk-load-secondaries configuration property.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/persist/StoreConfig.html#getTransactional()">getTransactional</a></strong>()</code> <div class="block">Returns the transactional configuration property.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</a></code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/persist/StoreConfig.html#setAllowCreate(boolean)">setAllowCreate</a></strong>(boolean allowCreate)</code> <div class="block">Specifies whether creation of a new store is allowed.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/persist/StoreConfig.html#setAllowCreateVoid(boolean)">setAllowCreateVoid</a></strong>(boolean allowCreate)</code> <div class="block">The void return setter for use by Bean editors.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</a></code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/persist/StoreConfig.html#setDatabaseNamer(com.sleepycat.persist.DatabaseNamer)">setDatabaseNamer</a></strong>(<a href="../../../com/sleepycat/persist/DatabaseNamer.html" title="interface in com.sleepycat.persist">DatabaseNamer</a> databaseNamer)</code> <div class="block">Specifies the object reponsible for naming of files and databases.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/persist/StoreConfig.html#setDatabaseNamerVoid(com.sleepycat.persist.DatabaseNamer)">setDatabaseNamerVoid</a></strong>(<a href="../../../com/sleepycat/persist/DatabaseNamer.html" title="interface in com.sleepycat.persist">DatabaseNamer</a> databaseNamer)</code> <div class="block">The void return setter for use by Bean editors.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</a></code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/persist/StoreConfig.html#setExclusiveCreate(boolean)">setExclusiveCreate</a></strong>(boolean exclusiveCreate)</code> <div class="block">Specifies whether opening an existing store is prohibited.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/persist/StoreConfig.html#setExclusiveCreateVoid(boolean)">setExclusiveCreateVoid</a></strong>(boolean exclusiveCreate)</code> <div class="block">The void return setter for use by Bean editors.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</a></code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/persist/StoreConfig.html#setModel(com.sleepycat.persist.model.EntityModel)">setModel</a></strong>(<a href="../../../com/sleepycat/persist/model/EntityModel.html" title="class in com.sleepycat.persist.model">EntityModel</a> model)</code> <div class="block">Sets the entity model that defines entity classes and index keys.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/persist/StoreConfig.html#setModelVoid(com.sleepycat.persist.model.EntityModel)">setModelVoid</a></strong>(<a href="../../../com/sleepycat/persist/model/EntityModel.html" title="class in com.sleepycat.persist.model">EntityModel</a> model)</code> <div class="block">The void return setter for use by Bean editors.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</a></code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/persist/StoreConfig.html#setMutations(com.sleepycat.persist.evolve.Mutations)">setMutations</a></strong>(<a href="../../../com/sleepycat/persist/evolve/Mutations.html" title="class in com.sleepycat.persist.evolve">Mutations</a> mutations)</code> <div class="block">Configures mutations for performing lazy evolution of stored instances.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/persist/StoreConfig.html#setMutationsVoid(com.sleepycat.persist.evolve.Mutations)">setMutationsVoid</a></strong>(<a href="../../../com/sleepycat/persist/evolve/Mutations.html" title="class in com.sleepycat.persist.evolve">Mutations</a> mutations)</code> <div class="block">The void return setter for use by Bean editors.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</a></code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/persist/StoreConfig.html#setReadOnly(boolean)">setReadOnly</a></strong>(boolean readOnly)</code> <div class="block">Sets the read-only configuration property.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/persist/StoreConfig.html#setReadOnlyVoid(boolean)">setReadOnlyVoid</a></strong>(boolean readOnly)</code> <div class="block">The void return setter for use by Bean editors.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</a></code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/persist/StoreConfig.html#setSecondaryBulkLoad(boolean)">setSecondaryBulkLoad</a></strong>(boolean secondaryBulkLoad)</code> <div class="block">Sets the bulk-load-secondaries configuration property.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/persist/StoreConfig.html#setSecondaryBulkLoadVoid(boolean)">setSecondaryBulkLoadVoid</a></strong>(boolean secondaryBulkLoad)</code> <div class="block">The void return setter for use by Bean editors.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</a></code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/persist/StoreConfig.html#setTransactional(boolean)">setTransactional</a></strong>(boolean transactional)</code> <div class="block">Sets the transactional configuration property.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/persist/StoreConfig.html#setTransactionalVoid(boolean)">setTransactionalVoid</a></strong>(boolean transactional)</code> <div class="block">The void return setter for use by Bean editors.</div> </td> </tr> </table> <ul class="blockList"> <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> <!-- --> </a> <h3>Methods inherited from class java.lang.Object</h3> <code>equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> </ul> </li> </ul> </li> </ul> </div> <div class="details"> <ul class="blockList"> <li class="blockList"> <!-- ============ FIELD DETAIL =========== --> <ul class="blockList"> <li class="blockList"><a name="field_detail"> <!-- --> </a> <h3>Field Detail</h3> <a name="DEFAULT"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>DEFAULT</h4> <pre>public static final <a href="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</a> DEFAULT</pre> <div class="block">The default store configuration containing properties as if the configuration were constructed and not modified.</div> </li> </ul> </li> </ul> <!-- ========= CONSTRUCTOR DETAIL ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor_detail"> <!-- --> </a> <h3>Constructor Detail</h3> <a name="StoreConfig()"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>StoreConfig</h4> <pre>public StoreConfig()</pre> <div class="block">Creates an entity store configuration object with default properties.</div> </li> </ul> </li> </ul> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> <li class="blockList"><a name="method_detail"> <!-- --> </a> <h3>Method Detail</h3> <a name="cloneConfig()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>cloneConfig</h4> <pre>public <a href="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</a> cloneConfig()</pre> <div class="block"><span class="strong">Deprecated.</span> <i>As of JE 4.0.13, replaced by <a href="../../../com/sleepycat/persist/StoreConfig.html#clone()"><code>clone()</code></a>.</p></i></div> <div class="block">Returns a shallow copy of the configuration.</div> </li> </ul> <a name="clone()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>clone</h4> <pre>public <a href="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</a> clone()</pre> <div class="block">Returns a shallow copy of the configuration.</div> <dl> <dt><strong>Overrides:</strong></dt> <dd><code>clone</code> in class <code>java.lang.Object</code></dd> </dl> </li> </ul> <a name="setAllowCreate(boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setAllowCreate</h4> <pre>public <a href="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</a> setAllowCreate(boolean allowCreate)</pre> <div class="block">Specifies whether creation of a new store is allowed. By default this property is false. <p>If this property is false and the internal store metadata database 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 is opened.</p></div> </li> </ul> <a name="setAllowCreateVoid(boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setAllowCreateVoid</h4> <pre>public void setAllowCreateVoid(boolean allowCreate)</pre> <div class="block">The void return setter for use by Bean editors.</div> </li> </ul> <a name="getAllowCreate()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getAllowCreate</h4> <pre>public boolean getAllowCreate()</pre> <div class="block">Returns whether creation of a new store is allowed.</div> </li> </ul> <a name="setExclusiveCreate(boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setExclusiveCreate</h4> <pre>public <a href="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</a> setExclusiveCreate(boolean exclusiveCreate)</pre> <div class="block">Specifies whether opening an existing store is prohibited. By default this property is false. <p>If this property is true and the internal store metadata database 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 is opened.</p></div> </li> </ul> <a name="setExclusiveCreateVoid(boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setExclusiveCreateVoid</h4> <pre>public void setExclusiveCreateVoid(boolean exclusiveCreate)</pre> <div class="block">The void return setter for use by Bean editors.</div> </li> </ul> <a name="getExclusiveCreate()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getExclusiveCreate</h4> <pre>public boolean getExclusiveCreate()</pre> <div class="block">Returns whether opening an existing store is prohibited.</div> </li> </ul> <a name="setTransactional(boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setTransactional</h4> <pre>public <a href="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</a> setTransactional(boolean transactional)</pre> <div class="block">Sets the transactional configuration property. By default this property is false. <p>This property is true to open all store indices for transactional access. True may not be specified if the environment is not also transactional.</p></div> </li> </ul> <a name="setTransactionalVoid(boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setTransactionalVoid</h4> <pre>public void setTransactionalVoid(boolean transactional)</pre> <div class="block">The void return setter for use by Bean editors.</div> </li> </ul> <a name="getTransactional()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getTransactional</h4> <pre>public boolean getTransactional()</pre> <div class="block">Returns the transactional configuration property.</div> </li> </ul> <a name="setReadOnly(boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setReadOnly</h4> <pre>public <a href="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</a> setReadOnly(boolean readOnly)</pre> <div class="block">Sets the read-only configuration property. By default this property is false. <p>This property is true to open all store indices for read-only access, or false to open them for read-write access. False may not be specified if the environment is read-only.</p></div> </li> </ul> <a name="setReadOnlyVoid(boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setReadOnlyVoid</h4> <pre>public void setReadOnlyVoid(boolean readOnly)</pre> <div class="block">The void return setter for use by Bean editors.</div> </li> </ul> <a name="getReadOnly()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getReadOnly</h4> <pre>public boolean getReadOnly()</pre> <div class="block">Returns the read-only configuration property.</div> </li> </ul> <a name="setSecondaryBulkLoad(boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setSecondaryBulkLoad</h4> <pre>public <a href="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</a> setSecondaryBulkLoad(boolean secondaryBulkLoad)</pre> <div class="block">Sets the bulk-load-secondaries configuration property. By default this property is false. <p>This property is true to cause the initial creation of secondary indices to be performed as a bulk load. If this property is true and <a href="../../../com/sleepycat/persist/EntityStore.html#getSecondaryIndex(com.sleepycat.persist.PrimaryIndex,%20java.lang.Class,%20java.lang.String)"><code>EntityStore.getSecondaryIndex</code></a> has never been called for a secondary index, that secondary index will not be created or written as records are written to the primary index. In addition, if that secondary index defines a foreign key constraint, the constraint will not be enforced.</p> <p>The secondary index will be populated later when the <code>getSecondaryIndex</code> method is called for the first time for that index, or when the store is closed and re-opened with this property set to false and the primary index is obtained. In either case, the secondary index is populated by reading through the entire primary index and adding records to the secondary index as needed. While populating the secondary, foreign key constraints will be enforced and an exception is thrown if a constraint is violated.</p> <p>When loading a primary index along with secondary indexes from a large input data set, configuring a bulk load of the secondary indexes is sometimes more performant than updating the secondary indexes each time the primary index is updated. The absence of foreign key constraints during the load also provides more flexibility.</p></div> </li> </ul> <a name="setSecondaryBulkLoadVoid(boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setSecondaryBulkLoadVoid</h4> <pre>public void setSecondaryBulkLoadVoid(boolean secondaryBulkLoad)</pre> <div class="block">The void return setter for use by Bean editors.</div> </li> </ul> <a name="getSecondaryBulkLoad()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getSecondaryBulkLoad</h4> <pre>public boolean getSecondaryBulkLoad()</pre> <div class="block">Returns the bulk-load-secondaries configuration property.</div> </li> </ul> <a name="setModel(com.sleepycat.persist.model.EntityModel)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setModel</h4> <pre>public <a href="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</a> setModel(<a href="../../../com/sleepycat/persist/model/EntityModel.html" title="class in com.sleepycat.persist.model">EntityModel</a> model)</pre> <div class="block">Sets the entity model that defines entity classes and index keys. <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></div> </li> </ul> <a name="setModelVoid(com.sleepycat.persist.model.EntityModel)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setModelVoid</h4> <pre>public void setModelVoid(<a href="../../../com/sleepycat/persist/model/EntityModel.html" title="class in com.sleepycat.persist.model">EntityModel</a> model)</pre> <div class="block">The void return setter for use by Bean editors.</div> </li> </ul> <a name="getModel()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getModel</h4> <pre>public <a href="../../../com/sleepycat/persist/model/EntityModel.html" title="class in com.sleepycat.persist.model">EntityModel</a> getModel()</pre> <div class="block">Returns the entity model that defines entity classes and index keys.</div> </li> </ul> <a name="setMutations(com.sleepycat.persist.evolve.Mutations)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setMutations</h4> <pre>public <a href="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</a> setMutations(<a href="../../../com/sleepycat/persist/evolve/Mutations.html" title="class in com.sleepycat.persist.evolve">Mutations</a> mutations)</pre> <div class="block">Configures mutations for performing lazy evolution of stored instances. Existing mutations for this store are not cleared, so the mutations required are only those changes that have been made since the store was last opened. Some new mutations may override existing specifications, and some may be supplemental. <p>If null is specified and the store already exists, the previously specified mutations are used. The mutations are stored persistently in serialized form.</p> <p>Mutations must be available to handle all changes to classes that are 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 more information.</p> <p>If an incompatible class change has been made and mutations are not available for handling the change, <a href="../../../com/sleepycat/persist/evolve/IncompatibleClassException.html" title="class in com.sleepycat.persist.evolve"><code>IncompatibleClassException</code></a> will be thrown when creating an <a href="../../../com/sleepycat/persist/EntityStore.html" title="class in com.sleepycat.persist"><code>EntityStore</code></a>.</p></div> </li> </ul> <a name="setMutationsVoid(com.sleepycat.persist.evolve.Mutations)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setMutationsVoid</h4> <pre>public void setMutationsVoid(<a href="../../../com/sleepycat/persist/evolve/Mutations.html" title="class in com.sleepycat.persist.evolve">Mutations</a> mutations)</pre> <div class="block">The void return setter for use by Bean editors.</div> </li> </ul> <a name="getMutations()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getMutations</h4> <pre>public <a href="../../../com/sleepycat/persist/evolve/Mutations.html" title="class in com.sleepycat.persist.evolve">Mutations</a> getMutations()</pre> <div class="block">Returns the configured mutations for performing lazy evolution of stored instances.</div> </li> </ul> <a name="setDatabaseNamer(com.sleepycat.persist.DatabaseNamer)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setDatabaseNamer</h4> <pre>public <a href="../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</a> setDatabaseNamer(<a href="../../../com/sleepycat/persist/DatabaseNamer.html" title="interface in com.sleepycat.persist">DatabaseNamer</a> databaseNamer)</pre> <div class="block">Specifies the object reponsible for naming of files and databases. By default this property is <a href="../../../com/sleepycat/persist/DatabaseNamer.html#DEFAULT"><code>DatabaseNamer.DEFAULT</code></a>.</div> <dl><dt><span class="strong">Throws:</span></dt> <dd><code>java.lang.NullPointerException</code> - if a null parameter value is passed.</dd></dl> </li> </ul> <a name="setDatabaseNamerVoid(com.sleepycat.persist.DatabaseNamer)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setDatabaseNamerVoid</h4> <pre>public void setDatabaseNamerVoid(<a href="../../../com/sleepycat/persist/DatabaseNamer.html" title="interface in com.sleepycat.persist">DatabaseNamer</a> databaseNamer)</pre> <div class="block">The void return setter for use by Bean editors.</div> </li> </ul> <a name="getDatabaseNamer()"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>getDatabaseNamer</h4> <pre>public <a href="../../../com/sleepycat/persist/DatabaseNamer.html" title="interface in com.sleepycat.persist">DatabaseNamer</a> getDatabaseNamer()</pre> <div class="block">Returns the object reponsible for naming of files and databases.</div> </li> </ul> </li> </ul> </li> </ul> </div> </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar_bottom"> <!-- --> </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/StoreConfig.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../index-all.html">Index</a></li> <li><a href="../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage"><em><b>Berkeley DB</b><br><font size="-1"> version 6.1.29</font></em></div> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../com/sleepycat/persist/SecondaryIndex.html" title="class in com.sleepycat.persist"><span class="strong">Prev Class</span></a></li> <li><a href="../../../com/sleepycat/persist/StoreConfigBeanInfo.html" title="class in com.sleepycat.persist"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../index.html?com/sleepycat/persist/StoreConfig.html" target="_top">Frames</a></li> <li><a href="StoreConfig.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li>Nested | </li> <li><a href="#field_summary">Field</a> | </li> <li><a href="#constructor_summary">Constr</a> | </li> <li><a href="#method_summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li><a href="#field_detail">Field</a> | </li> <li><a href="#constructor_detail">Constr</a> | </li> <li><a href="#method_detail">Method</a></li> </ul> </div> <a name="skip-navbar_bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> <p class="legalCopy"><small><font size=1>Copyright (c) 1996, 2016 Oracle and/or its affiliates. All rights reserved.</font></small></p> </body> </html>