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.5.0) on Thu May 15 17:17:34 EDT 2008 --> 6<TITLE> 7Uses of Class com.sleepycat.persist.PrimaryIndex (Oracle - Berkeley DB Java API) 8</TITLE> 9 10 11<LINK REL ="stylesheet" TYPE="text/css" HREF="/style.css" TITLE="Style"> 12 13<SCRIPT type="text/javascript"> 14function windowTitle() 15{ 16 parent.document.title="Uses of Class com.sleepycat.persist.PrimaryIndex (Oracle - Berkeley DB Java API)"; 17} 18</SCRIPT> 19<NOSCRIPT> 20</NOSCRIPT> 21 22</HEAD> 23 24<BODY BGCOLOR="white" onload="windowTitle();"> 25 26 27<!-- ========= START OF TOP NAVBAR ======= --> 28<A NAME="navbar_top"><!-- --></A> 29<A HREF="#skip-navbar_top" title="Skip navigation links"></A> 30<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 31<TR> 32<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 33<A NAME="navbar_top_firstrow"><!-- --></A> 34<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 35 <TR ALIGN="center" VALIGN="top"> 36 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 37 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/com/sleepycat/persist/PrimaryIndex.html" title="class in com.sleepycat.persist"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> 39 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD> 40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 44 </TR> 45</TABLE> 46</TD> 47<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 48<b>Berkeley DB</b><br><font size="-1"> version 4.7.25</font></EM> 49</TD> 50</TR> 51 52<TR> 53<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 54 PREV 55 NEXT</FONT></TD> 56<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 57 <A HREF="/index.html?com/sleepycat/persist//class-usePrimaryIndex.html" target="_top"><B>FRAMES</B></A> 58 <A HREF="PrimaryIndex.html" target="_top"><B>NO FRAMES</B></A> 59 <SCRIPT type="text/javascript"> 60 <!-- 61 if(window==top) { 62 document.writeln('<A HREF="/allclasses-noframe.html"><B>All Classes</B></A>'); 63 } 64 //--> 65</SCRIPT> 66<NOSCRIPT> 67 <A HREF="/allclasses-noframe.html"><B>All Classes</B></A> 68</NOSCRIPT> 69 70 71</FONT></TD> 72</TR> 73</TABLE> 74<A NAME="skip-navbar_top"></A> 75<!-- ========= END OF TOP NAVBAR ========= --> 76 77<HR> 78<CENTER> 79<H2> 80<B>Uses of Class<br>com.sleepycat.persist.PrimaryIndex</B></H2> 81</CENTER> 82 83<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 84<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 85<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 86Packages that use <A HREF="/com/sleepycat/persist/PrimaryIndex.html" title="class in com.sleepycat.persist">PrimaryIndex</A></FONT></TH> 87</TR> 88<TR BGCOLOR="white" CLASS="TableRowColor"> 89<TD><A HREF="#com.sleepycat.persist"><B>com.sleepycat.persist</B></A></TD> 90<TD>The Direct Persistence Layer (DPL) adds a persistent object model to the 91Berkeley DB transactional engine. </TD> 92</TR> 93<TR BGCOLOR="white" CLASS="TableRowColor"> 94<TD><A HREF="#com.sleepycat.persist.raw"><B>com.sleepycat.persist.raw</B></A></TD> 95<TD>Raw data access for general purpose tools and manual conversions. </TD> 96</TR> 97</TABLE> 98 99<P> 100<A NAME="com.sleepycat.persist"><!-- --></A> 101<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 102<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 103<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 104Uses of <A HREF="/com/sleepycat/persist/PrimaryIndex.html" title="class in com.sleepycat.persist">PrimaryIndex</A> in <A HREF="/com/sleepycat/persist/package-summary.html">com.sleepycat.persist</A></FONT></TH> 105</TR> 106</TABLE> 107 108<P> 109 110<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 111<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> 112<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="/com/sleepycat/persist/package-summary.html">com.sleepycat.persist</A> that return <A HREF="/com/sleepycat/persist/PrimaryIndex.html" title="class in com.sleepycat.persist">PrimaryIndex</A></FONT></TH> 113</TR> 114<TR BGCOLOR="white" CLASS="TableRowColor"> 115<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 116<CODE> <A HREF="/com/sleepycat/persist/PrimaryIndex.html" title="class in com.sleepycat.persist">PrimaryIndex</A><<A HREF="/com/sleepycat/persist/SecondaryIndex.html" title="type parameter in SecondaryIndex">PK</A>,<A HREF="/com/sleepycat/persist/SecondaryIndex.html" title="type parameter in SecondaryIndex">E</A>></CODE></FONT></TD> 117<TD><CODE><B>SecondaryIndex.</B><B><A HREF="/com/sleepycat/persist/SecondaryIndex.html#getPrimaryIndex()">getPrimaryIndex</A></B>()</CODE> 118 119<BR> 120 Returns the primary index associated with this secondary index.</TD> 121</TR> 122<TR BGCOLOR="white" CLASS="TableRowColor"> 123<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 124<CODE> 125<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 126<TR ALIGN="right" VALIGN=""> 127<TD NOWRAP><FONT SIZE="-1"> 128<CODE><PK,E> <A HREF="/com/sleepycat/persist/PrimaryIndex.html" title="class in com.sleepycat.persist">PrimaryIndex</A><PK,E></CODE></FONT></TD> 129</TR> 130</TABLE> 131</CODE></FONT></TD> 132<TD><CODE><B>EntityStore.</B><B><A HREF="/com/sleepycat/persist/EntityStore.html#getPrimaryIndex(java.lang.Class, java.lang.Class)">getPrimaryIndex</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A><PK> primaryKeyClass, 133 <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A><E> entityClass)</CODE> 134 135<BR> 136 Returns the primary index for a given entity class, opening it if 137 necessary.</TD> 138</TR> 139</TABLE> 140 141<P> 142 143<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 144<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> 145<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="/com/sleepycat/persist/package-summary.html">com.sleepycat.persist</A> with parameters of type <A HREF="/com/sleepycat/persist/PrimaryIndex.html" title="class in com.sleepycat.persist">PrimaryIndex</A></FONT></TH> 146</TR> 147<TR BGCOLOR="white" CLASS="TableRowColor"> 148<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 149<CODE> 150<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 151<TR ALIGN="right" VALIGN=""> 152<TD NOWRAP><FONT SIZE="-1"> 153<CODE><SK,PK,E> <A HREF="/com/sleepycat/persist/SecondaryIndex.html" title="class in com.sleepycat.persist">SecondaryIndex</A><SK,PK,E></CODE></FONT></TD> 154</TR> 155</TABLE> 156</CODE></FONT></TD> 157<TD><CODE><B>EntityStore.</B><B><A HREF="/com/sleepycat/persist/EntityStore.html#getSecondaryIndex(com.sleepycat.persist.PrimaryIndex, java.lang.Class, java.lang.String)">getSecondaryIndex</A></B>(<A HREF="/com/sleepycat/persist/PrimaryIndex.html" title="class in com.sleepycat.persist">PrimaryIndex</A><PK,E> primaryIndex, 158 <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A><SK> keyClass, 159 <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> keyName)</CODE> 160 161<BR> 162 Returns a secondary index for a given primary index and secondary key, 163 opening it if necessary.</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><SK,PK,E1,E2 extends E1> 172<BR> 173<A HREF="/com/sleepycat/persist/SecondaryIndex.html" title="class in com.sleepycat.persist">SecondaryIndex</A><SK,PK,E2></CODE></FONT></TD> 174</TR> 175</TABLE> 176</CODE></FONT></TD> 177<TD><CODE><B>EntityStore.</B><B><A HREF="/com/sleepycat/persist/EntityStore.html#getSubclassIndex(com.sleepycat.persist.PrimaryIndex, java.lang.Class, java.lang.Class, java.lang.String)">getSubclassIndex</A></B>(<A HREF="/com/sleepycat/persist/PrimaryIndex.html" title="class in com.sleepycat.persist">PrimaryIndex</A><PK,E1> primaryIndex, 178 <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A><E2> entitySubclass, 179 <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A><SK> keyClass, 180 <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> keyName)</CODE> 181 182<BR> 183 Returns a secondary index for a secondary key in an entity subclass, 184 opening it if necessary.</TD> 185</TR> 186</TABLE> 187 188<P> 189 190<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 191<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> 192<TH ALIGN="left" COLSPAN="2">Constructors in <A HREF="/com/sleepycat/persist/package-summary.html">com.sleepycat.persist</A> with parameters of type <A HREF="/com/sleepycat/persist/PrimaryIndex.html" title="class in com.sleepycat.persist">PrimaryIndex</A></FONT></TH> 193</TR> 194<TR BGCOLOR="white" CLASS="TableRowColor"> 195<TD><CODE><B><A HREF="/com/sleepycat/persist/EntityJoin.html#EntityJoin(com.sleepycat.persist.PrimaryIndex)">EntityJoin</A></B>(<A HREF="/com/sleepycat/persist/PrimaryIndex.html" title="class in com.sleepycat.persist">PrimaryIndex</A><<A HREF="/com/sleepycat/persist/EntityJoin.html" title="type parameter in EntityJoin">PK</A>,<A HREF="/com/sleepycat/persist/EntityJoin.html" title="type parameter in EntityJoin">E</A>> index)</CODE> 196 197<BR> 198 Creates a join object for a given primary index.</TD> 199</TR> 200<TR BGCOLOR="white" CLASS="TableRowColor"> 201<TD><CODE><B><A HREF="/com/sleepycat/persist/SecondaryIndex.html#SecondaryIndex(com.sleepycat.db.SecondaryDatabase, com.sleepycat.db.Database, com.sleepycat.persist.PrimaryIndex, java.lang.Class, com.sleepycat.bind.EntryBinding)">SecondaryIndex</A></B>(<A HREF="/com/sleepycat/db/SecondaryDatabase.html" title="class in com.sleepycat.db">SecondaryDatabase</A> database, 202 <A HREF="/com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A> keysDatabase, 203 <A HREF="/com/sleepycat/persist/PrimaryIndex.html" title="class in com.sleepycat.persist">PrimaryIndex</A><<A HREF="/com/sleepycat/persist/SecondaryIndex.html" title="type parameter in SecondaryIndex">PK</A>,<A HREF="/com/sleepycat/persist/SecondaryIndex.html" title="type parameter in SecondaryIndex">E</A>> primaryIndex, 204 <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A><<A HREF="/com/sleepycat/persist/SecondaryIndex.html" title="type parameter in SecondaryIndex">SK</A>> secondaryKeyClass, 205 <A HREF="/com/sleepycat/bind/EntryBinding.html" title="interface in com.sleepycat.bind">EntryBinding</A> secondaryKeyBinding)</CODE> 206 207<BR> 208 Creates a secondary index without using an <code>EntityStore</code>.</TD> 209</TR> 210</TABLE> 211 212<P> 213<A NAME="com.sleepycat.persist.raw"><!-- --></A> 214<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 215<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 216<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 217Uses of <A HREF="/com/sleepycat/persist/PrimaryIndex.html" title="class in com.sleepycat.persist">PrimaryIndex</A> in <A HREF="/com/sleepycat/persist/raw/package-summary.html">com.sleepycat.persist.raw</A></FONT></TH> 218</TR> 219</TABLE> 220 221<P> 222 223<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 224<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> 225<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="/com/sleepycat/persist/raw/package-summary.html">com.sleepycat.persist.raw</A> that return <A HREF="/com/sleepycat/persist/PrimaryIndex.html" title="class in com.sleepycat.persist">PrimaryIndex</A></FONT></TH> 226</TR> 227<TR BGCOLOR="white" CLASS="TableRowColor"> 228<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 229<CODE> <A HREF="/com/sleepycat/persist/PrimaryIndex.html" title="class in com.sleepycat.persist">PrimaryIndex</A><<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>,<A HREF="/com/sleepycat/persist/raw/RawObject.html" title="class in com.sleepycat.persist.raw">RawObject</A>></CODE></FONT></TD> 230<TD><CODE><B>RawStore.</B><B><A HREF="/com/sleepycat/persist/raw/RawStore.html#getPrimaryIndex(java.lang.String)">getPrimaryIndex</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> entityClass)</CODE> 231 232<BR> 233 Opens the primary index for a given entity class.</TD> 234</TR> 235</TABLE> 236 237<P> 238<HR> 239 240 241<!-- ======= START OF BOTTOM NAVBAR ====== --> 242<A NAME="navbar_bottom"><!-- --></A> 243<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 244<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 245<TR> 246<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 247<A NAME="navbar_bottom_firstrow"><!-- --></A> 248<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 249 <TR ALIGN="center" VALIGN="top"> 250 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 251 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 252 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/com/sleepycat/persist/PrimaryIndex.html" title="class in com.sleepycat.persist"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> 253 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD> 254 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 255 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 256 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 257 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 258 </TR> 259</TABLE> 260</TD> 261<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 262<b>Berkeley DB</b><br><font size="-1"> version 4.7.25</font></EM> 263</TD> 264</TR> 265 266<TR> 267<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 268 PREV 269 NEXT</FONT></TD> 270<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 271 <A HREF="/index.html?com/sleepycat/persist//class-usePrimaryIndex.html" target="_top"><B>FRAMES</B></A> 272 <A HREF="PrimaryIndex.html" target="_top"><B>NO FRAMES</B></A> 273 <SCRIPT type="text/javascript"> 274 <!-- 275 if(window==top) { 276 document.writeln('<A HREF="/allclasses-noframe.html"><B>All Classes</B></A>'); 277 } 278 //--> 279</SCRIPT> 280<NOSCRIPT> 281 <A HREF="/allclasses-noframe.html"><B>All Classes</B></A> 282</NOSCRIPT> 283 284 285</FONT></TD> 286</TR> 287</TABLE> 288<A NAME="skip-navbar_bottom"></A> 289<!-- ======== END OF BOTTOM NAVBAR ======= --> 290 291<HR> 292<font size=1>Copyright (c) 1996,2008 Oracle. All rights reserved.</font> 293</BODY> 294</HTML> 295