Debian Codegraph @

docs/java/com/sleepycat/collections/PrimaryKeyAssigner.html

raw symbols SCIP
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_51) on Mon Sep 09 11:47:05 EDT 2013 -->
6 <TITLE>
7 PrimaryKeyAssigner (Oracle - Berkeley DB Java API)
8 </TITLE>
9
10 <META NAME="date" CONTENT="2013-09-09">
11
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../style.css" TITLE="Style">
13
14 <SCRIPT type="text/javascript">
15 function windowTitle()
16 {
17 if (location.href.indexOf('is-external=true') == -1) {
18 parent.document.title="PrimaryKeyAssigner (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>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/PrimaryKeyAssigner.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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 5.3.28</font></EM>
53 </TD>
54 </TR>
55
56 <TR>
57 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58 &nbsp;<A HREF="../../../com/sleepycat/collections/MapEntryParameter.html" title="class in com.sleepycat.collections"><B>PREV CLASS</B></A>&nbsp;
59 &nbsp;<A HREF="../../../com/sleepycat/collections/StoredCollection.html" title="class in com.sleepycat.collections"><B>NEXT CLASS</B></A></FONT></TD>
60 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61 <A HREF="../../../index.html?com/sleepycat/collections/PrimaryKeyAssigner.html" target="_top"><B>FRAMES</B></A> &nbsp;
62 &nbsp;<A HREF="PrimaryKeyAssigner.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
63 &nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<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">
91 com.sleepycat.collections</FONT>
92 <BR>
93 Interface PrimaryKeyAssigner</H2>
94 <HR>
95 <DL>
96 <DT><PRE>public interface <B>PrimaryKeyAssigner</B></DL>
97 </PRE>
98
99 <P>
100 An interface implemented to assign new primary key values.
101 An implementation of this interface is passed to the <A HREF="../../../com/sleepycat/collections/StoredMap.html" title="class in com.sleepycat.collections"><CODE>StoredMap</CODE></A>
102 or <A HREF="../../../com/sleepycat/collections/StoredSortedMap.html" title="class in com.sleepycat.collections"><CODE>StoredSortedMap</CODE></A> constructor to assign primary keys for that
103 store. Key assignment occurs when <code>StoredMap.append()</code> is called.
104 <P>
105
106 <P>
107 <HR>
108
109 <P>
110
111 <!-- ========== METHOD SUMMARY =========== -->
112
113 <A NAME="method_summary"><!-- --></A>
114 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
115 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
116 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
117 <B>Method Summary</B></FONT></TH>
118 </TR>
119 <TR BGCOLOR="white" CLASS="TableRowColor">
120 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
121 <CODE>&nbsp;void</CODE></FONT></TD>
122 <TD><CODE><B><A HREF="../../../com/sleepycat/collections/PrimaryKeyAssigner.html#assignKey(com.sleepycat.db.DatabaseEntry)">assignKey</A></B>(<A HREF="../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A>&nbsp;keyData)</CODE>
123
124 <BR>
125 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Assigns a new primary key value into the given data buffer.</TD>
126 </TR>
127 </TABLE>
128 &nbsp;
129 <P>
130
131 <!-- ============ METHOD DETAIL ========== -->
132
133 <A NAME="method_detail"><!-- --></A>
134 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
135 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
136 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
137 <B>Method Detail</B></FONT></TH>
138 </TR>
139 </TABLE>
140
141 <A NAME="assignKey(com.sleepycat.db.DatabaseEntry)"><!-- --></A><H3>
142 assignKey</H3>
143 <PRE>
144 void <B>assignKey</B>(<A HREF="../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A>&nbsp;keyData)
145 throws <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></PRE>
146 <DL>
147 <DD>Assigns a new primary key value into the given data buffer.
148 <P>
149 <DD><DL>
150
151 <DT><B>Throws:</B>
152 <DD><CODE><A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></CODE></DL>
153 </DD>
154 </DL>
155 <!-- ========= END OF CLASS DATA ========= -->
156 <HR>
157
158
159 <!-- ======= START OF BOTTOM NAVBAR ====== -->
160 <A NAME="navbar_bottom"><!-- --></A>
161 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
162 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
163 <TR>
164 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
165 <A NAME="navbar_bottom_firstrow"><!-- --></A>
166 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
167 <TR ALIGN="center" VALIGN="top">
168 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
169 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
170 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
171 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/PrimaryKeyAssigner.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
172 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
173 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
174 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
175 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
176 </TR>
177 </TABLE>
178 </TD>
179 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
180 <b>Berkeley DB</b><br><font size="-1"> version 5.3.28</font></EM>
181 </TD>
182 </TR>
183
184 <TR>
185 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
186 &nbsp;<A HREF="../../../com/sleepycat/collections/MapEntryParameter.html" title="class in com.sleepycat.collections"><B>PREV CLASS</B></A>&nbsp;
187 &nbsp;<A HREF="../../../com/sleepycat/collections/StoredCollection.html" title="class in com.sleepycat.collections"><B>NEXT CLASS</B></A></FONT></TD>
188 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
189 <A HREF="../../../index.html?com/sleepycat/collections/PrimaryKeyAssigner.html" target="_top"><B>FRAMES</B></A> &nbsp;
190 &nbsp;<A HREF="PrimaryKeyAssigner.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
191 &nbsp;<SCRIPT type="text/javascript">
192 <!--
193 if(window==top) {
194 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
195 }
196 //-->
197 </SCRIPT>
198 <NOSCRIPT>
199 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
200 </NOSCRIPT>
201
202
203 </FONT></TD>
204 </TR>
205 <TR>
206 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
207 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
208 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
209 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
210 </TR>
211 </TABLE>
212 <A NAME="skip-navbar_bottom"></A>
213 <!-- ======== END OF BOTTOM NAVBAR ======= -->
214
215 <HR>
216 <font size=1>Copyright (c) 1996, 2013 Oracle and/or its affiliates. All rights reserved.</font>
217 </BODY>
218 </HTML>