| 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 |
MarshalledTupleEntry (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="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 |
|
| 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 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/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"> |
| 81 |
DETAIL: FIELD | CONSTR | <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.bind.tuple</FONT> |
| 92 |
<BR> |
| 93 |
Interface MarshalledTupleEntry</H2> |
| 94 |
<HR> |
| 95 |
<DL> |
| 96 |
<DT><PRE>public interface <B>MarshalledTupleEntry</B></DL> |
| 97 |
</PRE> |
| 98 |
|
| 99 |
<P> |
| 100 |
A 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 |
|
| 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 |
|
| 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> |
| 160 |
marshalEntry</H3> |
| 161 |
<PRE> |
| 162 |
void <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> |
| 173 |
unmarshalEntry</H3> |
| 174 |
<PRE> |
| 175 |
void <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 |
|
| 184 |
<HR> |
| 185 |
|
| 186 |
|
| 187 |
|
| 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 5.3.28</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"> |
| 237 |
DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| 238 |
</TR> |
| 239 |
</TABLE> |
| 240 |
<A NAME="skip-navbar_bottom"></A> |
| 241 |
|
| 242 |
|
| 243 |
<HR> |
| 244 |
<font size=1>Copyright (c) 1996, 2013 Oracle and/or its affiliates. All rights reserved.</font> |
| 245 |
</BODY> |
| 246 |
</HTML> |