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> 7MultipleRecnoDataEntry (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="MultipleRecnoDataEntry (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/MultipleRecnoDataEntry.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/MultipleNIODataEntry.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A> 59 <A HREF="../../../com/sleepycat/db/MultipleRecnoNIODataEntry.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/MultipleRecnoDataEntry.html" target="_top"><B>FRAMES</B></A> 62 <A HREF="MultipleRecnoDataEntry.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 MultipleRecnoDataEntry</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.MultipleRecnoDataEntry</B> 99</PRE> 100<HR> 101<DL> 102<DT><PRE>public class <B>MultipleRecnoDataEntry</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 record number/data pairs returned by a 107single <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/MultipleRecnoDataEntry.html#MultipleRecnoDataEntry()">MultipleRecnoDataEntry</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/MultipleRecnoDataEntry.html#MultipleRecnoDataEntry(byte[])">MultipleRecnoDataEntry</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/MultipleRecnoDataEntry.html#MultipleRecnoDataEntry(byte[], int, int)">MultipleRecnoDataEntry</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/MultipleRecnoDataEntry.html#append(int, byte[])">append</A></B>(int recno, 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/MultipleRecnoDataEntry.html#append(int, byte[], int, int)">append</A></B>(int recno, 166 byte[] data, 167 int offset, 168 int len)</CODE> 169 170<BR> 171 Append a record number / data item pair to the bulk buffer.</TD> 172</TR> 173<TR BGCOLOR="white" CLASS="TableRowColor"> 174<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 175<CODE> boolean</CODE></FONT></TD> 176<TD><CODE><B><A HREF="../../../com/sleepycat/db/MultipleRecnoDataEntry.html#append(int, com.sleepycat.db.DatabaseEntry)">append</A></B>(int recno, 177 <A HREF="../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A> data)</CODE> 178 179<BR> 180 Append an entry to the bulk buffer.</TD> 181</TR> 182<TR BGCOLOR="white" CLASS="TableRowColor"> 183<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 184<CODE> boolean</CODE></FONT></TD> 185<TD><CODE><B><A HREF="../../../com/sleepycat/db/MultipleRecnoDataEntry.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> recnoEntry, 186 <A HREF="../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A> data)</CODE> 187 188<BR> 189 Get the next record number/data pair in the returned set.</TD> 190</TR> 191</TABLE> 192 <A NAME="methods_inherited_from_class_com.sleepycat.db.MultipleEntry"><!-- --></A> 193<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 194<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 195<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> 196</TR> 197<TR BGCOLOR="white" CLASS="TableRowColor"> 198<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> 199</TR> 200</TABLE> 201 <A NAME="methods_inherited_from_class_com.sleepycat.db.DatabaseEntry"><!-- --></A> 202<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 203<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 204<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> 205</TR> 206<TR BGCOLOR="white" CLASS="TableRowColor"> 207<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> 208</TR> 209</TABLE> 210 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 211<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 212<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 213<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> 214</TR> 215<TR BGCOLOR="white" CLASS="TableRowColor"> 216<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> 217</TR> 218</TABLE> 219 220<P> 221 222<!-- ========= CONSTRUCTOR DETAIL ======== --> 223 224<A NAME="constructor_detail"><!-- --></A> 225<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 226<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 227<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 228<B>Constructor Detail</B></FONT></TH> 229</TR> 230</TABLE> 231 232<A NAME="MultipleRecnoDataEntry()"><!-- --></A><H3> 233MultipleRecnoDataEntry</H3> 234<PRE> 235public <B>MultipleRecnoDataEntry</B>()</PRE> 236<DL> 237<DD>Construct an entry with no data. The object must be configured 238 before use with the <A HREF="../../../com/sleepycat/db/MultipleEntry.html#setUserBuffer(int, boolean)"><CODE>MultipleEntry.setUserBuffer</CODE></A> method. 239<P> 240</DL> 241<HR> 242 243<A NAME="MultipleRecnoDataEntry(byte[])"><!-- --></A><H3> 244MultipleRecnoDataEntry</H3> 245<PRE> 246public <B>MultipleRecnoDataEntry</B>(byte[] data)</PRE> 247<DL> 248<DD>Construct an entry with a given byte array. The offset is 249 set to zero; the size is set to the length of the array. If null 250 is passed, the object must be configured before use with the 251 <A HREF="../../../com/sleepycat/db/MultipleEntry.html#setUserBuffer(int, boolean)"><CODE>MultipleEntry.setUserBuffer</CODE></A> method. 252 <p> 253<P> 254<DL> 255<DT><B>Parameters:</B><DD><CODE>data</CODE> - Byte array wrapped by the entry.</DL> 256</DL> 257<HR> 258 259<A NAME="MultipleRecnoDataEntry(byte[], int, int)"><!-- --></A><H3> 260MultipleRecnoDataEntry</H3> 261<PRE> 262public <B>MultipleRecnoDataEntry</B>(byte[] data, 263 int offset, 264 int size)</PRE> 265<DL> 266<DD>Constructs a DatabaseEntry with a given byte array, offset and size. 267 <p> 268<P> 269<DL> 270<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> 271</DL> 272 273<!-- ============ METHOD DETAIL ========== --> 274 275<A NAME="method_detail"><!-- --></A> 276<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 277<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 278<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 279<B>Method Detail</B></FONT></TH> 280</TR> 281</TABLE> 282 283<A NAME="next(com.sleepycat.db.DatabaseEntry, com.sleepycat.db.DatabaseEntry)"><!-- --></A><H3> 284next</H3> 285<PRE> 286public boolean <B>next</B>(<A HREF="../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A> recnoEntry, 287 <A HREF="../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A> data)</PRE> 288<DL> 289<DD>Get the next record number/data pair in the returned set. This method 290 may only 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 291 <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. 292 <p> 293 When used with the Queue and Recno access methods, 294 <code>data.getData()<code> will return <code>null</code> for deleted 295 records. 296 <p> 297<P> 298<DD><DL> 299<DT><B>Parameters:</B><DD><CODE>recnoEntry</CODE> - an entry that is set to refer to the next record number in the returned 300 set. 301 <p><DD><CODE>data</CODE> - an entry that is set to refer to the next data element in the returned 302 set. 303 <p> 304<DT><B>Returns:</B><DD>indicates whether a value was found. A return of <code>false</code> 305 indicates that the end of the set was reached.</DL> 306</DD> 307</DL> 308<HR> 309 310<A NAME="append(int, byte[], int, int)"><!-- --></A><H3> 311append</H3> 312<PRE> 313public boolean <B>append</B>(int recno, 314 byte[] data, 315 int offset, 316 int len) 317 throws <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></PRE> 318<DL> 319<DD>Append a record number / data item pair to the bulk buffer. 320 <p> 321<P> 322<DD><DL> 323<DT><B>Parameters:</B><DD><CODE>recno</CODE> - the record number of the record to be added.<DD><CODE>data</CODE> - an array containing the value to be added.<DD><CODE>offset</CODE> - the position in the <b>data</b> array where the record starts.<DD><CODE>len</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(int, com.sleepycat.db.DatabaseEntry)"><!-- --></A><H3> 334append</H3> 335<PRE> 336public boolean <B>append</B>(int recno, 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>recno</CODE> - the record number of the record to be added.<DD><CODE>data</CODE> - the value 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>. 346 <p> 347<DT><B>Returns:</B><DD>indicates whether there was space. A return of <code>false</code> 348 indicates that the specified entry could not fit in the buffer. 349<DT><B>Throws:</B> 350<DD><CODE><A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></CODE></DL> 351</DD> 352</DL> 353<HR> 354 355<A NAME="append(int, byte[])"><!-- --></A><H3> 356append</H3> 357<PRE> 358public boolean <B>append</B>(int recno, 359 byte[] data) 360 throws <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></PRE> 361<DL> 362<DD>Append an entry to the bulk buffer. 363 <p> 364<P> 365<DD><DL> 366<DT><B>Parameters:</B><DD><CODE>recno</CODE> - the record number of the record to be added.<DD><CODE>data</CODE> - an array containing the value to be added. 367 <p> 368<DT><B>Returns:</B><DD>indicates whether there was space. A return of <code>false</code> 369 indicates that the specified entry could not fit in the buffer. 370<DT><B>Throws:</B> 371<DD><CODE><A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></CODE></DL> 372</DD> 373</DL> 374<!-- ========= END OF CLASS DATA ========= --> 375<HR> 376 377 378<!-- ======= START OF BOTTOM NAVBAR ====== --> 379<A NAME="navbar_bottom"><!-- --></A> 380<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 381<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 382<TR> 383<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 384<A NAME="navbar_bottom_firstrow"><!-- --></A> 385<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 386 <TR ALIGN="center" VALIGN="top"> 387 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 388 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 389 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 390 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MultipleRecnoDataEntry.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 391 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 392 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 393 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 394 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 395 </TR> 396</TABLE> 397</TD> 398<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 399<b>Berkeley DB</b><br><font size="-1"> version 4.8.30</font></EM> 400</TD> 401</TR> 402 403<TR> 404<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 405 <A HREF="../../../com/sleepycat/db/MultipleNIODataEntry.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A> 406 <A HREF="../../../com/sleepycat/db/MultipleRecnoNIODataEntry.html" title="class in com.sleepycat.db"><B>NEXT CLASS</B></A></FONT></TD> 407<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 408 <A HREF="../../../index.html?com/sleepycat/db/MultipleRecnoDataEntry.html" target="_top"><B>FRAMES</B></A> 409 <A HREF="MultipleRecnoDataEntry.html" target="_top"><B>NO FRAMES</B></A> 410 <SCRIPT type="text/javascript"> 411 <!-- 412 if(window==top) { 413 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); 414 } 415 //--> 416</SCRIPT> 417<NOSCRIPT> 418 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> 419</NOSCRIPT> 420 421 422</FONT></TD> 423</TR> 424<TR> 425<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 426 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 427<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 428DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 429</TR> 430</TABLE> 431<A NAME="skip-navbar_bottom"></A> 432<!-- ======== END OF BOTTOM NAVBAR ======= --> 433 434<HR> 435<font size=1>Copyright (c) 1996-2009 Oracle. All rights reserved.</font> 436</BODY> 437</HTML> 438