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_03) on Mon Apr 12 16:25:47 EDT 2010 --> 6<TITLE> 7MultipleKeyDataEntry (Oracle - Berkeley DB Java API) 8</TITLE> 9 10<META NAME="date" CONTENT="2010-04-12"> 11 12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../style.css" TITLE="Style"> 13 14<SCRIPT type="text/javascript"> 15function windowTitle() 16{ 17 if (location.href.indexOf('is-external=true') == -1) { 18 parent.document.title="MultipleKeyDataEntry (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> </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/MultipleKeyDataEntry.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 4.8.30</font></EM> 53</TD> 54</TR> 55 56<TR> 57<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 58 <A HREF="../../../com/sleepycat/db/MultipleEntry.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A> 59 <A HREF="../../../com/sleepycat/db/MultipleKeyNIODataEntry.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/MultipleKeyDataEntry.html" target="_top"><B>FRAMES</B></A> 62 <A HREF="MultipleKeyDataEntry.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 | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 80<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 81DETAIL: FIELD | <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<!-- ========= END OF TOP NAVBAR ========= --> 86 87<HR> 88<!-- ======== START OF CLASS DATA ======== --> 89<H2> 90<FONT SIZE="-1"> 91com.sleepycat.db</FONT> 92<BR> 93Class MultipleKeyDataEntry</H2> 94<PRE> 95<A HREF="http://java.sun.com/j2se/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 "><A HREF="../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">com.sleepycat.db.DatabaseEntry</A> 97 <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../com/sleepycat/db/MultipleEntry.html" title="class in com.sleepycat.db">com.sleepycat.db.MultipleEntry</A> 98 <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.sleepycat.db.MultipleKeyDataEntry</B> 99</PRE> 100<HR> 101<DL> 102<DT><PRE>public class <B>MultipleKeyDataEntry</B><DT>extends <A HREF="../../../com/sleepycat/db/MultipleEntry.html" title="class in com.sleepycat.db">MultipleEntry</A></DL> 103</PRE> 104 105<P> 106A DatabaseEntry that holds multiple key/data pairs returned by a single 107<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><CODE>Database</CODE></A> or <A HREF="../../../com/sleepycat/db/Cursor.html" title="class in com.sleepycat.db"><CODE>Cursor</CODE></A> get call. 108<P> 109 110<P> 111<HR> 112 113<P> 114 115<!-- ======== CONSTRUCTOR SUMMARY ======== --> 116 117<A NAME="constructor_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>Constructor Summary</B></FONT></TH> 122</TR> 123<TR BGCOLOR="white" CLASS="TableRowColor"> 124<TD><CODE><B><A HREF="../../../com/sleepycat/db/MultipleKeyDataEntry.html#MultipleKeyDataEntry()">MultipleKeyDataEntry</A></B>()</CODE> 125 126<BR> 127 Construct an entry with no data.</TD> 128</TR> 129<TR BGCOLOR="white" CLASS="TableRowColor"> 130<TD><CODE><B><A HREF="../../../com/sleepycat/db/MultipleKeyDataEntry.html#MultipleKeyDataEntry(byte[])">MultipleKeyDataEntry</A></B>(byte[] data)</CODE> 131 132<BR> 133 Construct an entry with a given byte array.</TD> 134</TR> 135<TR BGCOLOR="white" CLASS="TableRowColor"> 136<TD><CODE><B><A HREF="../../../com/sleepycat/db/MultipleKeyDataEntry.html#MultipleKeyDataEntry(byte[], int, int)">MultipleKeyDataEntry</A></B>(byte[] data, 137 int offset, 138 int size)</CODE> 139 140<BR> 141 Constructs a DatabaseEntry with a given byte array, offset and size.</TD> 142</TR> 143</TABLE> 144 145<!-- ========== METHOD SUMMARY =========== --> 146 147<A NAME="method_summary"><!-- --></A> 148<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 149<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 150<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 151<B>Method Summary</B></FONT></TH> 152</TR> 153<TR BGCOLOR="white" CLASS="TableRowColor"> 154<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 155<CODE> boolean</CODE></FONT></TD> 156<TD><CODE><B><A HREF="../../../com/sleepycat/db/MultipleKeyDataEntry.html#append(byte[], byte[])">append</A></B>(byte[] key, 157 byte[] data)</CODE> 158 159<BR> 160 Append an entry to the bulk buffer.</TD> 161</TR> 162<TR BGCOLOR="white" CLASS="TableRowColor"> 163<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 164<CODE> boolean</CODE></FONT></TD> 165<TD><CODE><B><A HREF="../../../com/sleepycat/db/MultipleKeyDataEntry.html#append(byte[], int, int, byte[], int, int)">append</A></B>(byte[] key, 166 int koff, 167 int klen, 168 byte[] data, 169 int doff, 170 int dlen)</CODE> 171 172<BR> 173 Append an entry to the bulk buffer.</TD> 174</TR> 175<TR BGCOLOR="white" CLASS="TableRowColor"> 176<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 177<CODE> boolean</CODE></FONT></TD> 178<TD><CODE><B><A HREF="../../../com/sleepycat/db/MultipleKeyDataEntry.html#append(com.sleepycat.db.DatabaseEntry, com.sleepycat.db.DatabaseEntry)">append</A></B>(<A HREF="../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A> key, 179 <A HREF="../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A> data)</CODE> 180 181<BR> 182 Append an entry to the bulk buffer.</TD> 183</TR> 184<TR BGCOLOR="white" CLASS="TableRowColor"> 185<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 186<CODE> boolean</CODE></FONT></TD> 187<TD><CODE><B><A HREF="../../../com/sleepycat/db/MultipleKeyDataEntry.html#next(com.sleepycat.db.DatabaseEntry, com.sleepycat.db.DatabaseEntry)">next</A></B>(<A HREF="../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A> key, 188 <A HREF="../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A> data)</CODE> 189 190<BR> 191 Get the next key/data pair in the returned set.</TD> 192</TR> 193</TABLE> 194 <A NAME="methods_inherited_from_class_com.sleepycat.db.MultipleEntry"><!-- --></A> 195<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 196<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 197<TH ALIGN="left"><B>Methods inherited from class com.sleepycat.db.<A HREF="../../../com/sleepycat/db/MultipleEntry.html" title="class in com.sleepycat.db">MultipleEntry</A></B></TH> 198</TR> 199<TR BGCOLOR="white" CLASS="TableRowColor"> 200<TD><CODE><A HREF="../../../com/sleepycat/db/MultipleEntry.html#append_internal(byte[], int, int)">append_internal</A>, <A HREF="../../../com/sleepycat/db/MultipleEntry.html#append_internal(byte[], int, int, int)">append_internal</A>, <A HREF="../../../com/sleepycat/db/MultipleEntry.html#setUserBuffer(int, boolean)">setUserBuffer</A></CODE></TD> 201</TR> 202</TABLE> 203 <A NAME="methods_inherited_from_class_com.sleepycat.db.DatabaseEntry"><!-- --></A> 204<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 205<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 206<TH ALIGN="left"><B>Methods inherited from class com.sleepycat.db.<A HREF="../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A></B></TH> 207</TR> 208<TR BGCOLOR="white" CLASS="TableRowColor"> 209<TD><CODE><A HREF="../../../com/sleepycat/db/DatabaseEntry.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../com/sleepycat/db/DatabaseEntry.html#getData()">getData</A>, <A HREF="../../../com/sleepycat/db/DatabaseEntry.html#getDataNIO()">getDataNIO</A>, <A HREF="../../../com/sleepycat/db/DatabaseEntry.html#getOffset()">getOffset</A>, <A HREF="../../../com/sleepycat/db/DatabaseEntry.html#getPartial()">getPartial</A>, <A HREF="../../../com/sleepycat/db/DatabaseEntry.html#getPartialLength()">getPartialLength</A>, <A HREF="../../../com/sleepycat/db/DatabaseEntry.html#getPartialOffset()">getPartialOffset</A>, <A HREF="../../../com/sleepycat/db/DatabaseEntry.html#getRecordNumber()">getRecordNumber</A>, <A HREF="../../../com/sleepycat/db/DatabaseEntry.html#getReuseBuffer()">getReuseBuffer</A>, <A HREF="../../../com/sleepycat/db/DatabaseEntry.html#getSize()">getSize</A>, <A HREF="../../../com/sleepycat/db/DatabaseEntry.html#getUserBuffer()">getUserBuffer</A>, <A HREF="../../../com/sleepycat/db/DatabaseEntry.html#getUserBufferLength()">getUserBufferLength</A>, <A HREF="../../../com/sleepycat/db/DatabaseEntry.html#hashCode()">hashCode</A>, <A HREF="../../../com/sleepycat/db/DatabaseEntry.html#setData(byte[])">setData</A>, <A HREF="../../../com/sleepycat/db/DatabaseEntry.html#setData(byte[], int, int)">setData</A>, <A HREF="../../../com/sleepycat/db/DatabaseEntry.html#setDataNIO(java.nio.ByteBuffer)">setDataNIO</A>, <A HREF="../../../com/sleepycat/db/DatabaseEntry.html#setDataNIO(java.nio.ByteBuffer, int, int)">setDataNIO</A>, <A HREF="../../../com/sleepycat/db/DatabaseEntry.html#setOffset(int)">setOffset</A>, <A HREF="../../../com/sleepycat/db/DatabaseEntry.html#setPartial(boolean)">setPartial</A>, <A HREF="../../../com/sleepycat/db/DatabaseEntry.html#setPartial(int, int, boolean)">setPartial</A>, <A HREF="../../../com/sleepycat/db/DatabaseEntry.html#setPartialLength(int)">setPartialLength</A>, <A HREF="../../../com/sleepycat/db/DatabaseEntry.html#setPartialOffset(int)">setPartialOffset</A>, <A HREF="../../../com/sleepycat/db/DatabaseEntry.html#setRecordNumber(int)">setRecordNumber</A>, <A HREF="../../../com/sleepycat/db/DatabaseEntry.html#setReuseBuffer(boolean)">setReuseBuffer</A>, <A HREF="../../../com/sleepycat/db/DatabaseEntry.html#setSize(int)">setSize</A></CODE></TD> 210</TR> 211</TABLE> 212 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 213<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 214<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 215<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> 216</TR> 217<TR BGCOLOR="white" CLASS="TableRowColor"> 218<TD><CODE><A HREF="http://java.sun.com/j2se/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://java.sun.com/j2se/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://java.sun.com/j2se/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://java.sun.com/j2se/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://java.sun.com/j2se/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://java.sun.com/j2se/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://java.sun.com/j2se/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://java.sun.com/j2se/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://java.sun.com/j2se/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> 219</TR> 220</TABLE> 221 222<P> 223 224<!-- ========= CONSTRUCTOR DETAIL ======== --> 225 226<A NAME="constructor_detail"><!-- --></A> 227<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 228<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 229<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 230<B>Constructor Detail</B></FONT></TH> 231</TR> 232</TABLE> 233 234<A NAME="MultipleKeyDataEntry()"><!-- --></A><H3> 235MultipleKeyDataEntry</H3> 236<PRE> 237public <B>MultipleKeyDataEntry</B>()</PRE> 238<DL> 239<DD>Construct an entry with no data. The object must be configured 240 before use with the <A HREF="../../../com/sleepycat/db/MultipleEntry.html#setUserBuffer(int, boolean)"><CODE>MultipleEntry.setUserBuffer</CODE></A> method. 241<P> 242</DL> 243<HR> 244 245<A NAME="MultipleKeyDataEntry(byte[])"><!-- --></A><H3> 246MultipleKeyDataEntry</H3> 247<PRE> 248public <B>MultipleKeyDataEntry</B>(byte[] data)</PRE> 249<DL> 250<DD>Construct an entry with a given byte array. The offset is 251 set to zero; the size is set to the length of the array. If null 252 is passed, the object must be configured before use with the 253 <A HREF="../../../com/sleepycat/db/MultipleEntry.html#setUserBuffer(int, boolean)"><CODE>MultipleEntry.setUserBuffer</CODE></A> method. 254 <p> 255<P> 256<DL> 257<DT><B>Parameters:</B><DD><CODE>data</CODE> - Byte array wrapped by the entry.</DL> 258</DL> 259<HR> 260 261<A NAME="MultipleKeyDataEntry(byte[], int, int)"><!-- --></A><H3> 262MultipleKeyDataEntry</H3> 263<PRE> 264public <B>MultipleKeyDataEntry</B>(byte[] data, 265 int offset, 266 int size)</PRE> 267<DL> 268<DD>Constructs a DatabaseEntry with a given byte array, offset and size. 269 <p> 270<P> 271<DL> 272<DT><B>Parameters:</B><DD><CODE>data</CODE> - Byte array wrapped by the DatabaseEntry.<DD><CODE>offset</CODE> - Offset in the first byte in the byte array to be included.<DD><CODE>size</CODE> - Number of bytes in the byte array to be included.</DL> 273</DL> 274 275<!-- ============ METHOD DETAIL ========== --> 276 277<A NAME="method_detail"><!-- --></A> 278<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 279<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 280<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 281<B>Method Detail</B></FONT></TH> 282</TR> 283</TABLE> 284 285<A NAME="next(com.sleepycat.db.DatabaseEntry, com.sleepycat.db.DatabaseEntry)"><!-- --></A><H3> 286next</H3> 287<PRE> 288public boolean <B>next</B>(<A HREF="../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A> key, 289 <A HREF="../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A> data)</PRE> 290<DL> 291<DD>Get the next key/data pair in the returned set. This method may only 292 be called after a successful call to a <A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><CODE>Database</CODE></A> or 293 <A HREF="../../../com/sleepycat/db/Cursor.html" title="class in com.sleepycat.db"><CODE>Cursor</CODE></A> get method with this object as the data parameter. 294 <p> 295<P> 296<DD><DL> 297<DT><B>Parameters:</B><DD><CODE>key</CODE> - an entry that is set to refer to the next key element in the returned 298 set. 299 <p><DD><CODE>data</CODE> - an entry that is set to refer to the next data element in the returned 300 set. 301 <p> 302<DT><B>Returns:</B><DD>indicates whether a value was found. A return of <code>false</code> 303 indicates that the end of the set was reached.</DL> 304</DD> 305</DL> 306<HR> 307 308<A NAME="append(byte[], int, int, byte[], int, int)"><!-- --></A><H3> 309append</H3> 310<PRE> 311public boolean <B>append</B>(byte[] key, 312 int koff, 313 int klen, 314 byte[] data, 315 int doff, 316 int dlen) 317 throws <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></PRE> 318<DL> 319<DD>Append an entry to the bulk buffer. 320 <p> 321<P> 322<DD><DL> 323<DT><B>Parameters:</B><DD><CODE>key</CODE> - an array containing the key to be added.<DD><CODE>koff</CODE> - the position in the <b>key</b> array where the record starts.<DD><CODE>klen</CODE> - the length of the record, in bytes, to be copied from the <b>key</b> array.<DD><CODE>data</CODE> - an array containing the value to be added.<DD><CODE>doff</CODE> - the position in the <b>data</b> array where the record starts.<DD><CODE>dlen</CODE> - the length of the record, in bytes, to be copied from the <b>data</b> array. 324 <p> 325<DT><B>Returns:</B><DD>indicates whether there was space. A return of <code>false</code> 326 indicates that the specified entry could not fit in the buffer. 327<DT><B>Throws:</B> 328<DD><CODE><A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></CODE></DL> 329</DD> 330</DL> 331<HR> 332 333<A NAME="append(com.sleepycat.db.DatabaseEntry, com.sleepycat.db.DatabaseEntry)"><!-- --></A><H3> 334append</H3> 335<PRE> 336public boolean <B>append</B>(<A HREF="../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A> key, 337 <A HREF="../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A> data) 338 throws <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></PRE> 339<DL> 340<DD>Append an entry to the bulk buffer. 341 <p> 342<P> 343<DD><DL> 344<DT><B>Parameters:</B><DD><CODE>key</CODE> - the key to be appended, using the offset and size specified in the 345 <A HREF="../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db"><CODE>DatabaseEntry</CODE></A>.<DD><CODE>data</CODE> - the value to be appended, using the offset and size specified in the 346 <A HREF="../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db"><CODE>DatabaseEntry</CODE></A>. 347 <p> 348<DT><B>Returns:</B><DD>indicates whether there was space. A return of <code>false</code> 349 indicates that the specified entry could not fit in the buffer. 350<DT><B>Throws:</B> 351<DD><CODE><A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></CODE></DL> 352</DD> 353</DL> 354<HR> 355 356<A NAME="append(byte[], byte[])"><!-- --></A><H3> 357append</H3> 358<PRE> 359public boolean <B>append</B>(byte[] key, 360 byte[] data) 361 throws <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></PRE> 362<DL> 363<DD>Append an entry to the bulk buffer. 364 <p> 365<P> 366<DD><DL> 367<DT><B>Parameters:</B><DD><CODE>key</CODE> - an array containing the key to be added.<DD><CODE>data</CODE> - an array containing the value to be added. 368 <p> 369<DT><B>Returns:</B><DD>indicates whether there was space. A return of <code>false</code> 370 indicates that the specified entry could not fit in the buffer. 371<DT><B>Throws:</B> 372<DD><CODE><A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></CODE></DL> 373</DD> 374</DL> 375<!-- ========= END OF CLASS DATA ========= --> 376<HR> 377 378 379<!-- ======= START OF BOTTOM NAVBAR ====== --> 380<A NAME="navbar_bottom"><!-- --></A> 381<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 382<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 383<TR> 384<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 385<A NAME="navbar_bottom_firstrow"><!-- --></A> 386<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 387 <TR ALIGN="center" VALIGN="top"> 388 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 389 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 390 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 391 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MultipleKeyDataEntry.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 392 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 393 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 394 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 395 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 396 </TR> 397</TABLE> 398</TD> 399<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 400<b>Berkeley DB</b><br><font size="-1"> version 4.8.30</font></EM> 401</TD> 402</TR> 403 404<TR> 405<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 406 <A HREF="../../../com/sleepycat/db/MultipleEntry.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A> 407 <A HREF="../../../com/sleepycat/db/MultipleKeyNIODataEntry.html" title="class in com.sleepycat.db"><B>NEXT CLASS</B></A></FONT></TD> 408<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 409 <A HREF="../../../index.html?com/sleepycat/db/MultipleKeyDataEntry.html" target="_top"><B>FRAMES</B></A> 410 <A HREF="MultipleKeyDataEntry.html" target="_top"><B>NO FRAMES</B></A> 411 <SCRIPT type="text/javascript"> 412 <!-- 413 if(window==top) { 414 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); 415 } 416 //--> 417</SCRIPT> 418<NOSCRIPT> 419 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> 420</NOSCRIPT> 421 422 423</FONT></TD> 424</TR> 425<TR> 426<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 427 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 428<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 429DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 430</TR> 431</TABLE> 432<A NAME="skip-navbar_bottom"></A> 433<!-- ======== END OF BOTTOM NAVBAR ======= --> 434 435<HR> 436<font size=1>Copyright (c) 1996-2009 Oracle. All rights reserved.</font> 437</BODY> 438</HTML> 439