| 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 |
CursorConfig (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="CursorConfig (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/CursorConfig.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/db/Cursor.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A> |
| 59 |
<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><B>NEXT CLASS</B></A></FONT></TD> |
| 60 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 61 |
<A HREF="../../../index.html?com/sleepycat/db/CursorConfig.html" target="_top"><B>FRAMES</B></A> |
| 62 |
<A HREF="CursorConfig.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.db</FONT> |
| 92 |
<BR> |
| 93 |
Class CursorConfig</H2> |
| 94 |
<PRE> |
| 95 |
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> |
| 96 |
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.sleepycat.db.CursorConfig</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>CursorConfig</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 |
Specify the attributes of database cursor. An instance created with the |
| 108 |
default constructor is initialized with the system's default settings. |
| 109 |
<P> |
| 110 |
|
| 111 |
<P> |
| 112 |
<HR> |
| 113 |
|
| 114 |
<P> |
| 115 |
|
| 116 |
|
| 117 |
<A NAME="field_summary"></A> |
| 118 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 119 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 120 |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| 121 |
<B>Field Summary</B></FONT></TH> |
| 122 |
</TR> |
| 123 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 124 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 125 |
<CODE>static <A HREF="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</A></CODE></FONT></TD> |
| 126 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#BULK_CURSOR">BULK_CURSOR</A></B></CODE> |
| 127 |
|
| 128 |
<BR> |
| 129 |
A convenience instance to specify the database cursor will be used to make |
| 130 |
bulk changes to the underlying database.</TD> |
| 131 |
</TR> |
| 132 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 133 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 134 |
<CODE>static <A HREF="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</A></CODE></FONT></TD> |
| 135 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#DEFAULT">DEFAULT</A></B></CODE> |
| 136 |
|
| 137 |
<BR> |
| 138 |
Default configuration used if null is passed to methods that create a |
| 139 |
cursor.</TD> |
| 140 |
</TR> |
| 141 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 142 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 143 |
<CODE>static <A HREF="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</A></CODE></FONT></TD> |
| 144 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#DEGREE_2">DEGREE_2</A></B></CODE> |
| 145 |
|
| 146 |
<BR> |
| 147 |
<B>Deprecated.</B> <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></TD> |
| 148 |
</TR> |
| 149 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 150 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 151 |
<CODE>static <A HREF="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</A></CODE></FONT></TD> |
| 152 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#DIRTY_READ">DIRTY_READ</A></B></CODE> |
| 153 |
|
| 154 |
<BR> |
| 155 |
<B>Deprecated.</B> <I>This has been replaced by <A HREF="../../../com/sleepycat/db/CursorConfig.html#READ_UNCOMMITTED"><CODE>READ_UNCOMMITTED</CODE></A> to conform to ANSI |
| 156 |
database isolation terminology.</I></TD> |
| 157 |
</TR> |
| 158 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 159 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 160 |
<CODE>static <A HREF="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</A></CODE></FONT></TD> |
| 161 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#READ_COMMITTED">READ_COMMITTED</A></B></CODE> |
| 162 |
|
| 163 |
<BR> |
| 164 |
A convenience instance to configure a cursor for read committed isolation.</TD> |
| 165 |
</TR> |
| 166 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 167 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 168 |
<CODE>static <A HREF="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</A></CODE></FONT></TD> |
| 169 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#READ_UNCOMMITTED">READ_UNCOMMITTED</A></B></CODE> |
| 170 |
|
| 171 |
<BR> |
| 172 |
A convenience instance to configure read operations performed by the |
| 173 |
cursor to return modified but not yet committed data.</TD> |
| 174 |
</TR> |
| 175 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 176 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 177 |
<CODE>static <A HREF="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</A></CODE></FONT></TD> |
| 178 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#SNAPSHOT">SNAPSHOT</A></B></CODE> |
| 179 |
|
| 180 |
<BR> |
| 181 |
A convenience instance to configure read operations performed by the |
| 182 |
cursor to return values as they were when the cursor was opened, if |
| 183 |
<A HREF="../../../com/sleepycat/db/DatabaseConfig.html#setMultiversion(boolean)"><CODE>DatabaseConfig.setMultiversion(boolean)</CODE></A> is configured.</TD> |
| 184 |
</TR> |
| 185 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 186 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 187 |
<CODE>static <A HREF="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</A></CODE></FONT></TD> |
| 188 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#WRITECURSOR">WRITECURSOR</A></B></CODE> |
| 189 |
|
| 190 |
<BR> |
| 191 |
A convenience instance to specify the Concurrent Data Store environment |
| 192 |
cursor will be used to update the database.</TD> |
| 193 |
</TR> |
| 194 |
</TABLE> |
| 195 |
|
| 196 |
|
| 197 |
|
| 198 |
<A NAME="constructor_summary"></A> |
| 199 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 200 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 201 |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| 202 |
<B>Constructor Summary</B></FONT></TH> |
| 203 |
</TR> |
| 204 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 205 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#CursorConfig()">CursorConfig</A></B>()</CODE> |
| 206 |
|
| 207 |
<BR> |
| 208 |
An instance created using the default constructor is initialized with |
| 209 |
the system's default settings.</TD> |
| 210 |
</TR> |
| 211 |
</TABLE> |
| 212 |
|
| 213 |
|
| 214 |
|
| 215 |
<A NAME="method_summary"></A> |
| 216 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 217 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 218 |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| 219 |
<B>Method Summary</B></FONT></TH> |
| 220 |
</TR> |
| 221 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 222 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 223 |
<CODE> boolean</CODE></FONT></TD> |
| 224 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#getBulkCursor()">getBulkCursor</A></B>()</CODE> |
| 225 |
|
| 226 |
<BR> |
| 227 |
Return if the cursor will be used to do bulk operations on the underlying |
| 228 |
database.</TD> |
| 229 |
</TR> |
| 230 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 231 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 232 |
<CODE> boolean</CODE></FONT></TD> |
| 233 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#getDegree2()">getDegree2</A></B>()</CODE> |
| 234 |
|
| 235 |
<BR> |
| 236 |
<B>Deprecated.</B> <I>This has been replaced by <A HREF="../../../com/sleepycat/db/CursorConfig.html#getReadCommitted()"><CODE>getReadCommitted()</CODE></A> to conform to ANSI |
| 237 |
database isolation terminology.</I></TD> |
| 238 |
</TR> |
| 239 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 240 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 241 |
<CODE> boolean</CODE></FONT></TD> |
| 242 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#getDirtyRead()">getDirtyRead</A></B>()</CODE> |
| 243 |
|
| 244 |
<BR> |
| 245 |
<B>Deprecated.</B> <I>This has been replaced by <A HREF="../../../com/sleepycat/db/CursorConfig.html#getReadUncommitted()"><CODE>getReadUncommitted()</CODE></A> to |
| 246 |
conform to ANSI database isolation terminology.</I></TD> |
| 247 |
</TR> |
| 248 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 249 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 250 |
<CODE> boolean</CODE></FONT></TD> |
| 251 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#getReadCommitted()">getReadCommitted</A></B>()</CODE> |
| 252 |
|
| 253 |
<BR> |
| 254 |
Return if the cursor is configured for read committed isolation.</TD> |
| 255 |
</TR> |
| 256 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 257 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 258 |
<CODE> boolean</CODE></FONT></TD> |
| 259 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#getReadUncommitted()">getReadUncommitted</A></B>()</CODE> |
| 260 |
|
| 261 |
<BR> |
| 262 |
Return if read operations performed by the cursor are configured to |
| 263 |
return modified but not yet committed data.</TD> |
| 264 |
</TR> |
| 265 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 266 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 267 |
<CODE> boolean</CODE></FONT></TD> |
| 268 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#getSnapshot()">getSnapshot</A></B>()</CODE> |
| 269 |
|
| 270 |
<BR> |
| 271 |
Return if read operations performed by the cursor are configured to return |
| 272 |
data as it was when the cursor was opened, without locking.</TD> |
| 273 |
</TR> |
| 274 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 275 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 276 |
<CODE> boolean</CODE></FONT></TD> |
| 277 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#getWriteCursor()">getWriteCursor</A></B>()</CODE> |
| 278 |
|
| 279 |
<BR> |
| 280 |
Return if the Concurrent Data Store environment cursor will be used to |
| 281 |
update the database.</TD> |
| 282 |
</TR> |
| 283 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 284 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 285 |
<CODE> void</CODE></FONT></TD> |
| 286 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#setBulkCursor(boolean)">setBulkCursor</A></B>(boolean bulkCursor)</CODE> |
| 287 |
|
| 288 |
<BR> |
| 289 |
Specify that the cursor will be used to do bulk operations on the |
| 290 |
underlying database.</TD> |
| 291 |
</TR> |
| 292 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 293 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 294 |
<CODE> void</CODE></FONT></TD> |
| 295 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#setDegree2(boolean)">setDegree2</A></B>(boolean degree2)</CODE> |
| 296 |
|
| 297 |
<BR> |
| 298 |
<B>Deprecated.</B> <I>This has been replaced by <A HREF="../../../com/sleepycat/db/CursorConfig.html#setReadCommitted(boolean)"><CODE>setReadCommitted(boolean)</CODE></A> to conform to ANSI |
| 299 |
database isolation terminology.</I></TD> |
| 300 |
</TR> |
| 301 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 302 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 303 |
<CODE> void</CODE></FONT></TD> |
| 304 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#setDirtyRead(boolean)">setDirtyRead</A></B>(boolean dirtyRead)</CODE> |
| 305 |
|
| 306 |
<BR> |
| 307 |
<B>Deprecated.</B> <I>This has been replaced by <A HREF="../../../com/sleepycat/db/CursorConfig.html#setReadUncommitted(boolean)"><CODE>setReadUncommitted(boolean)</CODE></A> to |
| 308 |
conform to ANSI database isolation terminology.</I></TD> |
| 309 |
</TR> |
| 310 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 311 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 312 |
<CODE> void</CODE></FONT></TD> |
| 313 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#setReadCommitted(boolean)">setReadCommitted</A></B>(boolean readCommitted)</CODE> |
| 314 |
|
| 315 |
<BR> |
| 316 |
Configure the cursor for read committed isolation.</TD> |
| 317 |
</TR> |
| 318 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 319 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 320 |
<CODE> void</CODE></FONT></TD> |
| 321 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#setReadUncommitted(boolean)">setReadUncommitted</A></B>(boolean readUncommitted)</CODE> |
| 322 |
|
| 323 |
<BR> |
| 324 |
Configure read operations performed by the cursor to return modified |
| 325 |
but not yet committed data.</TD> |
| 326 |
</TR> |
| 327 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 328 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 329 |
<CODE> void</CODE></FONT></TD> |
| 330 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#setSnapshot(boolean)">setSnapshot</A></B>(boolean snapshot)</CODE> |
| 331 |
|
| 332 |
<BR> |
| 333 |
Configure read operations performed by the cursor to return data as it was |
| 334 |
when the cursor opened without locking, if <A HREF="../../../com/sleepycat/db/DatabaseConfig.html#setMultiversion(boolean)"><CODE>DatabaseConfig.setMultiversion(boolean)</CODE></A> was configured.</TD> |
| 335 |
</TR> |
| 336 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 337 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 338 |
<CODE> void</CODE></FONT></TD> |
| 339 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CursorConfig.html#setWriteCursor(boolean)">setWriteCursor</A></B>(boolean writeCursor)</CODE> |
| 340 |
|
| 341 |
<BR> |
| 342 |
Specify the Concurrent Data Store environment cursor will be used to |
| 343 |
update the database.</TD> |
| 344 |
</TR> |
| 345 |
</TABLE> |
| 346 |
<A NAME="methods_inherited_from_class_java.lang.Object"></A> |
| 347 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 348 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| 349 |
<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> |
| 350 |
</TR> |
| 351 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 352 |
<TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> |
| 353 |
</TR> |
| 354 |
</TABLE> |
| 355 |
|
| 356 |
<P> |
| 357 |
|
| 358 |
|
| 359 |
|
| 360 |
<A NAME="field_detail"></A> |
| 361 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 362 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 363 |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| 364 |
<B>Field Detail</B></FONT></TH> |
| 365 |
</TR> |
| 366 |
</TABLE> |
| 367 |
|
| 368 |
<A NAME="DEFAULT"></A><H3> |
| 369 |
DEFAULT</H3> |
| 370 |
<PRE> |
| 371 |
public static final <A HREF="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</A> <B>DEFAULT</B></PRE> |
| 372 |
<DL> |
| 373 |
<DD>Default configuration used if null is passed to methods that create a |
| 374 |
cursor. |
| 375 |
<P> |
| 376 |
<DL> |
| 377 |
</DL> |
| 378 |
</DL> |
| 379 |
<HR> |
| 380 |
|
| 381 |
<A NAME="BULK_CURSOR"></A><H3> |
| 382 |
BULK_CURSOR</H3> |
| 383 |
<PRE> |
| 384 |
public static final <A HREF="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</A> <B>BULK_CURSOR</B></PRE> |
| 385 |
<DL> |
| 386 |
<DD>A convenience instance to specify the database cursor will be used to make |
| 387 |
bulk changes to the underlying database. |
| 388 |
<P> |
| 389 |
<DL> |
| 390 |
</DL> |
| 391 |
</DL> |
| 392 |
<HR> |
| 393 |
|
| 394 |
<A NAME="READ_COMMITTED"></A><H3> |
| 395 |
READ_COMMITTED</H3> |
| 396 |
<PRE> |
| 397 |
public static final <A HREF="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</A> <B>READ_COMMITTED</B></PRE> |
| 398 |
<DL> |
| 399 |
<DD>A convenience instance to configure a cursor for read committed isolation. |
| 400 |
<p> |
| 401 |
This ensures the stability of the current data item read by the |
| 402 |
cursor but permits data read by this cursor to be modified or |
| 403 |
deleted prior to the commit of the transaction. |
| 404 |
<P> |
| 405 |
<DL> |
| 406 |
</DL> |
| 407 |
</DL> |
| 408 |
<HR> |
| 409 |
|
| 410 |
<A NAME="READ_UNCOMMITTED"></A><H3> |
| 411 |
READ_UNCOMMITTED</H3> |
| 412 |
<PRE> |
| 413 |
public static final <A HREF="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</A> <B>READ_UNCOMMITTED</B></PRE> |
| 414 |
<DL> |
| 415 |
<DD>A convenience instance to configure read operations performed by the |
| 416 |
cursor to return modified but not yet committed data. |
| 417 |
<P> |
| 418 |
<DL> |
| 419 |
</DL> |
| 420 |
</DL> |
| 421 |
<HR> |
| 422 |
|
| 423 |
<A NAME="SNAPSHOT"></A><H3> |
| 424 |
SNAPSHOT</H3> |
| 425 |
<PRE> |
| 426 |
public static final <A HREF="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</A> <B>SNAPSHOT</B></PRE> |
| 427 |
<DL> |
| 428 |
<DD>A convenience instance to configure read operations performed by the |
| 429 |
cursor to return values as they were when the cursor was opened, if |
| 430 |
<A HREF="../../../com/sleepycat/db/DatabaseConfig.html#setMultiversion(boolean)"><CODE>DatabaseConfig.setMultiversion(boolean)</CODE></A> is configured. |
| 431 |
<P> |
| 432 |
<DL> |
| 433 |
</DL> |
| 434 |
</DL> |
| 435 |
<HR> |
| 436 |
|
| 437 |
<A NAME="WRITECURSOR"></A><H3> |
| 438 |
WRITECURSOR</H3> |
| 439 |
<PRE> |
| 440 |
public static final <A HREF="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</A> <B>WRITECURSOR</B></PRE> |
| 441 |
<DL> |
| 442 |
<DD>A convenience instance to specify the Concurrent Data Store environment |
| 443 |
cursor will be used to update the database. |
| 444 |
<p> |
| 445 |
The underlying Berkeley DB database environment must have been |
| 446 |
configured as a Concurrent Data Store environment. |
| 447 |
<P> |
| 448 |
<DL> |
| 449 |
</DL> |
| 450 |
</DL> |
| 451 |
<HR> |
| 452 |
|
| 453 |
<A NAME="DIRTY_READ"></A><H3> |
| 454 |
DIRTY_READ</H3> |
| 455 |
<PRE> |
| 456 |
public static final <A HREF="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</A> <B>DIRTY_READ</B></PRE> |
| 457 |
<DL> |
| 458 |
<DD><B>Deprecated.</B> <I>This has been replaced by <A HREF="../../../com/sleepycat/db/CursorConfig.html#READ_UNCOMMITTED"><CODE>READ_UNCOMMITTED</CODE></A> to conform to ANSI |
| 459 |
database isolation terminology.</I><DD>A convenience instance to configure read operations performed by the |
| 460 |
cursor to return modified but not yet committed data. |
| 461 |
<p> |
| 462 |
<P> |
| 463 |
<DL> |
| 464 |
</DL> |
| 465 |
</DL> |
| 466 |
<HR> |
| 467 |
|
| 468 |
<A NAME="DEGREE_2"></A><H3> |
| 469 |
DEGREE_2</H3> |
| 470 |
<PRE> |
| 471 |
public static final <A HREF="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</A> <B>DEGREE_2</B></PRE> |
| 472 |
<DL> |
| 473 |
<DD><B>Deprecated.</B> <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><DD>A convenience instance to configure a cursor for read committed isolation. |
| 474 |
<p> |
| 475 |
This ensures the stability of the current data item read by the |
| 476 |
cursor but permits data read by this cursor to be modified or |
| 477 |
deleted prior to the commit of the transaction. |
| 478 |
<p> |
| 479 |
<P> |
| 480 |
<DL> |
| 481 |
</DL> |
| 482 |
</DL> |
| 483 |
|
| 484 |
|
| 485 |
|
| 486 |
<A NAME="constructor_detail"></A> |
| 487 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 488 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 489 |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| 490 |
<B>Constructor Detail</B></FONT></TH> |
| 491 |
</TR> |
| 492 |
</TABLE> |
| 493 |
|
| 494 |
<A NAME="CursorConfig()"></A><H3> |
| 495 |
CursorConfig</H3> |
| 496 |
<PRE> |
| 497 |
public <B>CursorConfig</B>()</PRE> |
| 498 |
<DL> |
| 499 |
<DD>An instance created using the default constructor is initialized with |
| 500 |
the system's default settings. |
| 501 |
<P> |
| 502 |
</DL> |
| 503 |
|
| 504 |
|
| 505 |
|
| 506 |
<A NAME="method_detail"></A> |
| 507 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 508 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 509 |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| 510 |
<B>Method Detail</B></FONT></TH> |
| 511 |
</TR> |
| 512 |
</TABLE> |
| 513 |
|
| 514 |
<A NAME="setBulkCursor(boolean)"></A><H3> |
| 515 |
setBulkCursor</H3> |
| 516 |
<PRE> |
| 517 |
public void <B>setBulkCursor</B>(boolean bulkCursor)</PRE> |
| 518 |
<DL> |
| 519 |
<DD>Specify that the cursor will be used to do bulk operations on the |
| 520 |
underlying database. |
| 521 |
<p> |
| 522 |
<P> |
| 523 |
<DD><DL> |
| 524 |
</DL> |
| 525 |
</DD> |
| 526 |
<DD><DL> |
| 527 |
<DT><B>Parameters:</B><DD><CODE>bulkCursor</CODE> - If true, specify the cursor will be used to do bulk operations on the |
| 528 |
underlying database.</DL> |
| 529 |
</DD> |
| 530 |
</DL> |
| 531 |
<HR> |
| 532 |
|
| 533 |
<A NAME="getBulkCursor()"></A><H3> |
| 534 |
getBulkCursor</H3> |
| 535 |
<PRE> |
| 536 |
public boolean <B>getBulkCursor</B>()</PRE> |
| 537 |
<DL> |
| 538 |
<DD>Return if the cursor will be used to do bulk operations on the underlying |
| 539 |
database. |
| 540 |
<p> |
| 541 |
<P> |
| 542 |
<DD><DL> |
| 543 |
</DL> |
| 544 |
</DD> |
| 545 |
<DD><DL> |
| 546 |
|
| 547 |
<DT><B>Returns:</B><DD>If the cursor will be used to do bulk operations on the |
| 548 |
underlying database.</DL> |
| 549 |
</DD> |
| 550 |
</DL> |
| 551 |
<HR> |
| 552 |
|
| 553 |
<A NAME="setReadCommitted(boolean)"></A><H3> |
| 554 |
setReadCommitted</H3> |
| 555 |
<PRE> |
| 556 |
public void <B>setReadCommitted</B>(boolean readCommitted)</PRE> |
| 557 |
<DL> |
| 558 |
<DD>Configure the cursor for read committed isolation. |
| 559 |
<p> |
| 560 |
This ensures the stability of the current data item read by the |
| 561 |
cursor but permits data read by this cursor to be modified or |
| 562 |
deleted prior to the commit of the transaction. |
| 563 |
<p> |
| 564 |
<P> |
| 565 |
<DD><DL> |
| 566 |
</DL> |
| 567 |
</DD> |
| 568 |
<DD><DL> |
| 569 |
<DT><B>Parameters:</B><DD><CODE>readCommitted</CODE> - If true, configure the cursor for read committed isolation.</DL> |
| 570 |
</DD> |
| 571 |
</DL> |
| 572 |
<HR> |
| 573 |
|
| 574 |
<A NAME="getReadCommitted()"></A><H3> |
| 575 |
getReadCommitted</H3> |
| 576 |
<PRE> |
| 577 |
public boolean <B>getReadCommitted</B>()</PRE> |
| 578 |
<DL> |
| 579 |
<DD>Return if the cursor is configured for read committed isolation. |
| 580 |
<p> |
| 581 |
<P> |
| 582 |
<DD><DL> |
| 583 |
</DL> |
| 584 |
</DD> |
| 585 |
<DD><DL> |
| 586 |
|
| 587 |
<DT><B>Returns:</B><DD>If the cursor is configured for read committed isolation.</DL> |
| 588 |
</DD> |
| 589 |
</DL> |
| 590 |
<HR> |
| 591 |
|
| 592 |
<A NAME="setDegree2(boolean)"></A><H3> |
| 593 |
setDegree2</H3> |
| 594 |
<PRE> |
| 595 |
public void <B>setDegree2</B>(boolean degree2)</PRE> |
| 596 |
<DL> |
| 597 |
<DD><B>Deprecated.</B> <I>This has been replaced by <A HREF="../../../com/sleepycat/db/CursorConfig.html#setReadCommitted(boolean)"><CODE>setReadCommitted(boolean)</CODE></A> to conform to ANSI |
| 598 |
database isolation terminology.</I> |
| 599 |
<P> |
| 600 |
<DD>Configure the cursor for read committed isolation. |
| 601 |
<p> |
| 602 |
This ensures the stability of the current data item read by the |
| 603 |
cursor but permits data read by this cursor to be modified or |
| 604 |
deleted prior to the commit of the transaction. |
| 605 |
<p> |
| 606 |
<P> |
| 607 |
<DD><DL> |
| 608 |
</DL> |
| 609 |
</DD> |
| 610 |
<DD><DL> |
| 611 |
<DT><B>Parameters:</B><DD><CODE>degree2</CODE> - If true, configure the cursor for read committed isolation. |
| 612 |
<p></DL> |
| 613 |
</DD> |
| 614 |
</DL> |
| 615 |
<HR> |
| 616 |
|
| 617 |
<A NAME="getDegree2()"></A><H3> |
| 618 |
getDegree2</H3> |
| 619 |
<PRE> |
| 620 |
public boolean <B>getDegree2</B>()</PRE> |
| 621 |
<DL> |
| 622 |
<DD><B>Deprecated.</B> <I>This has been replaced by <A HREF="../../../com/sleepycat/db/CursorConfig.html#getReadCommitted()"><CODE>getReadCommitted()</CODE></A> to conform to ANSI |
| 623 |
database isolation terminology.</I> |
| 624 |
<P> |
| 625 |
<DD>Return if the cursor is configured for read committed isolation. |
| 626 |
<p> |
| 627 |
<P> |
| 628 |
<DD><DL> |
| 629 |
</DL> |
| 630 |
</DD> |
| 631 |
<DD><DL> |
| 632 |
|
| 633 |
<DT><B>Returns:</B><DD>If the cursor is configured for read committed isolation. |
| 634 |
<p></DL> |
| 635 |
</DD> |
| 636 |
</DL> |
| 637 |
<HR> |
| 638 |
|
| 639 |
<A NAME="setReadUncommitted(boolean)"></A><H3> |
| 640 |
setReadUncommitted</H3> |
| 641 |
<PRE> |
| 642 |
public void <B>setReadUncommitted</B>(boolean readUncommitted)</PRE> |
| 643 |
<DL> |
| 644 |
<DD>Configure read operations performed by the cursor to return modified |
| 645 |
but not yet committed data. |
| 646 |
<p> |
| 647 |
<P> |
| 648 |
<DD><DL> |
| 649 |
</DL> |
| 650 |
</DD> |
| 651 |
<DD><DL> |
| 652 |
<DT><B>Parameters:</B><DD><CODE>readUncommitted</CODE> - If true, configure read operations performed by the cursor to return |
| 653 |
modified but not yet committed data.</DL> |
| 654 |
</DD> |
| 655 |
</DL> |
| 656 |
<HR> |
| 657 |
|
| 658 |
<A NAME="getReadUncommitted()"></A><H3> |
| 659 |
getReadUncommitted</H3> |
| 660 |
<PRE> |
| 661 |
public boolean <B>getReadUncommitted</B>()</PRE> |
| 662 |
<DL> |
| 663 |
<DD>Return if read operations performed by the cursor are configured to |
| 664 |
return modified but not yet committed data. |
| 665 |
<p> |
| 666 |
<P> |
| 667 |
<DD><DL> |
| 668 |
</DL> |
| 669 |
</DD> |
| 670 |
<DD><DL> |
| 671 |
|
| 672 |
<DT><B>Returns:</B><DD>If read operations performed by the cursor are configured to return |
| 673 |
modified but not yet committed data.</DL> |
| 674 |
</DD> |
| 675 |
</DL> |
| 676 |
<HR> |
| 677 |
|
| 678 |
<A NAME="setDirtyRead(boolean)"></A><H3> |
| 679 |
setDirtyRead</H3> |
| 680 |
<PRE> |
| 681 |
public void <B>setDirtyRead</B>(boolean dirtyRead)</PRE> |
| 682 |
<DL> |
| 683 |
<DD><B>Deprecated.</B> <I>This has been replaced by <A HREF="../../../com/sleepycat/db/CursorConfig.html#setReadUncommitted(boolean)"><CODE>setReadUncommitted(boolean)</CODE></A> to |
| 684 |
conform to ANSI database isolation terminology.</I> |
| 685 |
<P> |
| 686 |
<DD>Configure read operations performed by the cursor to return modified |
| 687 |
but not yet committed data. |
| 688 |
<p> |
| 689 |
<P> |
| 690 |
<DD><DL> |
| 691 |
</DL> |
| 692 |
</DD> |
| 693 |
<DD><DL> |
| 694 |
<DT><B>Parameters:</B><DD><CODE>dirtyRead</CODE> - If true, configure read operations performed by the cursor to return |
| 695 |
modified but not yet committed data. |
| 696 |
<p></DL> |
| 697 |
</DD> |
| 698 |
</DL> |
| 699 |
<HR> |
| 700 |
|
| 701 |
<A NAME="getDirtyRead()"></A><H3> |
| 702 |
getDirtyRead</H3> |
| 703 |
<PRE> |
| 704 |
public boolean <B>getDirtyRead</B>()</PRE> |
| 705 |
<DL> |
| 706 |
<DD><B>Deprecated.</B> <I>This has been replaced by <A HREF="../../../com/sleepycat/db/CursorConfig.html#getReadUncommitted()"><CODE>getReadUncommitted()</CODE></A> to |
| 707 |
conform to ANSI database isolation terminology.</I> |
| 708 |
<P> |
| 709 |
<DD>Return if read operations performed by the cursor are configured to return |
| 710 |
modified but not yet committed data. |
| 711 |
<p> |
| 712 |
<P> |
| 713 |
<DD><DL> |
| 714 |
</DL> |
| 715 |
</DD> |
| 716 |
<DD><DL> |
| 717 |
|
| 718 |
<DT><B>Returns:</B><DD>If read operations performed by the cursor are configured to return |
| 719 |
modified but not yet committed data. |
| 720 |
<p></DL> |
| 721 |
</DD> |
| 722 |
</DL> |
| 723 |
<HR> |
| 724 |
|
| 725 |
<A NAME="setSnapshot(boolean)"></A><H3> |
| 726 |
setSnapshot</H3> |
| 727 |
<PRE> |
| 728 |
public void <B>setSnapshot</B>(boolean snapshot)</PRE> |
| 729 |
<DL> |
| 730 |
<DD>Configure read operations performed by the cursor to return data as it was |
| 731 |
when the cursor opened without locking, if <A HREF="../../../com/sleepycat/db/DatabaseConfig.html#setMultiversion(boolean)"><CODE>DatabaseConfig.setMultiversion(boolean)</CODE></A> was configured. |
| 732 |
<p> |
| 733 |
<P> |
| 734 |
<DD><DL> |
| 735 |
</DL> |
| 736 |
</DD> |
| 737 |
<DD><DL> |
| 738 |
<DT><B>Parameters:</B><DD><CODE>snapshot</CODE> - If true, configure read operations performed by the cursor to return |
| 739 |
data as it was when the cursor was opened, without locking.</DL> |
| 740 |
</DD> |
| 741 |
</DL> |
| 742 |
<HR> |
| 743 |
|
| 744 |
<A NAME="getSnapshot()"></A><H3> |
| 745 |
getSnapshot</H3> |
| 746 |
<PRE> |
| 747 |
public boolean <B>getSnapshot</B>()</PRE> |
| 748 |
<DL> |
| 749 |
<DD>Return if read operations performed by the cursor are configured to return |
| 750 |
data as it was when the cursor was opened, without locking. |
| 751 |
<p> |
| 752 |
<P> |
| 753 |
<DD><DL> |
| 754 |
</DL> |
| 755 |
</DD> |
| 756 |
<DD><DL> |
| 757 |
|
| 758 |
<DT><B>Returns:</B><DD>If read operations performed by the cursor are configured to return |
| 759 |
data as it was when the cursor was opened.</DL> |
| 760 |
</DD> |
| 761 |
</DL> |
| 762 |
<HR> |
| 763 |
|
| 764 |
<A NAME="setWriteCursor(boolean)"></A><H3> |
| 765 |
setWriteCursor</H3> |
| 766 |
<PRE> |
| 767 |
public void <B>setWriteCursor</B>(boolean writeCursor)</PRE> |
| 768 |
<DL> |
| 769 |
<DD>Specify the Concurrent Data Store environment cursor will be used to |
| 770 |
update the database. |
| 771 |
<p> |
| 772 |
<P> |
| 773 |
<DD><DL> |
| 774 |
</DL> |
| 775 |
</DD> |
| 776 |
<DD><DL> |
| 777 |
<DT><B>Parameters:</B><DD><CODE>writeCursor</CODE> - If true, specify the Concurrent Data Store environment cursor will be |
| 778 |
used to update the database.</DL> |
| 779 |
</DD> |
| 780 |
</DL> |
| 781 |
<HR> |
| 782 |
|
| 783 |
<A NAME="getWriteCursor()"></A><H3> |
| 784 |
getWriteCursor</H3> |
| 785 |
<PRE> |
| 786 |
public boolean <B>getWriteCursor</B>()</PRE> |
| 787 |
<DL> |
| 788 |
<DD>Return if the Concurrent Data Store environment cursor will be used to |
| 789 |
update the database. |
| 790 |
<p> |
| 791 |
<P> |
| 792 |
<DD><DL> |
| 793 |
</DL> |
| 794 |
</DD> |
| 795 |
<DD><DL> |
| 796 |
|
| 797 |
<DT><B>Returns:</B><DD>If the Concurrent Data Store environment cursor will be used to update |
| 798 |
the database.</DL> |
| 799 |
</DD> |
| 800 |
</DL> |
| 801 |
|
| 802 |
<HR> |
| 803 |
|
| 804 |
|
| 805 |
|
| 806 |
<A NAME="navbar_bottom"></A> |
| 807 |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| 808 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| 809 |
<TR> |
| 810 |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| 811 |
<A NAME="navbar_bottom_firstrow"></A> |
| 812 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| 813 |
<TR ALIGN="center" VALIGN="top"> |
| 814 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| 815 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| 816 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| 817 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CursorConfig.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| 818 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| 819 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| 820 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| 821 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| 822 |
</TR> |
| 823 |
</TABLE> |
| 824 |
</TD> |
| 825 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| 826 |
<b>Berkeley DB</b><br><font size="-1"> version 5.3.28</font></EM> |
| 827 |
</TD> |
| 828 |
</TR> |
| 829 |
|
| 830 |
<TR> |
| 831 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 832 |
<A HREF="../../../com/sleepycat/db/Cursor.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A> |
| 833 |
<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><B>NEXT CLASS</B></A></FONT></TD> |
| 834 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 835 |
<A HREF="../../../index.html?com/sleepycat/db/CursorConfig.html" target="_top"><B>FRAMES</B></A> |
| 836 |
<A HREF="CursorConfig.html" target="_top"><B>NO FRAMES</B></A> |
| 837 |
<SCRIPT type="text/javascript"> |
| 838 |
<!-- |
| 839 |
if(window==top) { |
| 840 |
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| 841 |
} |
| 842 |
//--> |
| 843 |
</SCRIPT> |
| 844 |
<NOSCRIPT> |
| 845 |
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> |
| 846 |
</NOSCRIPT> |
| 847 |
|
| 848 |
|
| 849 |
</FONT></TD> |
| 850 |
</TR> |
| 851 |
<TR> |
| 852 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 853 |
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 854 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 855 |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| 856 |
</TR> |
| 857 |
</TABLE> |
| 858 |
<A NAME="skip-navbar_bottom"></A> |
| 859 |
|
| 860 |
|
| 861 |
<HR> |
| 862 |
<font size=1>Copyright (c) 1996, 2013 Oracle and/or its affiliates. All rights reserved.</font> |
| 863 |
</BODY> |
| 864 |
</HTML> |