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:50 EDT 2010 --> 6<TITLE> 7TupleSerialFactory (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="TupleSerialFactory (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/TupleSerialFactory.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/collections/TransactionWorker.html" title="interface in com.sleepycat.collections"><B>PREV CLASS</B></A> 59 NEXT CLASS</FONT></TD> 60<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 61 <A HREF="../../../index.html?com/sleepycat/collections/TupleSerialFactory.html" target="_top"><B>FRAMES</B></A> 62 <A HREF="TupleSerialFactory.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.collections</FONT> 92<BR> 93Class TupleSerialFactory</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 "><B>com.sleepycat.collections.TupleSerialFactory</B> 97</PRE> 98<HR> 99<DL> 100<DT><PRE>public class <B>TupleSerialFactory</B><DT>extends <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></DL> 101</PRE> 102 103<P> 104Creates stored collections having tuple keys and serialized entity values. 105 The entity classes must be Serializable and must implement the 106 MarshalledTupleKeyEntity interfaces. The key classes must either implement 107 the MarshalledTupleEntry interface or be one of the Java primitive type 108 classes. Underlying binding objects are created automatically. 109<P> 110 111<P> 112<HR> 113 114<P> 115 116<!-- ======== CONSTRUCTOR SUMMARY ======== --> 117 118<A NAME="constructor_summary"><!-- --></A> 119<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 120<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 121<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 122<B>Constructor Summary</B></FONT></TH> 123</TR> 124<TR BGCOLOR="white" CLASS="TableRowColor"> 125<TD><CODE><B><A HREF="../../../com/sleepycat/collections/TupleSerialFactory.html#TupleSerialFactory(com.sleepycat.bind.serial.ClassCatalog)">TupleSerialFactory</A></B>(<A HREF="../../../com/sleepycat/bind/serial/ClassCatalog.html" title="interface in com.sleepycat.bind.serial">ClassCatalog</A> catalog)</CODE> 126 127<BR> 128 Creates a tuple-serial factory for given environment and class catalog.</TD> 129</TR> 130</TABLE> 131 132<!-- ========== METHOD SUMMARY =========== --> 133 134<A NAME="method_summary"><!-- --></A> 135<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 136<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 137<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 138<B>Method Summary</B></FONT></TH> 139</TR> 140<TR BGCOLOR="white" CLASS="TableRowColor"> 141<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 142<CODE> <A HREF="../../../com/sleepycat/bind/serial/ClassCatalog.html" title="interface in com.sleepycat.bind.serial">ClassCatalog</A></CODE></FONT></TD> 143<TD><CODE><B><A HREF="../../../com/sleepycat/collections/TupleSerialFactory.html#getCatalog()">getCatalog</A></B>()</CODE> 144 145<BR> 146 Returns the class catalog associated with this factory.</TD> 147</TR> 148<TR BGCOLOR="white" CLASS="TableRowColor"> 149<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 150<CODE> 151<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 152<TR ALIGN="right" VALIGN=""> 153<TD NOWRAP><FONT SIZE="-1"> 154<CODE><V extends <A HREF="../../../com/sleepycat/bind/tuple/MarshalledTupleKeyEntity.html" title="interface in com.sleepycat.bind.tuple">MarshalledTupleKeyEntity</A>> 155<BR> 156<A HREF="../../../com/sleepycat/bind/serial/TupleSerialMarshalledBinding.html" title="class in com.sleepycat.bind.serial">TupleSerialMarshalledBinding</A><V></CODE></FONT></TD> 157</TR> 158</TABLE> 159</CODE></FONT></TD> 160<TD><CODE><B><A HREF="../../../com/sleepycat/collections/TupleSerialFactory.html#getEntityBinding(java.lang.Class)">getEntityBinding</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><V> baseClass)</CODE> 161 162<BR> 163 </TD> 164</TR> 165<TR BGCOLOR="white" CLASS="TableRowColor"> 166<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 167<CODE> 168<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 169<TR ALIGN="right" VALIGN=""> 170<TD NOWRAP><FONT SIZE="-1"> 171<CODE><V extends <A HREF="../../../com/sleepycat/bind/tuple/MarshalledTupleKeyEntity.html" title="interface in com.sleepycat.bind.tuple">MarshalledTupleKeyEntity</A>> 172<BR> 173<A HREF="../../../com/sleepycat/bind/serial/TupleSerialMarshalledKeyCreator.html" title="class in com.sleepycat.bind.serial">TupleSerialMarshalledKeyCreator</A><V></CODE></FONT></TD> 174</TR> 175</TABLE> 176</CODE></FONT></TD> 177<TD><CODE><B><A HREF="../../../com/sleepycat/collections/TupleSerialFactory.html#getKeyCreator(java.lang.Class, java.lang.String)">getKeyCreator</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><V> valueBaseClass, 178 <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> keyName)</CODE> 179 180<BR> 181 Creates a <code>SecondaryKeyCreator</code> object for use in configuring 182 a <code>SecondaryDatabase</code>.</TD> 183</TR> 184<TR BGCOLOR="white" CLASS="TableRowColor"> 185<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 186<CODE> 187<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 188<TR ALIGN="right" VALIGN=""> 189<TD NOWRAP><FONT SIZE="-1"> 190<CODE><K,V extends <A HREF="../../../com/sleepycat/bind/tuple/MarshalledTupleKeyEntity.html" title="interface in com.sleepycat.bind.tuple">MarshalledTupleKeyEntity</A>> 191<BR> 192<A HREF="../../../com/sleepycat/collections/StoredMap.html" title="class in com.sleepycat.collections">StoredMap</A><K,V></CODE></FONT></TD> 193</TR> 194</TABLE> 195</CODE></FONT></TD> 196<TD><CODE><B><A HREF="../../../com/sleepycat/collections/TupleSerialFactory.html#newMap(com.sleepycat.db.Database, java.lang.Class, java.lang.Class, boolean)">newMap</A></B>(<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A> db, 197 <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><K> keyClass, 198 <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><V> valueBaseClass, 199 boolean writeAllowed)</CODE> 200 201<BR> 202 Creates a map from a previously opened Database object.</TD> 203</TR> 204<TR BGCOLOR="white" CLASS="TableRowColor"> 205<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 206<CODE> 207<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 208<TR ALIGN="right" VALIGN=""> 209<TD NOWRAP><FONT SIZE="-1"> 210<CODE><K,V extends <A HREF="../../../com/sleepycat/bind/tuple/MarshalledTupleKeyEntity.html" title="interface in com.sleepycat.bind.tuple">MarshalledTupleKeyEntity</A>> 211<BR> 212<A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="class in com.sleepycat.collections">StoredSortedMap</A><K,V></CODE></FONT></TD> 213</TR> 214</TABLE> 215</CODE></FONT></TD> 216<TD><CODE><B><A HREF="../../../com/sleepycat/collections/TupleSerialFactory.html#newSortedMap(com.sleepycat.db.Database, java.lang.Class, java.lang.Class, boolean)">newSortedMap</A></B>(<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A> db, 217 <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><K> keyClass, 218 <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><V> valueBaseClass, 219 boolean writeAllowed)</CODE> 220 221<BR> 222 Creates a sorted map from a previously opened Database object.</TD> 223</TR> 224</TABLE> 225 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 226<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 227<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 228<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> 229</TR> 230<TR BGCOLOR="white" CLASS="TableRowColor"> 231<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#equals(java.lang.Object)" title="class or interface in java.lang">equals</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#hashCode()" title="class or interface in java.lang">hashCode</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> 232</TR> 233</TABLE> 234 235<P> 236 237<!-- ========= CONSTRUCTOR DETAIL ======== --> 238 239<A NAME="constructor_detail"><!-- --></A> 240<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 241<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 242<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 243<B>Constructor Detail</B></FONT></TH> 244</TR> 245</TABLE> 246 247<A NAME="TupleSerialFactory(com.sleepycat.bind.serial.ClassCatalog)"><!-- --></A><H3> 248TupleSerialFactory</H3> 249<PRE> 250public <B>TupleSerialFactory</B>(<A HREF="../../../com/sleepycat/bind/serial/ClassCatalog.html" title="interface in com.sleepycat.bind.serial">ClassCatalog</A> catalog)</PRE> 251<DL> 252<DD>Creates a tuple-serial factory for given environment and class catalog. 253<P> 254</DL> 255 256<!-- ============ METHOD DETAIL ========== --> 257 258<A NAME="method_detail"><!-- --></A> 259<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 260<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 261<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 262<B>Method Detail</B></FONT></TH> 263</TR> 264</TABLE> 265 266<A NAME="getCatalog()"><!-- --></A><H3> 267getCatalog</H3> 268<PRE> 269public final <A HREF="../../../com/sleepycat/bind/serial/ClassCatalog.html" title="interface in com.sleepycat.bind.serial">ClassCatalog</A> <B>getCatalog</B>()</PRE> 270<DL> 271<DD>Returns the class catalog associated with this factory. 272<P> 273<DD><DL> 274</DL> 275</DD> 276</DL> 277<HR> 278 279<A NAME="newMap(com.sleepycat.db.Database, java.lang.Class, java.lang.Class, boolean)"><!-- --></A><H3> 280newMap</H3> 281<PRE> 282public <K,V extends <A HREF="../../../com/sleepycat/bind/tuple/MarshalledTupleKeyEntity.html" title="interface in com.sleepycat.bind.tuple">MarshalledTupleKeyEntity</A>> <A HREF="../../../com/sleepycat/collections/StoredMap.html" title="class in com.sleepycat.collections">StoredMap</A><K,V> <B>newMap</B>(<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A> db, 283 <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><K> keyClass, 284 <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><V> valueBaseClass, 285 boolean writeAllowed)</PRE> 286<DL> 287<DD>Creates a map from a previously opened Database object. 288<P> 289<DD><DL> 290<DT><B>Parameters:</B><DD><CODE>db</CODE> - the previously opened Database object.<DD><CODE>keyClass</CODE> - is the class used for map keys. It must implement the 291 <A HREF="../../../com/sleepycat/bind/tuple/MarshalledTupleEntry.html" title="interface in com.sleepycat.bind.tuple"><CODE>MarshalledTupleEntry</CODE></A> interface or be one of the Java primitive 292 type classes.<DD><CODE>valueBaseClass</CODE> - the base class of the entity values for this 293 store. It must implement the <A HREF="../../../com/sleepycat/bind/tuple/MarshalledTupleKeyEntity.html" title="interface in com.sleepycat.bind.tuple"><CODE>MarshalledTupleKeyEntity</CODE></A> 294 interface.<DD><CODE>writeAllowed</CODE> - is true to create a read-write collection or false 295 to create a read-only collection.</DL> 296</DD> 297</DL> 298<HR> 299 300<A NAME="newSortedMap(com.sleepycat.db.Database, java.lang.Class, java.lang.Class, boolean)"><!-- --></A><H3> 301newSortedMap</H3> 302<PRE> 303public <K,V extends <A HREF="../../../com/sleepycat/bind/tuple/MarshalledTupleKeyEntity.html" title="interface in com.sleepycat.bind.tuple">MarshalledTupleKeyEntity</A>> <A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="class in com.sleepycat.collections">StoredSortedMap</A><K,V> <B>newSortedMap</B>(<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A> db, 304 <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><K> keyClass, 305 <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><V> valueBaseClass, 306 boolean writeAllowed)</PRE> 307<DL> 308<DD>Creates a sorted map from a previously opened Database object. 309<P> 310<DD><DL> 311<DT><B>Parameters:</B><DD><CODE>db</CODE> - the previously opened Database object.<DD><CODE>keyClass</CODE> - is the class used for map keys. It must implement the 312 <A HREF="../../../com/sleepycat/bind/tuple/MarshalledTupleEntry.html" title="interface in com.sleepycat.bind.tuple"><CODE>MarshalledTupleEntry</CODE></A> interface or be one of the Java primitive 313 type classes.<DD><CODE>valueBaseClass</CODE> - the base class of the entity values for this 314 store. It must implement the <A HREF="../../../com/sleepycat/bind/tuple/MarshalledTupleKeyEntity.html" title="interface in com.sleepycat.bind.tuple"><CODE>MarshalledTupleKeyEntity</CODE></A> 315 interface.<DD><CODE>writeAllowed</CODE> - is true to create a read-write collection or false 316 to create a read-only collection.</DL> 317</DD> 318</DL> 319<HR> 320 321<A NAME="getKeyCreator(java.lang.Class, java.lang.String)"><!-- --></A><H3> 322getKeyCreator</H3> 323<PRE> 324public <V extends <A HREF="../../../com/sleepycat/bind/tuple/MarshalledTupleKeyEntity.html" title="interface in com.sleepycat.bind.tuple">MarshalledTupleKeyEntity</A>> <A HREF="../../../com/sleepycat/bind/serial/TupleSerialMarshalledKeyCreator.html" title="class in com.sleepycat.bind.serial">TupleSerialMarshalledKeyCreator</A><V> <B>getKeyCreator</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><V> valueBaseClass, 325 <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> keyName)</PRE> 326<DL> 327<DD>Creates a <code>SecondaryKeyCreator</code> object for use in configuring 328 a <code>SecondaryDatabase</code>. The returned object implements 329 the <A HREF="../../../com/sleepycat/db/SecondaryKeyCreator.html" title="interface in com.sleepycat.db"><CODE>SecondaryKeyCreator</CODE></A> interface. 330<P> 331<DD><DL> 332<DT><B>Parameters:</B><DD><CODE>valueBaseClass</CODE> - the base class of the entity values for this 333 store. It must implement the <A HREF="../../../com/sleepycat/bind/tuple/MarshalledTupleKeyEntity.html" title="interface in com.sleepycat.bind.tuple"><CODE>MarshalledTupleKeyEntity</CODE></A> 334 interface.<DD><CODE>keyName</CODE> - is the key name passed to the <A HREF="../../../com/sleepycat/bind/tuple/MarshalledTupleKeyEntity.html#marshalSecondaryKey(java.lang.String, com.sleepycat.bind.tuple.TupleOutput)"><CODE>MarshalledTupleKeyEntity.marshalSecondaryKey(java.lang.String, com.sleepycat.bind.tuple.TupleOutput)</CODE></A> method to identify the 335 secondary key.</DL> 336</DD> 337</DL> 338<HR> 339 340<A NAME="getEntityBinding(java.lang.Class)"><!-- --></A><H3> 341getEntityBinding</H3> 342<PRE> 343public <V extends <A HREF="../../../com/sleepycat/bind/tuple/MarshalledTupleKeyEntity.html" title="interface in com.sleepycat.bind.tuple">MarshalledTupleKeyEntity</A>> <A HREF="../../../com/sleepycat/bind/serial/TupleSerialMarshalledBinding.html" title="class in com.sleepycat.bind.serial">TupleSerialMarshalledBinding</A><V> <B>getEntityBinding</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><V> baseClass)</PRE> 344<DL> 345<DD><DL> 346</DL> 347</DD> 348</DL> 349<!-- ========= END OF CLASS DATA ========= --> 350<HR> 351 352 353<!-- ======= START OF BOTTOM NAVBAR ====== --> 354<A NAME="navbar_bottom"><!-- --></A> 355<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 356<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 357<TR> 358<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 359<A NAME="navbar_bottom_firstrow"><!-- --></A> 360<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 361 <TR ALIGN="center" VALIGN="top"> 362 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 363 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 364 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 365 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TupleSerialFactory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 366 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 367 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 368 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 369 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 370 </TR> 371</TABLE> 372</TD> 373<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 374<b>Berkeley DB</b><br><font size="-1"> version 4.8.30</font></EM> 375</TD> 376</TR> 377 378<TR> 379<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 380 <A HREF="../../../com/sleepycat/collections/TransactionWorker.html" title="interface in com.sleepycat.collections"><B>PREV CLASS</B></A> 381 NEXT CLASS</FONT></TD> 382<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 383 <A HREF="../../../index.html?com/sleepycat/collections/TupleSerialFactory.html" target="_top"><B>FRAMES</B></A> 384 <A HREF="TupleSerialFactory.html" target="_top"><B>NO FRAMES</B></A> 385 <SCRIPT type="text/javascript"> 386 <!-- 387 if(window==top) { 388 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); 389 } 390 //--> 391</SCRIPT> 392<NOSCRIPT> 393 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> 394</NOSCRIPT> 395 396 397</FONT></TD> 398</TR> 399<TR> 400<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 401 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 402<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 403DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 404</TR> 405</TABLE> 406<A NAME="skip-navbar_bottom"></A> 407<!-- ======== END OF BOTTOM NAVBAR ======= --> 408 409<HR> 410<font size=1>Copyright (c) 1996-2009 Oracle. All rights reserved.</font> 411</BODY> 412</HTML> 413