<!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:15 PDT 2016 --> <title>CursorConfig (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="CursorConfig (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/CursorConfig.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/db/Cursor.html" title="class in com.sleepycat.db"><span class="strong">Prev Class</span></a></li> <li><a href="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../index.html?com/sleepycat/db/CursorConfig.html" target="_top">Frames</a></li> <li><a href="CursorConfig.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.db</div> <h2 title="Class CursorConfig" class="title">Class CursorConfig</h2> </div> <div class="contentContainer"> <ul class="inheritance"> <li>java.lang.Object</li> <li> <ul class="inheritance"> <li>com.sleepycat.db.CursorConfig</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">CursorConfig</span> extends java.lang.Object implements java.lang.Cloneable</pre> <div class="block">Specify the attributes of database cursor. An instance created with the default constructor is initialized with the system's default settings.</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/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</a></code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/db/CursorConfig.html#BULK_CURSOR">BULK_CURSOR</a></strong></code> <div class="block">A convenience instance to specify the database cursor will be used to make bulk changes to the underlying database.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</a></code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/db/CursorConfig.html#DEFAULT">DEFAULT</a></strong></code> <div class="block">Default configuration used if null is passed to methods that create a cursor.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</a></code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/db/CursorConfig.html#DEGREE_2">DEGREE_2</a></strong></code> <div class="block"><strong>Deprecated.</strong> <div class="block"><i>This has been replaced by <a href="../../../com/sleepycat/db/CursorConfig.html#READ_COMMITTED"><code>READ_COMMITTED</code></a> to conform to ANSI database isolation terminology.</i></div> </div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</a></code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/db/CursorConfig.html#DIRTY_READ">DIRTY_READ</a></strong></code> <div class="block"><strong>Deprecated.</strong> <div class="block"><i>This has been replaced by <a href="../../../com/sleepycat/db/CursorConfig.html#READ_UNCOMMITTED"><code>READ_UNCOMMITTED</code></a> to conform to ANSI database isolation terminology.</i></div> </div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</a></code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/db/CursorConfig.html#READ_COMMITTED">READ_COMMITTED</a></strong></code> <div class="block">A convenience instance to configure a cursor for read committed isolation.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</a></code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/db/CursorConfig.html#READ_UNCOMMITTED">READ_UNCOMMITTED</a></strong></code> <div class="block">A convenience instance to configure read operations performed by the cursor to return modified but not yet committed data.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</a></code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/db/CursorConfig.html#SNAPSHOT">SNAPSHOT</a></strong></code> <div class="block">A convenience instance to configure read operations performed by the cursor to return values as they were when the cursor was opened, if <a href="../../../com/sleepycat/db/DatabaseConfig.html#setMultiversion(boolean)"><code>DatabaseConfig.setMultiversion(boolean)</code></a> is configured.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</a></code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/db/CursorConfig.html#WRITECURSOR">WRITECURSOR</a></strong></code> <div class="block">A convenience instance to specify the Concurrent Data Store environment cursor will be used to update the database.</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/db/CursorConfig.html#CursorConfig()">CursorConfig</a></strong>()</code> <div class="block">An instance created using the default constructor is initialized with the system's default settings.</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>boolean</code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/db/CursorConfig.html#getBulkCursor()">getBulkCursor</a></strong>()</code> <div class="block">Return if the cursor will be used to do bulk operations on the underlying database.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/db/CursorConfig.html#getDegree2()">getDegree2</a></strong>()</code> <div class="block"><strong>Deprecated.</strong> <div class="block"><i>This has been replaced by <a href="../../../com/sleepycat/db/CursorConfig.html#getReadCommitted()"><code>getReadCommitted()</code></a> to conform to ANSI database isolation terminology.</i></div> </div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/db/CursorConfig.html#getDirtyRead()">getDirtyRead</a></strong>()</code> <div class="block"><strong>Deprecated.</strong> <div class="block"><i>This has been replaced by <a href="../../../com/sleepycat/db/CursorConfig.html#getReadUncommitted()"><code>getReadUncommitted()</code></a> to conform to ANSI database isolation terminology.</i></div> </div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/db/CursorConfig.html#getReadCommitted()">getReadCommitted</a></strong>()</code> <div class="block">Return if the cursor is configured for read committed isolation.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/db/CursorConfig.html#getReadUncommitted()">getReadUncommitted</a></strong>()</code> <div class="block">Return if read operations performed by the cursor are configured to return modified but not yet committed data.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/db/CursorConfig.html#getSnapshot()">getSnapshot</a></strong>()</code> <div class="block">Return if read operations performed by the cursor are configured to return data as it was when the cursor was opened, without locking.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/db/CursorConfig.html#getWriteCursor()">getWriteCursor</a></strong>()</code> <div class="block">Return if the Concurrent Data Store environment cursor will be used to update the database.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/db/CursorConfig.html#setBulkCursor(boolean)">setBulkCursor</a></strong>(boolean bulkCursor)</code> <div class="block">Specify that the cursor will be used to do bulk operations on the underlying database.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/db/CursorConfig.html#setDegree2(boolean)">setDegree2</a></strong>(boolean degree2)</code> <div class="block"><strong>Deprecated.</strong> <div class="block"><i>This has been replaced by <a href="../../../com/sleepycat/db/CursorConfig.html#setReadCommitted(boolean)"><code>setReadCommitted(boolean)</code></a> to conform to ANSI database isolation terminology.</i></div> </div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/db/CursorConfig.html#setDirtyRead(boolean)">setDirtyRead</a></strong>(boolean dirtyRead)</code> <div class="block"><strong>Deprecated.</strong> <div class="block"><i>This has been replaced by <a href="../../../com/sleepycat/db/CursorConfig.html#setReadUncommitted(boolean)"><code>setReadUncommitted(boolean)</code></a> to conform to ANSI database isolation terminology.</i></div> </div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/db/CursorConfig.html#setReadCommitted(boolean)">setReadCommitted</a></strong>(boolean readCommitted)</code> <div class="block">Configure the cursor for read committed isolation.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/db/CursorConfig.html#setReadUncommitted(boolean)">setReadUncommitted</a></strong>(boolean readUncommitted)</code> <div class="block">Configure read operations performed by the cursor to return modified but not yet committed data.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/db/CursorConfig.html#setSnapshot(boolean)">setSnapshot</a></strong>(boolean snapshot)</code> <div class="block">Configure read operations performed by the cursor to return data as it was when the cursor opened without locking, if <a href="../../../com/sleepycat/db/DatabaseConfig.html#setMultiversion(boolean)"><code>DatabaseConfig.setMultiversion(boolean)</code></a> was configured.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../com/sleepycat/db/CursorConfig.html#setWriteCursor(boolean)">setWriteCursor</a></strong>(boolean writeCursor)</code> <div class="block">Specify the Concurrent Data Store environment cursor will be used to update the database.</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>clone, 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="blockList"> <li class="blockList"> <h4>DEFAULT</h4> <pre>public static final <a href="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</a> DEFAULT</pre> <div class="block">Default configuration used if null is passed to methods that create a cursor.</div> </li> </ul> <a name="BULK_CURSOR"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>BULK_CURSOR</h4> <pre>public static final <a href="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</a> BULK_CURSOR</pre> <div class="block">A convenience instance to specify the database cursor will be used to make bulk changes to the underlying database.</div> </li> </ul> <a name="READ_COMMITTED"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>READ_COMMITTED</h4> <pre>public static final <a href="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</a> READ_COMMITTED</pre> <div class="block">A convenience instance to configure a cursor for read committed isolation. <p> This ensures the stability of the current data item read by the cursor but permits data read by this cursor to be modified or deleted prior to the commit of the transaction.</div> </li> </ul> <a name="READ_UNCOMMITTED"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>READ_UNCOMMITTED</h4> <pre>public static final <a href="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</a> READ_UNCOMMITTED</pre> <div class="block">A convenience instance to configure read operations performed by the cursor to return modified but not yet committed data.</div> </li> </ul> <a name="SNAPSHOT"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>SNAPSHOT</h4> <pre>public static final <a href="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</a> SNAPSHOT</pre> <div class="block">A convenience instance to configure read operations performed by the cursor to return values as they were when the cursor was opened, if <a href="../../../com/sleepycat/db/DatabaseConfig.html#setMultiversion(boolean)"><code>DatabaseConfig.setMultiversion(boolean)</code></a> is configured.</div> </li> </ul> <a name="WRITECURSOR"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>WRITECURSOR</h4> <pre>public static final <a href="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</a> WRITECURSOR</pre> <div class="block">A convenience instance to specify the Concurrent Data Store environment cursor will be used to update the database. <p> The underlying Berkeley DB database environment must have been configured as a Concurrent Data Store environment.</div> </li> </ul> <a name="DIRTY_READ"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>DIRTY_READ</h4> <pre>public static final <a href="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</a> DIRTY_READ</pre> <div class="block"><span class="strong">Deprecated.</span> <i>This has been replaced by <a href="../../../com/sleepycat/db/CursorConfig.html#READ_UNCOMMITTED"><code>READ_UNCOMMITTED</code></a> to conform to ANSI database isolation terminology.</i></div> <div class="block">A convenience instance to configure read operations performed by the cursor to return modified but not yet committed data. <p></div> </li> </ul> <a name="DEGREE_2"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>DEGREE_2</h4> <pre>public static final <a href="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</a> DEGREE_2</pre> <div class="block"><span class="strong">Deprecated.</span> <i>This has been replaced by <a href="../../../com/sleepycat/db/CursorConfig.html#READ_COMMITTED"><code>READ_COMMITTED</code></a> to conform to ANSI database isolation terminology.</i></div> <div class="block">A convenience instance to configure a cursor for read committed isolation. <p> This ensures the stability of the current data item read by the cursor but permits data read by this cursor to be modified or deleted prior to the commit of the transaction. <p></div> </li> </ul> </li> </ul> <!-- ========= CONSTRUCTOR DETAIL ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor_detail"> <!-- --> </a> <h3>Constructor Detail</h3> <a name="CursorConfig()"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>CursorConfig</h4> <pre>public CursorConfig()</pre> <div class="block">An instance created using the default constructor is initialized with the system's default settings.</div> </li> </ul> </li> </ul> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> <li class="blockList"><a name="method_detail"> <!-- --> </a> <h3>Method Detail</h3> <a name="setBulkCursor(boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setBulkCursor</h4> <pre>public void setBulkCursor(boolean bulkCursor)</pre> <div class="block">Specify that the cursor will be used to do bulk operations on the underlying database. <p></div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>bulkCursor</code> - If true, specify the cursor will be used to do bulk operations on the underlying database.</dd></dl> </li> </ul> <a name="getBulkCursor()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getBulkCursor</h4> <pre>public boolean getBulkCursor()</pre> <div class="block">Return if the cursor will be used to do bulk operations on the underlying database. <p></div> <dl><dt><span class="strong">Returns:</span></dt><dd>If the cursor will be used to do bulk operations on the underlying database.</dd></dl> </li> </ul> <a name="setReadCommitted(boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setReadCommitted</h4> <pre>public void setReadCommitted(boolean readCommitted)</pre> <div class="block">Configure the cursor for read committed isolation. <p> This ensures the stability of the current data item read by the cursor but permits data read by this cursor to be modified or deleted prior to the commit of the transaction. <p></div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>readCommitted</code> - If true, configure the cursor for read committed isolation.</dd></dl> </li> </ul> <a name="getReadCommitted()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getReadCommitted</h4> <pre>public boolean getReadCommitted()</pre> <div class="block">Return if the cursor is configured for read committed isolation. <p></div> <dl><dt><span class="strong">Returns:</span></dt><dd>If the cursor is configured for read committed isolation.</dd></dl> </li> </ul> <a name="setDegree2(boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setDegree2</h4> <pre>public void setDegree2(boolean degree2)</pre> <div class="block"><span class="strong">Deprecated.</span> <i>This has been replaced by <a href="../../../com/sleepycat/db/CursorConfig.html#setReadCommitted(boolean)"><code>setReadCommitted(boolean)</code></a> to conform to ANSI database isolation terminology.</i></div> <div class="block">Configure the cursor for read committed isolation. <p> This ensures the stability of the current data item read by the cursor but permits data read by this cursor to be modified or deleted prior to the commit of the transaction. <p></div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>degree2</code> - If true, configure the cursor for read committed isolation. <p></dd></dl> </li> </ul> <a name="getDegree2()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getDegree2</h4> <pre>public boolean getDegree2()</pre> <div class="block"><span class="strong">Deprecated.</span> <i>This has been replaced by <a href="../../../com/sleepycat/db/CursorConfig.html#getReadCommitted()"><code>getReadCommitted()</code></a> to conform to ANSI database isolation terminology.</i></div> <div class="block">Return if the cursor is configured for read committed isolation. <p></div> <dl><dt><span class="strong">Returns:</span></dt><dd>If the cursor is configured for read committed isolation. <p></dd></dl> </li> </ul> <a name="setReadUncommitted(boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setReadUncommitted</h4> <pre>public void setReadUncommitted(boolean readUncommitted)</pre> <div class="block">Configure read operations performed by the cursor to return modified but not yet committed data. <p></div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>readUncommitted</code> - If true, configure read operations performed by the cursor to return modified but not yet committed data.</dd></dl> </li> </ul> <a name="getReadUncommitted()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getReadUncommitted</h4> <pre>public boolean getReadUncommitted()</pre> <div class="block">Return if read operations performed by the cursor are configured to return modified but not yet committed data. <p></div> <dl><dt><span class="strong">Returns:</span></dt><dd>If read operations performed by the cursor are configured to return modified but not yet committed data.</dd></dl> </li> </ul> <a name="setDirtyRead(boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setDirtyRead</h4> <pre>public void setDirtyRead(boolean dirtyRead)</pre> <div class="block"><span class="strong">Deprecated.</span> <i>This has been replaced by <a href="../../../com/sleepycat/db/CursorConfig.html#setReadUncommitted(boolean)"><code>setReadUncommitted(boolean)</code></a> to conform to ANSI database isolation terminology.</i></div> <div class="block">Configure read operations performed by the cursor to return modified but not yet committed data. <p></div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>dirtyRead</code> - If true, configure read operations performed by the cursor to return modified but not yet committed data. <p></dd></dl> </li> </ul> <a name="getDirtyRead()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getDirtyRead</h4> <pre>public boolean getDirtyRead()</pre> <div class="block"><span class="strong">Deprecated.</span> <i>This has been replaced by <a href="../../../com/sleepycat/db/CursorConfig.html#getReadUncommitted()"><code>getReadUncommitted()</code></a> to conform to ANSI database isolation terminology.</i></div> <div class="block">Return if read operations performed by the cursor are configured to return modified but not yet committed data. <p></div> <dl><dt><span class="strong">Returns:</span></dt><dd>If read operations performed by the cursor are configured to return modified but not yet committed data. <p></dd></dl> </li> </ul> <a name="setSnapshot(boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setSnapshot</h4> <pre>public void setSnapshot(boolean snapshot)</pre> <div class="block">Configure read operations performed by the cursor to return data as it was when the cursor opened without locking, if <a href="../../../com/sleepycat/db/DatabaseConfig.html#setMultiversion(boolean)"><code>DatabaseConfig.setMultiversion(boolean)</code></a> was configured. <p></div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>snapshot</code> - If true, configure read operations performed by the cursor to return data as it was when the cursor was opened, without locking.</dd></dl> </li> </ul> <a name="getSnapshot()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getSnapshot</h4> <pre>public boolean getSnapshot()</pre> <div class="block">Return if read operations performed by the cursor are configured to return data as it was when the cursor was opened, without locking. <p></div> <dl><dt><span class="strong">Returns:</span></dt><dd>If read operations performed by the cursor are configured to return data as it was when the cursor was opened.</dd></dl> </li> </ul> <a name="setWriteCursor(boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setWriteCursor</h4> <pre>public void setWriteCursor(boolean writeCursor)</pre> <div class="block">Specify the Concurrent Data Store environment cursor will be used to update the database. <p></div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>writeCursor</code> - If true, specify the Concurrent Data Store environment cursor will be used to update the database.</dd></dl> </li> </ul> <a name="getWriteCursor()"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>getWriteCursor</h4> <pre>public boolean getWriteCursor()</pre> <div class="block">Return if the Concurrent Data Store environment cursor will be used to update the database. <p></div> <dl><dt><span class="strong">Returns:</span></dt><dd>If the Concurrent Data Store environment cursor will be used to update the database.</dd></dl> </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/CursorConfig.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/db/Cursor.html" title="class in com.sleepycat.db"><span class="strong">Prev Class</span></a></li> <li><a href="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../index.html?com/sleepycat/db/CursorConfig.html" target="_top">Frames</a></li> <li><a href="CursorConfig.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>