<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_18) on Thu Dec 02 16:59:39 UTC 2010 --> <TITLE> TupleTupleBinding </TITLE> <META NAME="date" CONTENT="2010-12-02"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="TupleTupleBinding"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bdb.bind.tuple"><B>PREV CLASS</B></A> <A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleTupleKeyExtractor.html" title="class in com.sleepycat.bdb.bind.tuple"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?com/sleepycat/bdb/bind/tuple/TupleTupleBinding.html" target="_top"><B>FRAMES</B></A> <A HREF="TupleTupleBinding.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> com.sleepycat.bdb.bind.tuple</FONT> <BR> Class TupleTupleBinding</H2> <PRE> java.lang.Object <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>com.sleepycat.bdb.bind.tuple.TupleTupleBinding</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../com/sleepycat/bdb/bind/EntityBinding.html" title="interface in com.sleepycat.bdb.bind">EntityBinding</A></DD> </DL> <DL> <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleTupleMarshalledBinding.html" title="class in com.sleepycat.bdb.bind.tuple">TupleTupleMarshalledBinding</A></DD> </DL> <HR> <DL> <DT><PRE>public abstract class <B>TupleTupleBinding</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../../com/sleepycat/bdb/bind/EntityBinding.html" title="interface in com.sleepycat.bdb.bind">EntityBinding</A></DL> </PRE> <P> An abstract entity binding that uses a tuple key and a tuple value. This class takes care of converting the data to/from <A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleInput.html" title="class in com.sleepycat.bdb.bind.tuple"><CODE>TupleInput</CODE></A> and <A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bdb.bind.tuple"><CODE>TupleOutput</CODE></A> objects. Its three abstract methods must be implemented by a concrete subclass to convert between tuples and entity objects. <ul> <li> <A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleTupleBinding.html#dataToObject(com.sleepycat.bdb.bind.tuple.TupleInput, com.sleepycat.bdb.bind.tuple.TupleInput)"><CODE>dataToObject(TupleInput,TupleInput)</CODE></A> </li> <li> <A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleTupleBinding.html#objectToKey(java.lang.Object, com.sleepycat.bdb.bind.tuple.TupleOutput)"><CODE>objectToKey(Object,TupleOutput)</CODE></A> </li> <li> <A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleTupleBinding.html#objectToValue(java.lang.Object, com.sleepycat.bdb.bind.tuple.TupleOutput)"><CODE>objectToValue(Object,TupleOutput)</CODE></A> </li> </ul> <P> <P> <HR> <P> <!-- =========== FIELD SUMMARY =========== --> <A NAME="field_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Field Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleFormat.html" title="class in com.sleepycat.bdb.bind.tuple">TupleFormat</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleTupleBinding.html#keyFormat">keyFormat</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleFormat.html" title="class in com.sleepycat.bdb.bind.tuple">TupleFormat</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleTupleBinding.html#valueFormat">valueFormat</A></B></CODE> <BR> </TD> </TR> </TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Constructor Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleTupleBinding.html#TupleTupleBinding(com.sleepycat.bdb.bind.tuple.TupleFormat, com.sleepycat.bdb.bind.tuple.TupleFormat)">TupleTupleBinding</A></B>(<A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleFormat.html" title="class in com.sleepycat.bdb.bind.tuple">TupleFormat</A> keyFormat, <A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleFormat.html" title="class in com.sleepycat.bdb.bind.tuple">TupleFormat</A> valueFormat)</CODE> <BR> Creates a tuple-tuple entity binding.</TD> </TR> </TABLE> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.Object</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleTupleBinding.html#dataToObject(com.sleepycat.bdb.bind.DataBuffer, com.sleepycat.bdb.bind.DataBuffer)">dataToObject</A></B>(<A HREF="../../../../../com/sleepycat/bdb/bind/DataBuffer.html" title="interface in com.sleepycat.bdb.bind">DataBuffer</A> key, <A HREF="../../../../../com/sleepycat/bdb/bind/DataBuffer.html" title="interface in com.sleepycat.bdb.bind">DataBuffer</A> value)</CODE> <BR> Converts key and value data buffers into an entity Object.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>abstract java.lang.Object</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleTupleBinding.html#dataToObject(com.sleepycat.bdb.bind.tuple.TupleInput, com.sleepycat.bdb.bind.tuple.TupleInput)">dataToObject</A></B>(<A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleInput.html" title="class in com.sleepycat.bdb.bind.tuple">TupleInput</A> keyInput, <A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleInput.html" title="class in com.sleepycat.bdb.bind.tuple">TupleInput</A> valueInput)</CODE> <BR> Constructs an entity object from <A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleInput.html" title="class in com.sleepycat.bdb.bind.tuple"><CODE>TupleInput</CODE></A> key and value data objects.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../com/sleepycat/bdb/bind/DataFormat.html" title="interface in com.sleepycat.bdb.bind">DataFormat</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleTupleBinding.html#getKeyFormat()">getKeyFormat</A></B>()</CODE> <BR> Returns the format used for the key data of this binding.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../com/sleepycat/bdb/bind/DataFormat.html" title="interface in com.sleepycat.bdb.bind">DataFormat</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleTupleBinding.html#getValueFormat()">getValueFormat</A></B>()</CODE> <BR> Returns the format used for the value data of this binding.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleTupleBinding.html#objectToKey(java.lang.Object, com.sleepycat.bdb.bind.DataBuffer)">objectToKey</A></B>(java.lang.Object object, <A HREF="../../../../../com/sleepycat/bdb/bind/DataBuffer.html" title="interface in com.sleepycat.bdb.bind">DataBuffer</A> key)</CODE> <BR> Extracts the key data from an entity Object.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>abstract void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleTupleBinding.html#objectToKey(java.lang.Object, com.sleepycat.bdb.bind.tuple.TupleOutput)">objectToKey</A></B>(java.lang.Object object, <A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bdb.bind.tuple">TupleOutput</A> output)</CODE> <BR> Extracts a key tuple from an entity object.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleTupleBinding.html#objectToValue(java.lang.Object, com.sleepycat.bdb.bind.DataBuffer)">objectToValue</A></B>(java.lang.Object object, <A HREF="../../../../../com/sleepycat/bdb/bind/DataBuffer.html" title="interface in com.sleepycat.bdb.bind">DataBuffer</A> value)</CODE> <BR> Extracts the value data from an entity Object.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>abstract void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleTupleBinding.html#objectToValue(java.lang.Object, com.sleepycat.bdb.bind.tuple.TupleOutput)">objectToValue</A></B>(java.lang.Object object, <A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bdb.bind.tuple">TupleOutput</A> output)</CODE> <BR> Extracts a key tuple from an entity object.</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> </TR> </TABLE> <P> <!-- ============ FIELD DETAIL =========== --> <A NAME="field_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Field Detail</B></FONT></TH> </TR> </TABLE> <A NAME="keyFormat"><!-- --></A><H3> keyFormat</H3> <PRE> protected <A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleFormat.html" title="class in com.sleepycat.bdb.bind.tuple">TupleFormat</A> <B>keyFormat</B></PRE> <DL> <DL> </DL> </DL> <HR> <A NAME="valueFormat"><!-- --></A><H3> valueFormat</H3> <PRE> protected <A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleFormat.html" title="class in com.sleepycat.bdb.bind.tuple">TupleFormat</A> <B>valueFormat</B></PRE> <DL> <DL> </DL> </DL> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Constructor Detail</B></FONT></TH> </TR> </TABLE> <A NAME="TupleTupleBinding(com.sleepycat.bdb.bind.tuple.TupleFormat, com.sleepycat.bdb.bind.tuple.TupleFormat)"><!-- --></A><H3> TupleTupleBinding</H3> <PRE> public <B>TupleTupleBinding</B>(<A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleFormat.html" title="class in com.sleepycat.bdb.bind.tuple">TupleFormat</A> keyFormat, <A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleFormat.html" title="class in com.sleepycat.bdb.bind.tuple">TupleFormat</A> valueFormat)</PRE> <DL> <DD>Creates a tuple-tuple entity binding. <P> <DL> <DT><B>Parameters:</B><DD><CODE>keyFormat</CODE> - is the key format.<DD><CODE>valueFormat</CODE> - is the value format.</DL> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="dataToObject(com.sleepycat.bdb.bind.DataBuffer, com.sleepycat.bdb.bind.DataBuffer)"><!-- --></A><H3> dataToObject</H3> <PRE> public java.lang.Object <B>dataToObject</B>(<A HREF="../../../../../com/sleepycat/bdb/bind/DataBuffer.html" title="interface in com.sleepycat.bdb.bind">DataBuffer</A> key, <A HREF="../../../../../com/sleepycat/bdb/bind/DataBuffer.html" title="interface in com.sleepycat.bdb.bind">DataBuffer</A> value) throws java.io.IOException</PRE> <DL> <DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/sleepycat/bdb/bind/EntityBinding.html#dataToObject(com.sleepycat.bdb.bind.DataBuffer, com.sleepycat.bdb.bind.DataBuffer)">EntityBinding</A></CODE></B></DD> <DD>Converts key and value data buffers into an entity Object. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sleepycat/bdb/bind/EntityBinding.html#dataToObject(com.sleepycat.bdb.bind.DataBuffer, com.sleepycat.bdb.bind.DataBuffer)">dataToObject</A></CODE> in interface <CODE><A HREF="../../../../../com/sleepycat/bdb/bind/EntityBinding.html" title="interface in com.sleepycat.bdb.bind">EntityBinding</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>key</CODE> - is the source key data.<DD><CODE>value</CODE> - is the source value data. <DT><B>Returns:</B><DD>the resulting Object. <DT><B>Throws:</B> <DD><CODE>java.io.IOException</CODE></DL> </DD> </DL> <HR> <A NAME="objectToKey(java.lang.Object, com.sleepycat.bdb.bind.DataBuffer)"><!-- --></A><H3> objectToKey</H3> <PRE> public void <B>objectToKey</B>(java.lang.Object object, <A HREF="../../../../../com/sleepycat/bdb/bind/DataBuffer.html" title="interface in com.sleepycat.bdb.bind">DataBuffer</A> key) throws java.io.IOException</PRE> <DL> <DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/sleepycat/bdb/bind/EntityBinding.html#objectToKey(java.lang.Object, com.sleepycat.bdb.bind.DataBuffer)">EntityBinding</A></CODE></B></DD> <DD>Extracts the key data from an entity Object. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sleepycat/bdb/bind/EntityBinding.html#objectToKey(java.lang.Object, com.sleepycat.bdb.bind.DataBuffer)">objectToKey</A></CODE> in interface <CODE><A HREF="../../../../../com/sleepycat/bdb/bind/EntityBinding.html" title="interface in com.sleepycat.bdb.bind">EntityBinding</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>object</CODE> - is the source Object.<DD><CODE>key</CODE> - is the destination data buffer. <DT><B>Throws:</B> <DD><CODE>java.io.IOException</CODE></DL> </DD> </DL> <HR> <A NAME="objectToValue(java.lang.Object, com.sleepycat.bdb.bind.DataBuffer)"><!-- --></A><H3> objectToValue</H3> <PRE> public void <B>objectToValue</B>(java.lang.Object object, <A HREF="../../../../../com/sleepycat/bdb/bind/DataBuffer.html" title="interface in com.sleepycat.bdb.bind">DataBuffer</A> value) throws java.io.IOException</PRE> <DL> <DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/sleepycat/bdb/bind/EntityBinding.html#objectToValue(java.lang.Object, com.sleepycat.bdb.bind.DataBuffer)">EntityBinding</A></CODE></B></DD> <DD>Extracts the value data from an entity Object. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sleepycat/bdb/bind/EntityBinding.html#objectToValue(java.lang.Object, com.sleepycat.bdb.bind.DataBuffer)">objectToValue</A></CODE> in interface <CODE><A HREF="../../../../../com/sleepycat/bdb/bind/EntityBinding.html" title="interface in com.sleepycat.bdb.bind">EntityBinding</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>object</CODE> - is the source Object.<DD><CODE>value</CODE> - is the destination data buffer. <DT><B>Throws:</B> <DD><CODE>java.io.IOException</CODE></DL> </DD> </DL> <HR> <A NAME="getKeyFormat()"><!-- --></A><H3> getKeyFormat</H3> <PRE> public <A HREF="../../../../../com/sleepycat/bdb/bind/DataFormat.html" title="interface in com.sleepycat.bdb.bind">DataFormat</A> <B>getKeyFormat</B>()</PRE> <DL> <DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/sleepycat/bdb/bind/EntityBinding.html#getKeyFormat()">EntityBinding</A></CODE></B></DD> <DD>Returns the format used for the key data of this binding. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sleepycat/bdb/bind/EntityBinding.html#getKeyFormat()">getKeyFormat</A></CODE> in interface <CODE><A HREF="../../../../../com/sleepycat/bdb/bind/EntityBinding.html" title="interface in com.sleepycat.bdb.bind">EntityBinding</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the key data format.</DL> </DD> </DL> <HR> <A NAME="getValueFormat()"><!-- --></A><H3> getValueFormat</H3> <PRE> public <A HREF="../../../../../com/sleepycat/bdb/bind/DataFormat.html" title="interface in com.sleepycat.bdb.bind">DataFormat</A> <B>getValueFormat</B>()</PRE> <DL> <DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/sleepycat/bdb/bind/EntityBinding.html#getValueFormat()">EntityBinding</A></CODE></B></DD> <DD>Returns the format used for the value data of this binding. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sleepycat/bdb/bind/EntityBinding.html#getValueFormat()">getValueFormat</A></CODE> in interface <CODE><A HREF="../../../../../com/sleepycat/bdb/bind/EntityBinding.html" title="interface in com.sleepycat.bdb.bind">EntityBinding</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the value data format.</DL> </DD> </DL> <HR> <A NAME="dataToObject(com.sleepycat.bdb.bind.tuple.TupleInput, com.sleepycat.bdb.bind.tuple.TupleInput)"><!-- --></A><H3> dataToObject</H3> <PRE> public abstract java.lang.Object <B>dataToObject</B>(<A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleInput.html" title="class in com.sleepycat.bdb.bind.tuple">TupleInput</A> keyInput, <A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleInput.html" title="class in com.sleepycat.bdb.bind.tuple">TupleInput</A> valueInput) throws java.io.IOException</PRE> <DL> <DD>Constructs an entity object from <A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleInput.html" title="class in com.sleepycat.bdb.bind.tuple"><CODE>TupleInput</CODE></A> key and value data objects. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>keyInput</CODE> - is the <A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleInput.html" title="class in com.sleepycat.bdb.bind.tuple"><CODE>TupleInput</CODE></A> key data object.<DD><CODE>valueInput</CODE> - is the <A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleInput.html" title="class in com.sleepycat.bdb.bind.tuple"><CODE>TupleInput</CODE></A> value data object. <DT><B>Returns:</B><DD>the entity object constructed from the key and value. <DT><B>Throws:</B> <DD><CODE>java.io.IOException</CODE></DL> </DD> </DL> <HR> <A NAME="objectToKey(java.lang.Object, com.sleepycat.bdb.bind.tuple.TupleOutput)"><!-- --></A><H3> objectToKey</H3> <PRE> public abstract void <B>objectToKey</B>(java.lang.Object object, <A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bdb.bind.tuple">TupleOutput</A> output) throws java.io.IOException</PRE> <DL> <DD>Extracts a key tuple from an entity object. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>object</CODE> - is the entity object.<DD><CODE>output</CODE> - is the <A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bdb.bind.tuple"><CODE>TupleOutput</CODE></A> to which the key should be written. <DT><B>Throws:</B> <DD><CODE>java.io.IOException</CODE></DL> </DD> </DL> <HR> <A NAME="objectToValue(java.lang.Object, com.sleepycat.bdb.bind.tuple.TupleOutput)"><!-- --></A><H3> objectToValue</H3> <PRE> public abstract void <B>objectToValue</B>(java.lang.Object object, <A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bdb.bind.tuple">TupleOutput</A> output) throws java.io.IOException</PRE> <DL> <DD>Extracts a key tuple from an entity object. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>object</CODE> - is the entity object.<DD><CODE>output</CODE> - is the <A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bdb.bind.tuple"><CODE>TupleOutput</CODE></A> to which the value should be written. <DT><B>Throws:</B> <DD><CODE>java.io.IOException</CODE></DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bdb.bind.tuple"><B>PREV CLASS</B></A> <A HREF="../../../../../com/sleepycat/bdb/bind/tuple/TupleTupleKeyExtractor.html" title="class in com.sleepycat.bdb.bind.tuple"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?com/sleepycat/bdb/bind/tuple/TupleTupleBinding.html" target="_top"><B>FRAMES</B></A> <A HREF="TupleTupleBinding.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>