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:48 EDT 2010 --> 6<TITLE> 7MarshalledTupleEntry (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="MarshalledTupleEntry (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/MarshalledTupleEntry.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/bind/tuple/LongBinding.html" title="class in com.sleepycat.bind.tuple"><B>PREV CLASS</B></A> 59 <A HREF="../../../../com/sleepycat/bind/tuple/MarshalledTupleKeyEntity.html" title="interface in com.sleepycat.bind.tuple"><B>NEXT CLASS</B></A></FONT></TD> 60<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 61 <A HREF="../../../../index.html?com/sleepycat/bind/tuple/MarshalledTupleEntry.html" target="_top"><B>FRAMES</B></A> 62 <A HREF="MarshalledTupleEntry.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 | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> 80<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 81DETAIL: FIELD | CONSTR | <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.bind.tuple</FONT> 92<BR> 93Interface MarshalledTupleEntry</H2> 94<HR> 95<DL> 96<DT><PRE>public interface <B>MarshalledTupleEntry</B></DL> 97</PRE> 98 99<P> 100A marshalling interface implemented by key, data or entity classes that 101 are represented as tuples. 102 103 <p>Key classes implement this interface to marshal their key entry. Data or 104 entity classes implement this interface to marshal their data entry. 105 Implementations of this interface must have a public no arguments 106 constructor so that they can be instantiated by a binding, prior to calling 107 the <A HREF="../../../../com/sleepycat/bind/tuple/MarshalledTupleEntry.html#unmarshalEntry(com.sleepycat.bind.tuple.TupleInput)"><CODE>unmarshalEntry(com.sleepycat.bind.tuple.TupleInput)</CODE></A> method.</p> 108 109 <p>Note that implementing this interface is not necessary when the object is 110 a Java simple type, for example: String, Integer, etc. These types can be 111 used with built-in bindings returned by <A HREF="../../../../com/sleepycat/bind/tuple/TupleBinding.html#getPrimitiveBinding(java.lang.Class)"><CODE>TupleBinding.getPrimitiveBinding(java.lang.Class<T>)</CODE></A>.</p> 112<P> 113 114<P> 115<DL> 116<DT><B>See Also:</B><DD><A HREF="../../../../com/sleepycat/bind/tuple/TupleTupleMarshalledBinding.html" title="class in com.sleepycat.bind.tuple"><CODE>TupleTupleMarshalledBinding</CODE></A></DL> 117<HR> 118 119<P> 120 121<!-- ========== METHOD SUMMARY =========== --> 122 123<A NAME="method_summary"><!-- --></A> 124<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 125<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 126<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 127<B>Method Summary</B></FONT></TH> 128</TR> 129<TR BGCOLOR="white" CLASS="TableRowColor"> 130<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 131<CODE> void</CODE></FONT></TD> 132<TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/MarshalledTupleEntry.html#marshalEntry(com.sleepycat.bind.tuple.TupleOutput)">marshalEntry</A></B>(<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A> dataOutput)</CODE> 133 134<BR> 135 Construct the key or data tuple entry from the key or data object.</TD> 136</TR> 137<TR BGCOLOR="white" CLASS="TableRowColor"> 138<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 139<CODE> void</CODE></FONT></TD> 140<TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/MarshalledTupleEntry.html#unmarshalEntry(com.sleepycat.bind.tuple.TupleInput)">unmarshalEntry</A></B>(<A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html" title="class in com.sleepycat.bind.tuple">TupleInput</A> dataInput)</CODE> 141 142<BR> 143 Construct the key or data object from the key or data tuple entry.</TD> 144</TR> 145</TABLE> 146 147<P> 148 149<!-- ============ METHOD DETAIL ========== --> 150 151<A NAME="method_detail"><!-- --></A> 152<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 153<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 154<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 155<B>Method Detail</B></FONT></TH> 156</TR> 157</TABLE> 158 159<A NAME="marshalEntry(com.sleepycat.bind.tuple.TupleOutput)"><!-- --></A><H3> 160marshalEntry</H3> 161<PRE> 162void <B>marshalEntry</B>(<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A> dataOutput)</PRE> 163<DL> 164<DD>Construct the key or data tuple entry from the key or data object. 165<P> 166<DD><DL> 167<DT><B>Parameters:</B><DD><CODE>dataOutput</CODE> - is the output tuple.</DL> 168</DD> 169</DL> 170<HR> 171 172<A NAME="unmarshalEntry(com.sleepycat.bind.tuple.TupleInput)"><!-- --></A><H3> 173unmarshalEntry</H3> 174<PRE> 175void <B>unmarshalEntry</B>(<A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html" title="class in com.sleepycat.bind.tuple">TupleInput</A> dataInput)</PRE> 176<DL> 177<DD>Construct the key or data object from the key or data tuple entry. 178<P> 179<DD><DL> 180<DT><B>Parameters:</B><DD><CODE>dataInput</CODE> - is the input tuple.</DL> 181</DD> 182</DL> 183<!-- ========= END OF CLASS DATA ========= --> 184<HR> 185 186 187<!-- ======= START OF BOTTOM NAVBAR ====== --> 188<A NAME="navbar_bottom"><!-- --></A> 189<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 190<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 191<TR> 192<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 193<A NAME="navbar_bottom_firstrow"><!-- --></A> 194<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 195 <TR ALIGN="center" VALIGN="top"> 196 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 197 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 198 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 199 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MarshalledTupleEntry.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 200 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 201 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 202 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 203 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 204 </TR> 205</TABLE> 206</TD> 207<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 208<b>Berkeley DB</b><br><font size="-1"> version 4.8.30</font></EM> 209</TD> 210</TR> 211 212<TR> 213<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 214 <A HREF="../../../../com/sleepycat/bind/tuple/LongBinding.html" title="class in com.sleepycat.bind.tuple"><B>PREV CLASS</B></A> 215 <A HREF="../../../../com/sleepycat/bind/tuple/MarshalledTupleKeyEntity.html" title="interface in com.sleepycat.bind.tuple"><B>NEXT CLASS</B></A></FONT></TD> 216<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 217 <A HREF="../../../../index.html?com/sleepycat/bind/tuple/MarshalledTupleEntry.html" target="_top"><B>FRAMES</B></A> 218 <A HREF="MarshalledTupleEntry.html" target="_top"><B>NO FRAMES</B></A> 219 <SCRIPT type="text/javascript"> 220 <!-- 221 if(window==top) { 222 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 223 } 224 //--> 225</SCRIPT> 226<NOSCRIPT> 227 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> 228</NOSCRIPT> 229 230 231</FONT></TD> 232</TR> 233<TR> 234<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 235 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> 236<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 237DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> 238</TR> 239</TABLE> 240<A NAME="skip-navbar_bottom"></A> 241<!-- ======== END OF BOTTOM NAVBAR ======= --> 242 243<HR> 244<font size=1>Copyright (c) 1996-2009 Oracle. All rights reserved.</font> 245</BODY> 246</HTML> 247