Sophie

Sophie

distrib > Mandriva > cooker > x86_64 > by-pkgid > d1d568934909030644561e00a0d5581d > files > 87

db4.2-javadoc-4.2.52-30mdv2011.0.x86_64.rpm

<!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:40 UTC 2010 -->
<TITLE>
TupleSerialDbFactory
</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="TupleSerialDbFactory";
    }
}
</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>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV CLASS&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/sleepycat/bdb/factory/TupleSerialDbFactory.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="TupleSerialDbFactory.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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.factory</FONT>
<BR>
Class TupleSerialDbFactory</H2>
<PRE>
java.lang.Object
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.sleepycat.bdb.factory.TupleSerialDbFactory</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>TupleSerialDbFactory</B><DT>extends java.lang.Object</DL>
</PRE>

<P>
Creates stored collections having tuple keys and serialized entity values.
 The entity classes must implement the java.io.Serializable and
 MarshalledTupleKeyEntity interfaces.  The key classes must either implement
 the MarshalledTupleData interface or be one of the Java primitive type
 classes.

 <p> This factory object is used to create DataStore, DataIndex,
 ForeignKeyIndex and Map objects.  The underlying DataFormat,
 DataBinding and KeyExtractor objects are created automatically. </p>
<P>

<P>
<HR>

<P>

<!-- ======== 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/factory/TupleSerialDbFactory.html#TupleSerialDbFactory(com.sleepycat.bdb.bind.serial.ClassCatalog)">TupleSerialDbFactory</A></B>(<A HREF="../../../../com/sleepycat/bdb/bind/serial/ClassCatalog.html" title="interface in com.sleepycat.bdb.bind.serial">ClassCatalog</A>&nbsp;catalog)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a tuple-serial factory for given environment and class catalog.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== 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>&nbsp;<A HREF="../../../../com/sleepycat/bdb/bind/serial/ClassCatalog.html" title="interface in com.sleepycat.bdb.bind.serial">ClassCatalog</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sleepycat/bdb/factory/TupleSerialDbFactory.html#getCatalog()">getCatalog</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the class catalog associated with this factory.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/sleepycat/bdb/DataIndex.html" title="class in com.sleepycat.bdb">DataIndex</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sleepycat/bdb/factory/TupleSerialDbFactory.html#newDataIndex(com.sleepycat.bdb.DataStore, com.sleepycat.db.Db, java.lang.String, boolean, boolean)">newDataIndex</A></B>(<A HREF="../../../../com/sleepycat/bdb/DataStore.html" title="class in com.sleepycat.bdb">DataStore</A>&nbsp;store,
             <A HREF="../../../../com/sleepycat/db/Db.html" title="class in com.sleepycat.db">Db</A>&nbsp;db,
             java.lang.String&nbsp;keyName,
             boolean&nbsp;usePrimaryKey,
             boolean&nbsp;useValue)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an index from a previously opened Db object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/sleepycat/bdb/DataStore.html" title="class in com.sleepycat.bdb">DataStore</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sleepycat/bdb/factory/TupleSerialDbFactory.html#newDataStore(com.sleepycat.db.Db, java.lang.Class, com.sleepycat.bdb.PrimaryKeyAssigner)">newDataStore</A></B>(<A HREF="../../../../com/sleepycat/db/Db.html" title="class in com.sleepycat.db">Db</A>&nbsp;db,
             java.lang.Class&nbsp;baseClass,
             <A HREF="../../../../com/sleepycat/bdb/PrimaryKeyAssigner.html" title="interface in com.sleepycat.bdb">PrimaryKeyAssigner</A>&nbsp;keyAssigner)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a store from a previously opened Db object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/sleepycat/bdb/ForeignKeyIndex.html" title="class in com.sleepycat.bdb">ForeignKeyIndex</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sleepycat/bdb/factory/TupleSerialDbFactory.html#newForeignKeyIndex(com.sleepycat.bdb.DataStore, com.sleepycat.db.Db, java.lang.String, boolean, boolean, com.sleepycat.bdb.DataStore, int)">newForeignKeyIndex</A></B>(<A HREF="../../../../com/sleepycat/bdb/DataStore.html" title="class in com.sleepycat.bdb">DataStore</A>&nbsp;store,
                   <A HREF="../../../../com/sleepycat/db/Db.html" title="class in com.sleepycat.db">Db</A>&nbsp;db,
                   java.lang.String&nbsp;keyName,
                   boolean&nbsp;usePrimaryKey,
                   boolean&nbsp;useValue,
                   <A HREF="../../../../com/sleepycat/bdb/DataStore.html" title="class in com.sleepycat.bdb">DataStore</A>&nbsp;foreignStore,
                   int&nbsp;deleteAction)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a foreign key index from a previously opened Db object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/sleepycat/bdb/collection/StoredMap.html" title="class in com.sleepycat.bdb.collection">StoredMap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sleepycat/bdb/factory/TupleSerialDbFactory.html#newMap(com.sleepycat.bdb.DataIndex, java.lang.Class, boolean)">newMap</A></B>(<A HREF="../../../../com/sleepycat/bdb/DataIndex.html" title="class in com.sleepycat.bdb">DataIndex</A>&nbsp;index,
       java.lang.Class&nbsp;keyClass,
       boolean&nbsp;writeAllowed)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a map for a given index that was obtained from this factory.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/sleepycat/bdb/collection/StoredMap.html" title="class in com.sleepycat.bdb.collection">StoredMap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sleepycat/bdb/factory/TupleSerialDbFactory.html#newMap(com.sleepycat.bdb.DataStore, java.lang.Class, boolean)">newMap</A></B>(<A HREF="../../../../com/sleepycat/bdb/DataStore.html" title="class in com.sleepycat.bdb">DataStore</A>&nbsp;store,
       java.lang.Class&nbsp;keyClass,
       boolean&nbsp;writeAllowed)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a map for a given store that was obtained from this factory.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/sleepycat/bdb/collection/StoredSortedMap.html" title="class in com.sleepycat.bdb.collection">StoredSortedMap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sleepycat/bdb/factory/TupleSerialDbFactory.html#newSortedMap(com.sleepycat.bdb.DataIndex, java.lang.Class, boolean)">newSortedMap</A></B>(<A HREF="../../../../com/sleepycat/bdb/DataIndex.html" title="class in com.sleepycat.bdb">DataIndex</A>&nbsp;index,
             java.lang.Class&nbsp;keyClass,
             boolean&nbsp;writeAllowed)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a sorted map for a given index that was obtained from this
 factory.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/sleepycat/bdb/collection/StoredSortedMap.html" title="class in com.sleepycat.bdb.collection">StoredSortedMap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sleepycat/bdb/factory/TupleSerialDbFactory.html#newSortedMap(com.sleepycat.bdb.DataStore, java.lang.Class, boolean)">newSortedMap</A></B>(<A HREF="../../../../com/sleepycat/bdb/DataStore.html" title="class in com.sleepycat.bdb">DataStore</A>&nbsp;store,
             java.lang.Class&nbsp;keyClass,
             boolean&nbsp;writeAllowed)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a sorted map for a given store that was obtained from this
 factory.</TD>
</TR>
</TABLE>
&nbsp;<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>
&nbsp;
<P>

<!-- ========= 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="TupleSerialDbFactory(com.sleepycat.bdb.bind.serial.ClassCatalog)"><!-- --></A><H3>
TupleSerialDbFactory</H3>
<PRE>
public <B>TupleSerialDbFactory</B>(<A HREF="../../../../com/sleepycat/bdb/bind/serial/ClassCatalog.html" title="interface in com.sleepycat.bdb.bind.serial">ClassCatalog</A>&nbsp;catalog)</PRE>
<DL>
<DD>Creates a tuple-serial factory for given environment and class catalog.
<P>
</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="getCatalog()"><!-- --></A><H3>
getCatalog</H3>
<PRE>
public final <A HREF="../../../../com/sleepycat/bdb/bind/serial/ClassCatalog.html" title="interface in com.sleepycat.bdb.bind.serial">ClassCatalog</A> <B>getCatalog</B>()</PRE>
<DL>
<DD>Returns the class catalog associated with this factory.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="newDataStore(com.sleepycat.db.Db, java.lang.Class, com.sleepycat.bdb.PrimaryKeyAssigner)"><!-- --></A><H3>
newDataStore</H3>
<PRE>
public <A HREF="../../../../com/sleepycat/bdb/DataStore.html" title="class in com.sleepycat.bdb">DataStore</A> <B>newDataStore</B>(<A HREF="../../../../com/sleepycat/db/Db.html" title="class in com.sleepycat.db">Db</A>&nbsp;db,
                              java.lang.Class&nbsp;baseClass,
                              <A HREF="../../../../com/sleepycat/bdb/PrimaryKeyAssigner.html" title="interface in com.sleepycat.bdb">PrimaryKeyAssigner</A>&nbsp;keyAssigner)</PRE>
<DL>
<DD>Creates a store from a previously opened Db object.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>db</CODE> - the previously opened Db object.<DD><CODE>baseClass</CODE> - the base class of the entity values for this store.
 It must implement the  <A HREF="../../../../com/sleepycat/bdb/bind/tuple/MarshalledTupleKeyEntity.html" title="interface in com.sleepycat.bdb.bind.tuple"><CODE>MarshalledTupleKeyEntity</CODE></A> interface.<DD><CODE>keyAssigner</CODE> - an object for assigning keys or null if no automatic
 key assignment is used.</DL>
</DD>
</DL>
<HR>

<A NAME="newDataIndex(com.sleepycat.bdb.DataStore, com.sleepycat.db.Db, java.lang.String, boolean, boolean)"><!-- --></A><H3>
newDataIndex</H3>
<PRE>
public <A HREF="../../../../com/sleepycat/bdb/DataIndex.html" title="class in com.sleepycat.bdb">DataIndex</A> <B>newDataIndex</B>(<A HREF="../../../../com/sleepycat/bdb/DataStore.html" title="class in com.sleepycat.bdb">DataStore</A>&nbsp;store,
                              <A HREF="../../../../com/sleepycat/db/Db.html" title="class in com.sleepycat.db">Db</A>&nbsp;db,
                              java.lang.String&nbsp;keyName,
                              boolean&nbsp;usePrimaryKey,
                              boolean&nbsp;useValue)</PRE>
<DL>
<DD>Creates an index from a previously opened Db object.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>db</CODE> - the previously opened Db object.<DD><CODE>store</CODE> - the store to be indexed and also specifies the
 environment that was used to create the Db object.<DD><CODE>keyName</CODE> - is the key name passed to the <A HREF="../../../../com/sleepycat/bdb/bind/tuple/MarshalledTupleKeyEntity.html#marshalIndexKey(java.lang.String, com.sleepycat.bdb.bind.tuple.TupleOutput)"><CODE>MarshalledTupleKeyEntity.marshalIndexKey(java.lang.String, com.sleepycat.bdb.bind.tuple.TupleOutput)</CODE></A> method to identify the index
 key.<DD><CODE>usePrimaryKey</CODE> - is true if the primary key data is used to
 construct the index key.<DD><CODE>useValue</CODE> - is true if the value data is used to construct the index
 key.
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if a format mismatch is detected
 between the index and the store, or if unsorted duplicates were
 specified for the index Db.</DL>
</DD>
</DL>
<HR>

<A NAME="newForeignKeyIndex(com.sleepycat.bdb.DataStore, com.sleepycat.db.Db, java.lang.String, boolean, boolean, com.sleepycat.bdb.DataStore, int)"><!-- --></A><H3>
newForeignKeyIndex</H3>
<PRE>
public <A HREF="../../../../com/sleepycat/bdb/ForeignKeyIndex.html" title="class in com.sleepycat.bdb">ForeignKeyIndex</A> <B>newForeignKeyIndex</B>(<A HREF="../../../../com/sleepycat/bdb/DataStore.html" title="class in com.sleepycat.bdb">DataStore</A>&nbsp;store,
                                          <A HREF="../../../../com/sleepycat/db/Db.html" title="class in com.sleepycat.db">Db</A>&nbsp;db,
                                          java.lang.String&nbsp;keyName,
                                          boolean&nbsp;usePrimaryKey,
                                          boolean&nbsp;useValue,
                                          <A HREF="../../../../com/sleepycat/bdb/DataStore.html" title="class in com.sleepycat.bdb">DataStore</A>&nbsp;foreignStore,
                                          int&nbsp;deleteAction)</PRE>
<DL>
<DD>Creates a foreign key index from a previously opened Db object.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>store</CODE> - the store to be indexed and also specifies the
 environment that was used to create the Db object.<DD><CODE>db</CODE> - the previously opened Db object.<DD><CODE>keyName</CODE> - is the key name passed to the <A HREF="../../../../com/sleepycat/bdb/bind/tuple/MarshalledTupleKeyEntity.html#marshalIndexKey(java.lang.String, com.sleepycat.bdb.bind.tuple.TupleOutput)"><CODE>MarshalledTupleKeyEntity.marshalIndexKey(java.lang.String, com.sleepycat.bdb.bind.tuple.TupleOutput)</CODE></A> method to identify the index
 key.<DD><CODE>usePrimaryKey</CODE> - is true if the primary key data is used to
 construct the index key.<DD><CODE>useValue</CODE> - is true if the value data is used to construct the index
 key.<DD><CODE>foreignStore</CODE> - is the store in which the index key for this store
 is a primary key.<DD><CODE>deleteAction</CODE> - determines what action occurs when the foreign key
 is deleted. It must be one of the
 <A HREF="../../../../com/sleepycat/bdb/ForeignKeyIndex.html" title="class in com.sleepycat.bdb"><CODE>ForeignKeyIndex</CODE></A> ON_DELETE_
 constants.
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if a format mismatch is detected
 between the index and the store, or if unsorted duplicates were
 specified for the index Db.</DL>
</DD>
</DL>
<HR>

<A NAME="newMap(com.sleepycat.bdb.DataStore, java.lang.Class, boolean)"><!-- --></A><H3>
newMap</H3>
<PRE>
public <A HREF="../../../../com/sleepycat/bdb/collection/StoredMap.html" title="class in com.sleepycat.bdb.collection">StoredMap</A> <B>newMap</B>(<A HREF="../../../../com/sleepycat/bdb/DataStore.html" title="class in com.sleepycat.bdb">DataStore</A>&nbsp;store,
                        java.lang.Class&nbsp;keyClass,
                        boolean&nbsp;writeAllowed)</PRE>
<DL>
<DD>Creates a map for a given store that was obtained from this factory.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>store</CODE> - a store obtained from this factory.<DD><CODE>keyClass</CODE> - is the class used for map keys.  It must implement the
 <A HREF="../../../../com/sleepycat/bdb/bind/tuple/MarshalledTupleData.html" title="interface in com.sleepycat.bdb.bind.tuple"><CODE>MarshalledTupleData</CODE></A> interface or be one of the Java primitive
 type classes.<DD><CODE>writeAllowed</CODE> - is true to create a read-write collection or false
 to create a read-only collection.</DL>
</DD>
</DL>
<HR>

<A NAME="newMap(com.sleepycat.bdb.DataIndex, java.lang.Class, boolean)"><!-- --></A><H3>
newMap</H3>
<PRE>
public <A HREF="../../../../com/sleepycat/bdb/collection/StoredMap.html" title="class in com.sleepycat.bdb.collection">StoredMap</A> <B>newMap</B>(<A HREF="../../../../com/sleepycat/bdb/DataIndex.html" title="class in com.sleepycat.bdb">DataIndex</A>&nbsp;index,
                        java.lang.Class&nbsp;keyClass,
                        boolean&nbsp;writeAllowed)</PRE>
<DL>
<DD>Creates a map for a given index that was obtained from this factory.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - a index obtained from this factory.<DD><CODE>keyClass</CODE> - is the class used for map keys.  It must implement the
 <A HREF="../../../../com/sleepycat/bdb/bind/tuple/MarshalledTupleData.html" title="interface in com.sleepycat.bdb.bind.tuple"><CODE>MarshalledTupleData</CODE></A> interface or be one of the Java primitive
 type classes.<DD><CODE>writeAllowed</CODE> - is true to create a read-write collection or false
 to create a read-only collection.</DL>
</DD>
</DL>
<HR>

<A NAME="newSortedMap(com.sleepycat.bdb.DataStore, java.lang.Class, boolean)"><!-- --></A><H3>
newSortedMap</H3>
<PRE>
public <A HREF="../../../../com/sleepycat/bdb/collection/StoredSortedMap.html" title="class in com.sleepycat.bdb.collection">StoredSortedMap</A> <B>newSortedMap</B>(<A HREF="../../../../com/sleepycat/bdb/DataStore.html" title="class in com.sleepycat.bdb">DataStore</A>&nbsp;store,
                                    java.lang.Class&nbsp;keyClass,
                                    boolean&nbsp;writeAllowed)</PRE>
<DL>
<DD>Creates a sorted map for a given store that was obtained from this
 factory.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>store</CODE> - a store obtained from this factory.<DD><CODE>keyClass</CODE> - is the class used for map keys.  It must implement the
 <A HREF="../../../../com/sleepycat/bdb/bind/tuple/MarshalledTupleData.html" title="interface in com.sleepycat.bdb.bind.tuple"><CODE>MarshalledTupleData</CODE></A> interface or be one of the Java primitive
 type classes.<DD><CODE>writeAllowed</CODE> - is true to create a read-write collection or false
 to create a read-only collection.</DL>
</DD>
</DL>
<HR>

<A NAME="newSortedMap(com.sleepycat.bdb.DataIndex, java.lang.Class, boolean)"><!-- --></A><H3>
newSortedMap</H3>
<PRE>
public <A HREF="../../../../com/sleepycat/bdb/collection/StoredSortedMap.html" title="class in com.sleepycat.bdb.collection">StoredSortedMap</A> <B>newSortedMap</B>(<A HREF="../../../../com/sleepycat/bdb/DataIndex.html" title="class in com.sleepycat.bdb">DataIndex</A>&nbsp;index,
                                    java.lang.Class&nbsp;keyClass,
                                    boolean&nbsp;writeAllowed)</PRE>
<DL>
<DD>Creates a sorted map for a given index that was obtained from this
 factory.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - an index obtained from this factory.<DD><CODE>keyClass</CODE> - is the class used for map keys.  It must implement the
 <A HREF="../../../../com/sleepycat/bdb/bind/tuple/MarshalledTupleData.html" title="interface in com.sleepycat.bdb.bind.tuple"><CODE>MarshalledTupleData</CODE></A> interface or be one of the Java primitive
 type classes.<DD><CODE>writeAllowed</CODE> - is true to create a read-write collection or false
 to create a read-only collection.</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>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV CLASS&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/sleepycat/bdb/factory/TupleSerialDbFactory.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="TupleSerialDbFactory.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>