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.SecondaryIndex (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.SecondaryIndex (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/SecondaryIndex.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-useSecondaryIndex.html" target="_top"><B>FRAMES</B></A> 58 <A HREF="SecondaryIndex.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.SecondaryIndex</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/SecondaryIndex.html" title="class in com.sleepycat.persist">SecondaryIndex</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/SecondaryIndex.html" title="class in com.sleepycat.persist">SecondaryIndex</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/SecondaryIndex.html" title="class in com.sleepycat.persist">SecondaryIndex</A></FONT></TH> 113</TR> 114<TR BGCOLOR="white" CLASS="TableRowColor"> 115<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 116<CODE> 117<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 118<TR ALIGN="right" VALIGN=""> 119<TD NOWRAP><FONT SIZE="-1"> 120<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> 121</TR> 122</TABLE> 123</CODE></FONT></TD> 124<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, 125 <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, 126 <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> 127 128<BR> 129 Returns a secondary index for a given primary index and secondary key, 130 opening it if necessary.</TD> 131</TR> 132<TR BGCOLOR="white" CLASS="TableRowColor"> 133<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 134<CODE> 135<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 136<TR ALIGN="right" VALIGN=""> 137<TD NOWRAP><FONT SIZE="-1"> 138<CODE><SK,PK,E1,E2 extends E1> 139<BR> 140<A HREF="/com/sleepycat/persist/SecondaryIndex.html" title="class in com.sleepycat.persist">SecondaryIndex</A><SK,PK,E2></CODE></FONT></TD> 141</TR> 142</TABLE> 143</CODE></FONT></TD> 144<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, 145 <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, 146 <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, 147 <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> 148 149<BR> 150 Returns a secondary index for a secondary key in an entity subclass, 151 opening it if necessary.</TD> 152</TR> 153</TABLE> 154 155<P> 156 157<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 158<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> 159<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/SecondaryIndex.html" title="class in com.sleepycat.persist">SecondaryIndex</A></FONT></TH> 160</TR> 161<TR BGCOLOR="white" CLASS="TableRowColor"> 162<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 163<CODE> 164<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 165<TR ALIGN="right" VALIGN=""> 166<TD NOWRAP><FONT SIZE="-1"> 167<CODE><SK> void</CODE></FONT></TD> 168</TR> 169</TABLE> 170</CODE></FONT></TD> 171<TD><CODE><B>EntityJoin.</B><B><A HREF="/com/sleepycat/persist/EntityJoin.html#addCondition(com.sleepycat.persist.SecondaryIndex, SK)">addCondition</A></B>(<A HREF="/com/sleepycat/persist/SecondaryIndex.html" title="class in com.sleepycat.persist">SecondaryIndex</A><SK,<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, 172 SK key)</CODE> 173 174<BR> 175 Adds a secondary key condition to the equality join.</TD> 176</TR> 177</TABLE> 178 179<P> 180<A NAME="com.sleepycat.persist.raw"><!-- --></A> 181<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 182<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 183<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 184Uses of <A HREF="/com/sleepycat/persist/SecondaryIndex.html" title="class in com.sleepycat.persist">SecondaryIndex</A> in <A HREF="/com/sleepycat/persist/raw/package-summary.html">com.sleepycat.persist.raw</A></FONT></TH> 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">Methods in <A HREF="/com/sleepycat/persist/raw/package-summary.html">com.sleepycat.persist.raw</A> that return <A HREF="/com/sleepycat/persist/SecondaryIndex.html" title="class in com.sleepycat.persist">SecondaryIndex</A></FONT></TH> 193</TR> 194<TR BGCOLOR="white" CLASS="TableRowColor"> 195<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 196<CODE> <A HREF="/com/sleepycat/persist/SecondaryIndex.html" title="class in com.sleepycat.persist">SecondaryIndex</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="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> 197<TD><CODE><B>RawStore.</B><B><A HREF="/com/sleepycat/persist/raw/RawStore.html#getSecondaryIndex(java.lang.String, java.lang.String)">getSecondaryIndex</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, 198 <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> 199 200<BR> 201 Opens the secondary index for a given entity class and secondary key 202 name.</TD> 203</TR> 204</TABLE> 205 206<P> 207<HR> 208 209 210<!-- ======= START OF BOTTOM NAVBAR ====== --> 211<A NAME="navbar_bottom"><!-- --></A> 212<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 213<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 214<TR> 215<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 216<A NAME="navbar_bottom_firstrow"><!-- --></A> 217<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 218 <TR ALIGN="center" VALIGN="top"> 219 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 220 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 221 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/com/sleepycat/persist/SecondaryIndex.html" title="class in com.sleepycat.persist"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> 222 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD> 223 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 224 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 225 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 226 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 227 </TR> 228</TABLE> 229</TD> 230<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 231<b>Berkeley DB</b><br><font size="-1"> version 4.7.25</font></EM> 232</TD> 233</TR> 234 235<TR> 236<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 237 PREV 238 NEXT</FONT></TD> 239<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 240 <A HREF="/index.html?com/sleepycat/persist//class-useSecondaryIndex.html" target="_top"><B>FRAMES</B></A> 241 <A HREF="SecondaryIndex.html" target="_top"><B>NO FRAMES</B></A> 242 <SCRIPT type="text/javascript"> 243 <!-- 244 if(window==top) { 245 document.writeln('<A HREF="/allclasses-noframe.html"><B>All Classes</B></A>'); 246 } 247 //--> 248</SCRIPT> 249<NOSCRIPT> 250 <A HREF="/allclasses-noframe.html"><B>All Classes</B></A> 251</NOSCRIPT> 252 253 254</FONT></TD> 255</TR> 256</TABLE> 257<A NAME="skip-navbar_bottom"></A> 258<!-- ======== END OF BOTTOM NAVBAR ======= --> 259 260<HR> 261<font size=1>Copyright (c) 1996,2008 Oracle. All rights reserved.</font> 262</BODY> 263</HTML> 264