Debian Codegraph @

docs/java/com/sleepycat/db/JoinCursor.html

raw symbols SCIP
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!--NewPage-->
3 <HTML>
4 <HEAD>
5 <!-- Generated by javadoc (build 1.6.0_51) on Mon Sep 09 11:47:05 EDT 2013 -->
6 <TITLE>
7 JoinCursor (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="JoinCursor (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 <!-- ========= START OF TOP NAVBAR ======= -->
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>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JoinCursor.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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 &nbsp;<A HREF="../../../com/sleepycat/db/JoinConfig.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A>&nbsp;
59 &nbsp;<A HREF="../../../com/sleepycat/db/KeyRange.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/JoinCursor.html" target="_top"><B>FRAMES</B></A> &nbsp;
62 &nbsp;<A HREF="JoinCursor.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
63 &nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
82 </TR>
83 </TABLE>
84 <A NAME="skip-navbar_top"></A>
85 <!-- ========= END OF TOP NAVBAR ========= -->
86
87 <HR>
88 <!-- ======== START OF CLASS DATA ======== -->
89 <H2>
90 <FONT SIZE="-1">
91 com.sleepycat.db</FONT>
92 <BR>
93 Class JoinCursor</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.JoinCursor</B>
97 </PRE>
98 <HR>
99 <DL>
100 <DT><PRE>public class <B>JoinCursor</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></DL>
101 </PRE>
102
103 <P>
104 A specialized join cursor for use in performing equality or natural joins on
105 secondary indices.
106 <p>
107 A join cursor is returned when calling <A HREF="../../../com/sleepycat/db/Database.html#join(com.sleepycat.db.Cursor[], com.sleepycat.db.JoinConfig)"><CODE>Database.join</CODE></A>.
108 <p>
109 To open a join cursor using two secondary cursors:
110 <pre>
111 Transaction txn = ...
112 Database primaryDb = ...
113 SecondaryDatabase secondaryDb1 = ...
114 SecondaryDatabase secondaryDb2 = ...
115 <p>
116 SecondaryCursor cursor1 = null;
117 SecondaryCursor cursor2 = null;
118 JoinCursor joinCursor = null;
119 try {
120 DatabaseEntry key = new DatabaseEntry();
121 DatabaseEntry data = new DatabaseEntry();
122 <p>
123 cursor1 = secondaryDb1.openSecondaryCursor(txn, null);
124 cursor2 = secondaryDb2.openSecondaryCursor(txn, null);
125 <p>
126 key.setData(...); // initialize key for secondary index 1
127 OperationStatus status1 =
128 cursor1.getSearchKey(key, data, LockMode.DEFAULT);
129 key.setData(...); // initialize key for secondary index 2
130 OperationStatus status2 =
131 cursor2.getSearchKey(key, data, LockMode.DEFAULT);
132 <p>
133 if (status1 == OperationStatus.SUCCESS &amp;&amp;
134 status2 == OperationStatus.SUCCESS) {
135 <p>
136 SecondaryCursor[] cursors = {cursor1, cursor2};
137 joinCursor = primaryDb.join(cursors, null);
138 <p>
139 while (true) {
140 OperationStatus joinStatus = joinCursor.getNext(key, data,
141 LockMode.DEFAULT);
142 if (joinStatus == OperationStatus.SUCCESS) {
143 // Do something with the key and data.
144 } else {
145 break;
146 }
147 }
148 }
149 } finally {
150 if (cursor1 != null) {
151 cursor1.close();
152 }
153 if (cursor2 != null) {
154 cursor2.close();
155 }
156 if (joinCursor != null) {
157 joinCursor.close();
158 }
159 }
160 </pre>
161 <P>
162
163 <P>
164 <HR>
165
166 <P>
167
168 <!-- ========== METHOD SUMMARY =========== -->
169
170 <A NAME="method_summary"><!-- --></A>
171 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
172 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
173 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
174 <B>Method Summary</B></FONT></TH>
175 </TR>
176 <TR BGCOLOR="white" CLASS="TableRowColor">
177 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
178 <CODE>&nbsp;void</CODE></FONT></TD>
179 <TD><CODE><B><A HREF="../../../com/sleepycat/db/JoinCursor.html#close()">close</A></B>()</CODE>
180
181 <BR>
182 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Closes the cursors that have been opened by this join cursor.</TD>
183 </TR>
184 <TR BGCOLOR="white" CLASS="TableRowColor">
185 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
186 <CODE>&nbsp;<A HREF="../../../com/sleepycat/db/JoinConfig.html" title="class in com.sleepycat.db">JoinConfig</A></CODE></FONT></TD>
187 <TD><CODE><B><A HREF="../../../com/sleepycat/db/JoinCursor.html#getConfig()">getConfig</A></B>()</CODE>
188
189 <BR>
190 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this object's configuration.</TD>
191 </TR>
192 <TR BGCOLOR="white" CLASS="TableRowColor">
193 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
194 <CODE>&nbsp;<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A></CODE></FONT></TD>
195 <TD><CODE><B><A HREF="../../../com/sleepycat/db/JoinCursor.html#getDatabase()">getDatabase</A></B>()</CODE>
196
197 <BR>
198 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the primary database handle associated with this cursor.</TD>
199 </TR>
200 <TR BGCOLOR="white" CLASS="TableRowColor">
201 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
202 <CODE>&nbsp;<A HREF="../../../com/sleepycat/db/OperationStatus.html" title="class in com.sleepycat.db">OperationStatus</A></CODE></FONT></TD>
203 <TD><CODE><B><A HREF="../../../com/sleepycat/db/JoinCursor.html#getNext(com.sleepycat.db.DatabaseEntry, com.sleepycat.db.DatabaseEntry, com.sleepycat.db.LockMode)">getNext</A></B>(<A HREF="../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A>&nbsp;key,
204 <A HREF="../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A>&nbsp;data,
205 <A HREF="../../../com/sleepycat/db/LockMode.html" title="class in com.sleepycat.db">LockMode</A>&nbsp;lockMode)</CODE>
206
207 <BR>
208 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the next primary key and data resulting from the join operation.</TD>
209 </TR>
210 <TR BGCOLOR="white" CLASS="TableRowColor">
211 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
212 <CODE>&nbsp;<A HREF="../../../com/sleepycat/db/OperationStatus.html" title="class in com.sleepycat.db">OperationStatus</A></CODE></FONT></TD>
213 <TD><CODE><B><A HREF="../../../com/sleepycat/db/JoinCursor.html#getNext(com.sleepycat.db.DatabaseEntry, com.sleepycat.db.LockMode)">getNext</A></B>(<A HREF="../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A>&nbsp;key,
214 <A HREF="../../../com/sleepycat/db/LockMode.html" title="class in com.sleepycat.db">LockMode</A>&nbsp;lockMode)</CODE>
215
216 <BR>
217 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the next primary key resulting from the join operation.</TD>
218 </TR>
219 </TABLE>
220 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
221 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
222 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
223 <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>
224 </TR>
225 <TR BGCOLOR="white" CLASS="TableRowColor">
226 <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>
227 </TR>
228 </TABLE>
229 &nbsp;
230 <P>
231
232 <!-- ============ METHOD DETAIL ========== -->
233
234 <A NAME="method_detail"><!-- --></A>
235 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
236 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
237 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
238 <B>Method Detail</B></FONT></TH>
239 </TR>
240 </TABLE>
241
242 <A NAME="close()"><!-- --></A><H3>
243 close</H3>
244 <PRE>
245 public void <B>close</B>()
246 throws <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></PRE>
247 <DL>
248 <DD>Closes the cursors that have been opened by this join cursor.
249 <p>
250 The cursors passed to <A HREF="../../../com/sleepycat/db/Database.html#join(com.sleepycat.db.Cursor[], com.sleepycat.db.JoinConfig)"><CODE>Database.join</CODE></A> are not closed
251 by this method, and should be closed by the caller.
252 <p>
253 <p>
254 <P>
255 <DD><DL>
256
257 <DT><B>Throws:</B>
258 <DD><CODE><A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></CODE> - if a failure occurs.</DL>
259 </DD>
260 </DL>
261 <HR>
262
263 <A NAME="getDatabase()"><!-- --></A><H3>
264 getDatabase</H3>
265 <PRE>
266 public <A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A> <B>getDatabase</B>()</PRE>
267 <DL>
268 <DD>Returns the primary database handle associated with this cursor.
269 <p>
270 <P>
271 <DD><DL>
272
273 <DT><B>Returns:</B><DD>the primary database handle associated with this cursor.</DL>
274 </DD>
275 </DL>
276 <HR>
277
278 <A NAME="getConfig()"><!-- --></A><H3>
279 getConfig</H3>
280 <PRE>
281 public <A HREF="../../../com/sleepycat/db/JoinConfig.html" title="class in com.sleepycat.db">JoinConfig</A> <B>getConfig</B>()</PRE>
282 <DL>
283 <DD>Returns this object's configuration.
284 <p>
285 <P>
286 <DD><DL>
287
288 <DT><B>Returns:</B><DD>this object's configuration.</DL>
289 </DD>
290 </DL>
291 <HR>
292
293 <A NAME="getNext(com.sleepycat.db.DatabaseEntry, com.sleepycat.db.LockMode)"><!-- --></A><H3>
294 getNext</H3>
295 <PRE>
296 public <A HREF="../../../com/sleepycat/db/OperationStatus.html" title="class in com.sleepycat.db">OperationStatus</A> <B>getNext</B>(<A HREF="../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A>&nbsp;key,
297 <A HREF="../../../com/sleepycat/db/LockMode.html" title="class in com.sleepycat.db">LockMode</A>&nbsp;lockMode)
298 throws <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></PRE>
299 <DL>
300 <DD>Returns the next primary key resulting from the join operation.
301 <p>
302 An entry is returned by the join cursor for each primary key/data pair having
303 all secondary key values that were specified using the array of secondary
304 cursors passed to <A HREF="../../../com/sleepycat/db/Database.html#join(com.sleepycat.db.Cursor[], com.sleepycat.db.JoinConfig)"><CODE>Database.join</CODE></A>.
305 <p>
306 <P>
307 <DD><DL>
308 <DT><B>Parameters:</B><DD><CODE>key</CODE> - the primary key
309 returned as output. Its byte array does not need to be initialized by the
310 caller.
311 <p><DD><CODE>lockMode</CODE> - the locking attributes; if null, default attributes are used.
312 <p>
313 <DT><B>Returns:</B><DD><A HREF="../../../com/sleepycat/db/OperationStatus.html#NOTFOUND"><CODE>OperationStatus.NOTFOUND</CODE></A> if no matching key/data pair is
314 found; <A HREF="../../../com/sleepycat/db/OperationStatus.html#KEYEMPTY"><CODE>OperationStatus.KEYEMPTY</CODE></A> if the database is a Queue or Recno database and the specified key exists, but was never explicitly created by the application or was later deleted; otherwise, <A HREF="../../../com/sleepycat/db/OperationStatus.html#SUCCESS"><CODE>OperationStatus.SUCCESS</CODE></A>.
315 <p>
316 <DT><B>Throws:</B>
317 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</A></CODE> - if a DatabaseEntry parameter is null or
318 does not contain a required non-null byte array.
319 <p>
320 <DD><CODE><A HREF="../../../com/sleepycat/db/DeadlockException.html" title="class in com.sleepycat.db">DeadlockException</A></CODE> - if the operation was selected to resolve a
321 deadlock.
322 <p>
323 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if an invalid parameter was specified.
324 <p>
325 <DD><CODE><A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></CODE> - if a failure occurs.</DL>
326 </DD>
327 </DL>
328 <HR>
329
330 <A NAME="getNext(com.sleepycat.db.DatabaseEntry, com.sleepycat.db.DatabaseEntry, com.sleepycat.db.LockMode)"><!-- --></A><H3>
331 getNext</H3>
332 <PRE>
333 public <A HREF="../../../com/sleepycat/db/OperationStatus.html" title="class in com.sleepycat.db">OperationStatus</A> <B>getNext</B>(<A HREF="../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A>&nbsp;key,
334 <A HREF="../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A>&nbsp;data,
335 <A HREF="../../../com/sleepycat/db/LockMode.html" title="class in com.sleepycat.db">LockMode</A>&nbsp;lockMode)
336 throws <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></PRE>
337 <DL>
338 <DD>Returns the next primary key and data resulting from the join operation.
339 <p>
340 An entry is returned by the join cursor for each primary key/data pair having
341 all secondary key values that were specified using the array of secondary
342 cursors passed to <A HREF="../../../com/sleepycat/db/Database.html#join(com.sleepycat.db.Cursor[], com.sleepycat.db.JoinConfig)"><CODE>Database.join</CODE></A>.
343 <p>
344 <P>
345 <DD><DL>
346 <DT><B>Parameters:</B><DD><CODE>key</CODE> - the primary key
347 returned as output. Its byte array does not need to be initialized by the
348 caller.
349 <p><DD><CODE>data</CODE> - the primary data
350 returned as output. Its byte array does not need to be initialized by the
351 caller.
352 <p><DD><CODE>lockMode</CODE> - the locking attributes; if null, default attributes are used.
353 <p>
354 <DT><B>Returns:</B><DD><A HREF="../../../com/sleepycat/db/OperationStatus.html#NOTFOUND"><CODE>OperationStatus.NOTFOUND</CODE></A> if no matching key/data pair is
355 found; <A HREF="../../../com/sleepycat/db/OperationStatus.html#KEYEMPTY"><CODE>OperationStatus.KEYEMPTY</CODE></A> if the database is a Queue or Recno database and the specified key exists, but was never explicitly created by the application or was later deleted; otherwise, <A HREF="../../../com/sleepycat/db/OperationStatus.html#SUCCESS"><CODE>OperationStatus.SUCCESS</CODE></A>.
356 <p>
357 <DT><B>Throws:</B>
358 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</A></CODE> - if a DatabaseEntry parameter is null or
359 does not contain a required non-null byte array.
360 <p>
361 <DD><CODE><A HREF="../../../com/sleepycat/db/DeadlockException.html" title="class in com.sleepycat.db">DeadlockException</A></CODE> - if the operation was selected to resolve a
362 deadlock.
363 <p>
364 <DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if an invalid parameter was specified.
365 <p>
366 <DD><CODE><A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></CODE> - if a failure occurs.</DL>
367 </DD>
368 </DL>
369 <!-- ========= END OF CLASS DATA ========= -->
370 <HR>
371
372
373 <!-- ======= START OF BOTTOM NAVBAR ====== -->
374 <A NAME="navbar_bottom"><!-- --></A>
375 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
376 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
377 <TR>
378 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
379 <A NAME="navbar_bottom_firstrow"><!-- --></A>
380 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
381 <TR ALIGN="center" VALIGN="top">
382 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
383 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
384 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
385 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JoinCursor.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
386 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
387 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
388 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
389 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
390 </TR>
391 </TABLE>
392 </TD>
393 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
394 <b>Berkeley DB</b><br><font size="-1"> version 5.3.28</font></EM>
395 </TD>
396 </TR>
397
398 <TR>
399 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
400 &nbsp;<A HREF="../../../com/sleepycat/db/JoinConfig.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A>&nbsp;
401 &nbsp;<A HREF="../../../com/sleepycat/db/KeyRange.html" title="class in com.sleepycat.db"><B>NEXT CLASS</B></A></FONT></TD>
402 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
403 <A HREF="../../../index.html?com/sleepycat/db/JoinCursor.html" target="_top"><B>FRAMES</B></A> &nbsp;
404 &nbsp;<A HREF="JoinCursor.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
405 &nbsp;<SCRIPT type="text/javascript">
406 <!--
407 if(window==top) {
408 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
409 }
410 //-->
411 </SCRIPT>
412 <NOSCRIPT>
413 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
414 </NOSCRIPT>
415
416
417 </FONT></TD>
418 </TR>
419 <TR>
420 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
421 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
422 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
423 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
424 </TR>
425 </TABLE>
426 <A NAME="skip-navbar_bottom"></A>
427 <!-- ======== END OF BOTTOM NAVBAR ======= -->
428
429 <HR>
430 <font size=1>Copyright (c) 1996, 2013 Oracle and/or its affiliates. All rights reserved.</font>
431 </BODY>
432 </HTML>