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_07) on Tue Sep 01 20:56:55 UTC 2009 --> |
---|
6 | <TITLE> |
---|
7 | RetouchedBloomFilter (Hadoop 0.20.1 API) |
---|
8 | </TITLE> |
---|
9 | |
---|
10 | <META NAME="date" CONTENT="2009-09-01"> |
---|
11 | |
---|
12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.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="RetouchedBloomFilter (Hadoop 0.20.1 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/RetouchedBloomFilter.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 | </EM> |
---|
53 | </TD> |
---|
54 | </TR> |
---|
55 | |
---|
56 | <TR> |
---|
57 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
58 | <A HREF="../../../../../org/apache/hadoop/util/bloom/RemoveScheme.html" title="interface in org.apache.hadoop.util.bloom"><B>PREV CLASS</B></A> |
---|
59 | NEXT CLASS</FONT></TD> |
---|
60 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
61 | <A HREF="../../../../../index.html?org/apache/hadoop/util/bloom/RetouchedBloomFilter.html" target="_top"><B>FRAMES</B></A> |
---|
62 | <A HREF="RetouchedBloomFilter.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 | <A HREF="#fields_inherited_from_class_org.apache.hadoop.util.bloom.Filter">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
80 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
81 | DETAIL: 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"> |
---|
91 | org.apache.hadoop.util.bloom</FONT> |
---|
92 | <BR> |
---|
93 | Class RetouchedBloomFilter</H2> |
---|
94 | <PRE> |
---|
95 | <A HREF="http://java.sun.com/javase/6/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 "><A HREF="../../../../../org/apache/hadoop/util/bloom/Filter.html" title="class in org.apache.hadoop.util.bloom">org.apache.hadoop.util.bloom.Filter</A> |
---|
97 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/apache/hadoop/util/bloom/BloomFilter.html" title="class in org.apache.hadoop.util.bloom">org.apache.hadoop.util.bloom.BloomFilter</A> |
---|
98 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.hadoop.util.bloom.RetouchedBloomFilter</B> |
---|
99 | </PRE> |
---|
100 | <DL> |
---|
101 | <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/apache/hadoop/io/Writable.html" title="interface in org.apache.hadoop.io">Writable</A>, <A HREF="../../../../../org/apache/hadoop/util/bloom/RemoveScheme.html" title="interface in org.apache.hadoop.util.bloom">RemoveScheme</A></DD> |
---|
102 | </DL> |
---|
103 | <HR> |
---|
104 | <DL> |
---|
105 | <DT><PRE>public final class <B>RetouchedBloomFilter</B><DT>extends <A HREF="../../../../../org/apache/hadoop/util/bloom/BloomFilter.html" title="class in org.apache.hadoop.util.bloom">BloomFilter</A><DT>implements <A HREF="../../../../../org/apache/hadoop/util/bloom/RemoveScheme.html" title="interface in org.apache.hadoop.util.bloom">RemoveScheme</A></DL> |
---|
106 | </PRE> |
---|
107 | |
---|
108 | <P> |
---|
109 | Implements a <i>retouched Bloom filter</i>, as defined in the CoNEXT 2006 paper. |
---|
110 | <p> |
---|
111 | It allows the removal of selected false positives at the cost of introducing |
---|
112 | random false negatives, and with the benefit of eliminating some random false |
---|
113 | positives at the same time. |
---|
114 | |
---|
115 | <p> |
---|
116 | Originally created by |
---|
117 | <a href="http://www.one-lab.org">European Commission One-Lab Project 034819</a>. |
---|
118 | <P> |
---|
119 | |
---|
120 | <P> |
---|
121 | <DL> |
---|
122 | <DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/hadoop/util/bloom/Filter.html" title="class in org.apache.hadoop.util.bloom"><CODE>The general behavior of a filter</CODE></A>, |
---|
123 | <A HREF="../../../../../org/apache/hadoop/util/bloom/BloomFilter.html" title="class in org.apache.hadoop.util.bloom"><CODE>A Bloom filter</CODE></A>, |
---|
124 | <A HREF="../../../../../org/apache/hadoop/util/bloom/RemoveScheme.html" title="interface in org.apache.hadoop.util.bloom"><CODE>The different selective clearing algorithms</CODE></A>, |
---|
125 | <a href="http://www-rp.lip6.fr/site_npa/site_rp/_publications/740-rbf_cameraready.pdf">Retouched Bloom Filters: Allowing Networked Applications to Trade Off Selected False Positives Against False Negatives</a></DL> |
---|
126 | <HR> |
---|
127 | |
---|
128 | <P> |
---|
129 | <!-- =========== FIELD SUMMARY =========== --> |
---|
130 | |
---|
131 | <A NAME="field_summary"><!-- --></A> |
---|
132 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
133 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
134 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
135 | <B>Field Summary</B></FONT></TH> |
---|
136 | </TR> |
---|
137 | </TABLE> |
---|
138 | <A NAME="fields_inherited_from_class_org.apache.hadoop.util.bloom.Filter"><!-- --></A> |
---|
139 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
140 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
141 | <TH ALIGN="left"><B>Fields inherited from class org.apache.hadoop.util.bloom.<A HREF="../../../../../org/apache/hadoop/util/bloom/Filter.html" title="class in org.apache.hadoop.util.bloom">Filter</A></B></TH> |
---|
142 | </TR> |
---|
143 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
144 | <TD><CODE><A HREF="../../../../../org/apache/hadoop/util/bloom/Filter.html#hash">hash</A>, <A HREF="../../../../../org/apache/hadoop/util/bloom/Filter.html#hashType">hashType</A>, <A HREF="../../../../../org/apache/hadoop/util/bloom/Filter.html#nbHash">nbHash</A>, <A HREF="../../../../../org/apache/hadoop/util/bloom/Filter.html#vectorSize">vectorSize</A></CODE></TD> |
---|
145 | </TR> |
---|
146 | </TABLE> |
---|
147 | <A NAME="fields_inherited_from_class_org.apache.hadoop.util.bloom.RemoveScheme"><!-- --></A> |
---|
148 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
149 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
150 | <TH ALIGN="left"><B>Fields inherited from interface org.apache.hadoop.util.bloom.<A HREF="../../../../../org/apache/hadoop/util/bloom/RemoveScheme.html" title="interface in org.apache.hadoop.util.bloom">RemoveScheme</A></B></TH> |
---|
151 | </TR> |
---|
152 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
153 | <TD><CODE><A HREF="../../../../../org/apache/hadoop/util/bloom/RemoveScheme.html#MAXIMUM_FP">MAXIMUM_FP</A>, <A HREF="../../../../../org/apache/hadoop/util/bloom/RemoveScheme.html#MINIMUM_FN">MINIMUM_FN</A>, <A HREF="../../../../../org/apache/hadoop/util/bloom/RemoveScheme.html#RANDOM">RANDOM</A>, <A HREF="../../../../../org/apache/hadoop/util/bloom/RemoveScheme.html#RATIO">RATIO</A></CODE></TD> |
---|
154 | </TR> |
---|
155 | </TABLE> |
---|
156 | |
---|
157 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
158 | |
---|
159 | <A NAME="constructor_summary"><!-- --></A> |
---|
160 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
161 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
162 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
163 | <B>Constructor Summary</B></FONT></TH> |
---|
164 | </TR> |
---|
165 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
166 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/util/bloom/RetouchedBloomFilter.html#RetouchedBloomFilter()">RetouchedBloomFilter</A></B>()</CODE> |
---|
167 | |
---|
168 | <BR> |
---|
169 | Default constructor - use with readFields</TD> |
---|
170 | </TR> |
---|
171 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
172 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/util/bloom/RetouchedBloomFilter.html#RetouchedBloomFilter(int, int, int)">RetouchedBloomFilter</A></B>(int vectorSize, |
---|
173 | int nbHash, |
---|
174 | int hashType)</CODE> |
---|
175 | |
---|
176 | <BR> |
---|
177 | Constructor</TD> |
---|
178 | </TR> |
---|
179 | </TABLE> |
---|
180 | |
---|
181 | <!-- ========== METHOD SUMMARY =========== --> |
---|
182 | |
---|
183 | <A NAME="method_summary"><!-- --></A> |
---|
184 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
185 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
186 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
187 | <B>Method Summary</B></FONT></TH> |
---|
188 | </TR> |
---|
189 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
190 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
191 | <CODE> void</CODE></FONT></TD> |
---|
192 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/util/bloom/RetouchedBloomFilter.html#add(org.apache.hadoop.util.bloom.Key)">add</A></B>(<A HREF="../../../../../org/apache/hadoop/util/bloom/Key.html" title="class in org.apache.hadoop.util.bloom">Key</A> key)</CODE> |
---|
193 | |
---|
194 | <BR> |
---|
195 | Adds a key to <i>this</i> filter.</TD> |
---|
196 | </TR> |
---|
197 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
198 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
199 | <CODE> void</CODE></FONT></TD> |
---|
200 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/util/bloom/RetouchedBloomFilter.html#addFalsePositive(java.util.Collection)">addFalsePositive</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="../../../../../org/apache/hadoop/util/bloom/Key.html" title="class in org.apache.hadoop.util.bloom">Key</A>> coll)</CODE> |
---|
201 | |
---|
202 | <BR> |
---|
203 | Adds a collection of false positive information to <i>this</i> retouched Bloom filter.</TD> |
---|
204 | </TR> |
---|
205 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
206 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
207 | <CODE> void</CODE></FONT></TD> |
---|
208 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/util/bloom/RetouchedBloomFilter.html#addFalsePositive(org.apache.hadoop.util.bloom.Key)">addFalsePositive</A></B>(<A HREF="../../../../../org/apache/hadoop/util/bloom/Key.html" title="class in org.apache.hadoop.util.bloom">Key</A> key)</CODE> |
---|
209 | |
---|
210 | <BR> |
---|
211 | Adds a false positive information to <i>this</i> retouched Bloom filter.</TD> |
---|
212 | </TR> |
---|
213 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
214 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
215 | <CODE> void</CODE></FONT></TD> |
---|
216 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/util/bloom/RetouchedBloomFilter.html#addFalsePositive(org.apache.hadoop.util.bloom.Key[])">addFalsePositive</A></B>(<A HREF="../../../../../org/apache/hadoop/util/bloom/Key.html" title="class in org.apache.hadoop.util.bloom">Key</A>[] keys)</CODE> |
---|
217 | |
---|
218 | <BR> |
---|
219 | Adds an array of false positive information to <i>this</i> retouched Bloom filter.</TD> |
---|
220 | </TR> |
---|
221 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
222 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
223 | <CODE> void</CODE></FONT></TD> |
---|
224 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/util/bloom/RetouchedBloomFilter.html#addFalsePositive(java.util.List)">addFalsePositive</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../../org/apache/hadoop/util/bloom/Key.html" title="class in org.apache.hadoop.util.bloom">Key</A>> keys)</CODE> |
---|
225 | |
---|
226 | <BR> |
---|
227 | Adds a list of false positive information to <i>this</i> retouched Bloom filter.</TD> |
---|
228 | </TR> |
---|
229 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
230 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
231 | <CODE> void</CODE></FONT></TD> |
---|
232 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/util/bloom/RetouchedBloomFilter.html#readFields(java.io.DataInput)">readFields</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/DataInput.html?is-external=true" title="class or interface in java.io">DataInput</A> in)</CODE> |
---|
233 | |
---|
234 | <BR> |
---|
235 | Deserialize the fields of this object from <code>in</code>.</TD> |
---|
236 | </TR> |
---|
237 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
238 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
239 | <CODE> void</CODE></FONT></TD> |
---|
240 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/util/bloom/RetouchedBloomFilter.html#selectiveClearing(org.apache.hadoop.util.bloom.Key, short)">selectiveClearing</A></B>(<A HREF="../../../../../org/apache/hadoop/util/bloom/Key.html" title="class in org.apache.hadoop.util.bloom">Key</A> k, |
---|
241 | short scheme)</CODE> |
---|
242 | |
---|
243 | <BR> |
---|
244 | Performs the selective clearing for a given key.</TD> |
---|
245 | </TR> |
---|
246 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
247 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
248 | <CODE> void</CODE></FONT></TD> |
---|
249 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/util/bloom/RetouchedBloomFilter.html#write(java.io.DataOutput)">write</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</A> out)</CODE> |
---|
250 | |
---|
251 | <BR> |
---|
252 | Serialize the fields of this object to <code>out</code>.</TD> |
---|
253 | </TR> |
---|
254 | </TABLE> |
---|
255 | <A NAME="methods_inherited_from_class_org.apache.hadoop.util.bloom.BloomFilter"><!-- --></A> |
---|
256 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
257 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
258 | <TH ALIGN="left"><B>Methods inherited from class org.apache.hadoop.util.bloom.<A HREF="../../../../../org/apache/hadoop/util/bloom/BloomFilter.html" title="class in org.apache.hadoop.util.bloom">BloomFilter</A></B></TH> |
---|
259 | </TR> |
---|
260 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
261 | <TD><CODE><A HREF="../../../../../org/apache/hadoop/util/bloom/BloomFilter.html#and(org.apache.hadoop.util.bloom.Filter)">and</A>, <A HREF="../../../../../org/apache/hadoop/util/bloom/BloomFilter.html#getVectorSize()">getVectorSize</A>, <A HREF="../../../../../org/apache/hadoop/util/bloom/BloomFilter.html#membershipTest(org.apache.hadoop.util.bloom.Key)">membershipTest</A>, <A HREF="../../../../../org/apache/hadoop/util/bloom/BloomFilter.html#not()">not</A>, <A HREF="../../../../../org/apache/hadoop/util/bloom/BloomFilter.html#or(org.apache.hadoop.util.bloom.Filter)">or</A>, <A HREF="../../../../../org/apache/hadoop/util/bloom/BloomFilter.html#toString()">toString</A>, <A HREF="../../../../../org/apache/hadoop/util/bloom/BloomFilter.html#xor(org.apache.hadoop.util.bloom.Filter)">xor</A></CODE></TD> |
---|
262 | </TR> |
---|
263 | </TABLE> |
---|
264 | <A NAME="methods_inherited_from_class_org.apache.hadoop.util.bloom.Filter"><!-- --></A> |
---|
265 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
266 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
267 | <TH ALIGN="left"><B>Methods inherited from class org.apache.hadoop.util.bloom.<A HREF="../../../../../org/apache/hadoop/util/bloom/Filter.html" title="class in org.apache.hadoop.util.bloom">Filter</A></B></TH> |
---|
268 | </TR> |
---|
269 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
270 | <TD><CODE><A HREF="../../../../../org/apache/hadoop/util/bloom/Filter.html#add(java.util.Collection)">add</A>, <A HREF="../../../../../org/apache/hadoop/util/bloom/Filter.html#add(org.apache.hadoop.util.bloom.Key[])">add</A>, <A HREF="../../../../../org/apache/hadoop/util/bloom/Filter.html#add(java.util.List)">add</A></CODE></TD> |
---|
271 | </TR> |
---|
272 | </TABLE> |
---|
273 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
274 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
275 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
276 | <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> |
---|
277 | </TR> |
---|
278 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
279 | <TD><CODE><A HREF="http://java.sun.com/javase/6/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/javase/6/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/javase/6/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/javase/6/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/javase/6/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/javase/6/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/javase/6/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/javase/6/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/javase/6/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/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> |
---|
280 | </TR> |
---|
281 | </TABLE> |
---|
282 | |
---|
283 | <P> |
---|
284 | |
---|
285 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
286 | |
---|
287 | <A NAME="constructor_detail"><!-- --></A> |
---|
288 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
289 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
290 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
291 | <B>Constructor Detail</B></FONT></TH> |
---|
292 | </TR> |
---|
293 | </TABLE> |
---|
294 | |
---|
295 | <A NAME="RetouchedBloomFilter()"><!-- --></A><H3> |
---|
296 | RetouchedBloomFilter</H3> |
---|
297 | <PRE> |
---|
298 | public <B>RetouchedBloomFilter</B>()</PRE> |
---|
299 | <DL> |
---|
300 | <DD>Default constructor - use with readFields |
---|
301 | <P> |
---|
302 | </DL> |
---|
303 | <HR> |
---|
304 | |
---|
305 | <A NAME="RetouchedBloomFilter(int, int, int)"><!-- --></A><H3> |
---|
306 | RetouchedBloomFilter</H3> |
---|
307 | <PRE> |
---|
308 | public <B>RetouchedBloomFilter</B>(int vectorSize, |
---|
309 | int nbHash, |
---|
310 | int hashType)</PRE> |
---|
311 | <DL> |
---|
312 | <DD>Constructor |
---|
313 | <P> |
---|
314 | <DL> |
---|
315 | <DT><B>Parameters:</B><DD><CODE>vectorSize</CODE> - The vector size of <i>this</i> filter.<DD><CODE>nbHash</CODE> - The number of hash function to consider.<DD><CODE>hashType</CODE> - type of the hashing function (see |
---|
316 | <A HREF="../../../../../org/apache/hadoop/util/hash/Hash.html" title="class in org.apache.hadoop.util.hash"><CODE>Hash</CODE></A>).</DL> |
---|
317 | </DL> |
---|
318 | |
---|
319 | <!-- ============ METHOD DETAIL ========== --> |
---|
320 | |
---|
321 | <A NAME="method_detail"><!-- --></A> |
---|
322 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
323 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
324 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
325 | <B>Method Detail</B></FONT></TH> |
---|
326 | </TR> |
---|
327 | </TABLE> |
---|
328 | |
---|
329 | <A NAME="add(org.apache.hadoop.util.bloom.Key)"><!-- --></A><H3> |
---|
330 | add</H3> |
---|
331 | <PRE> |
---|
332 | public void <B>add</B>(<A HREF="../../../../../org/apache/hadoop/util/bloom/Key.html" title="class in org.apache.hadoop.util.bloom">Key</A> key)</PRE> |
---|
333 | <DL> |
---|
334 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/hadoop/util/bloom/Filter.html#add(org.apache.hadoop.util.bloom.Key)">Filter</A></CODE></B></DD> |
---|
335 | <DD>Adds a key to <i>this</i> filter. |
---|
336 | <P> |
---|
337 | <DD><DL> |
---|
338 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/util/bloom/BloomFilter.html#add(org.apache.hadoop.util.bloom.Key)">add</A></CODE> in class <CODE><A HREF="../../../../../org/apache/hadoop/util/bloom/BloomFilter.html" title="class in org.apache.hadoop.util.bloom">BloomFilter</A></CODE></DL> |
---|
339 | </DD> |
---|
340 | <DD><DL> |
---|
341 | <DT><B>Parameters:</B><DD><CODE>key</CODE> - The key to add.</DL> |
---|
342 | </DD> |
---|
343 | </DL> |
---|
344 | <HR> |
---|
345 | |
---|
346 | <A NAME="addFalsePositive(org.apache.hadoop.util.bloom.Key)"><!-- --></A><H3> |
---|
347 | addFalsePositive</H3> |
---|
348 | <PRE> |
---|
349 | public void <B>addFalsePositive</B>(<A HREF="../../../../../org/apache/hadoop/util/bloom/Key.html" title="class in org.apache.hadoop.util.bloom">Key</A> key)</PRE> |
---|
350 | <DL> |
---|
351 | <DD>Adds a false positive information to <i>this</i> retouched Bloom filter. |
---|
352 | <p> |
---|
353 | <b>Invariant</b>: if the false positive is <code>null</code>, nothing happens. |
---|
354 | <P> |
---|
355 | <DD><DL> |
---|
356 | </DL> |
---|
357 | </DD> |
---|
358 | <DD><DL> |
---|
359 | <DT><B>Parameters:</B><DD><CODE>key</CODE> - The false positive key to add.</DL> |
---|
360 | </DD> |
---|
361 | </DL> |
---|
362 | <HR> |
---|
363 | |
---|
364 | <A NAME="addFalsePositive(java.util.Collection)"><!-- --></A><H3> |
---|
365 | addFalsePositive</H3> |
---|
366 | <PRE> |
---|
367 | public void <B>addFalsePositive</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="../../../../../org/apache/hadoop/util/bloom/Key.html" title="class in org.apache.hadoop.util.bloom">Key</A>> coll)</PRE> |
---|
368 | <DL> |
---|
369 | <DD>Adds a collection of false positive information to <i>this</i> retouched Bloom filter. |
---|
370 | <P> |
---|
371 | <DD><DL> |
---|
372 | </DL> |
---|
373 | </DD> |
---|
374 | <DD><DL> |
---|
375 | <DT><B>Parameters:</B><DD><CODE>coll</CODE> - The collection of false positive.</DL> |
---|
376 | </DD> |
---|
377 | </DL> |
---|
378 | <HR> |
---|
379 | |
---|
380 | <A NAME="addFalsePositive(java.util.List)"><!-- --></A><H3> |
---|
381 | addFalsePositive</H3> |
---|
382 | <PRE> |
---|
383 | public void <B>addFalsePositive</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../../org/apache/hadoop/util/bloom/Key.html" title="class in org.apache.hadoop.util.bloom">Key</A>> keys)</PRE> |
---|
384 | <DL> |
---|
385 | <DD>Adds a list of false positive information to <i>this</i> retouched Bloom filter. |
---|
386 | <P> |
---|
387 | <DD><DL> |
---|
388 | </DL> |
---|
389 | </DD> |
---|
390 | <DD><DL> |
---|
391 | <DT><B>Parameters:</B><DD><CODE>keys</CODE> - The list of false positive.</DL> |
---|
392 | </DD> |
---|
393 | </DL> |
---|
394 | <HR> |
---|
395 | |
---|
396 | <A NAME="addFalsePositive(org.apache.hadoop.util.bloom.Key[])"><!-- --></A><H3> |
---|
397 | addFalsePositive</H3> |
---|
398 | <PRE> |
---|
399 | public void <B>addFalsePositive</B>(<A HREF="../../../../../org/apache/hadoop/util/bloom/Key.html" title="class in org.apache.hadoop.util.bloom">Key</A>[] keys)</PRE> |
---|
400 | <DL> |
---|
401 | <DD>Adds an array of false positive information to <i>this</i> retouched Bloom filter. |
---|
402 | <P> |
---|
403 | <DD><DL> |
---|
404 | </DL> |
---|
405 | </DD> |
---|
406 | <DD><DL> |
---|
407 | <DT><B>Parameters:</B><DD><CODE>keys</CODE> - The array of false positive.</DL> |
---|
408 | </DD> |
---|
409 | </DL> |
---|
410 | <HR> |
---|
411 | |
---|
412 | <A NAME="selectiveClearing(org.apache.hadoop.util.bloom.Key, short)"><!-- --></A><H3> |
---|
413 | selectiveClearing</H3> |
---|
414 | <PRE> |
---|
415 | public void <B>selectiveClearing</B>(<A HREF="../../../../../org/apache/hadoop/util/bloom/Key.html" title="class in org.apache.hadoop.util.bloom">Key</A> k, |
---|
416 | short scheme)</PRE> |
---|
417 | <DL> |
---|
418 | <DD>Performs the selective clearing for a given key. |
---|
419 | <P> |
---|
420 | <DD><DL> |
---|
421 | </DL> |
---|
422 | </DD> |
---|
423 | <DD><DL> |
---|
424 | <DT><B>Parameters:</B><DD><CODE>k</CODE> - The false positive key to remove from <i>this</i> retouched Bloom filter.<DD><CODE>scheme</CODE> - The selective clearing scheme to apply.</DL> |
---|
425 | </DD> |
---|
426 | </DL> |
---|
427 | <HR> |
---|
428 | |
---|
429 | <A NAME="write(java.io.DataOutput)"><!-- --></A><H3> |
---|
430 | write</H3> |
---|
431 | <PRE> |
---|
432 | public void <B>write</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</A> out) |
---|
433 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
434 | <DL> |
---|
435 | <DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/hadoop/io/Writable.html#write(java.io.DataOutput)">Writable</A></CODE></B></DD> |
---|
436 | <DD>Serialize the fields of this object to <code>out</code>. |
---|
437 | <P> |
---|
438 | <DD><DL> |
---|
439 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/io/Writable.html#write(java.io.DataOutput)">write</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/hadoop/io/Writable.html" title="interface in org.apache.hadoop.io">Writable</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/util/bloom/BloomFilter.html#write(java.io.DataOutput)">write</A></CODE> in class <CODE><A HREF="../../../../../org/apache/hadoop/util/bloom/BloomFilter.html" title="class in org.apache.hadoop.util.bloom">BloomFilter</A></CODE></DL> |
---|
440 | </DD> |
---|
441 | <DD><DL> |
---|
442 | <DT><B>Parameters:</B><DD><CODE>out</CODE> - <code>DataOuput</code> to serialize this object into. |
---|
443 | <DT><B>Throws:</B> |
---|
444 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
445 | </DD> |
---|
446 | </DL> |
---|
447 | <HR> |
---|
448 | |
---|
449 | <A NAME="readFields(java.io.DataInput)"><!-- --></A><H3> |
---|
450 | readFields</H3> |
---|
451 | <PRE> |
---|
452 | public void <B>readFields</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/DataInput.html?is-external=true" title="class or interface in java.io">DataInput</A> in) |
---|
453 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
454 | <DL> |
---|
455 | <DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/hadoop/io/Writable.html#readFields(java.io.DataInput)">Writable</A></CODE></B></DD> |
---|
456 | <DD>Deserialize the fields of this object from <code>in</code>. |
---|
457 | |
---|
458 | <p>For efficiency, implementations should attempt to re-use storage in the |
---|
459 | existing object where possible.</p> |
---|
460 | <P> |
---|
461 | <DD><DL> |
---|
462 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/io/Writable.html#readFields(java.io.DataInput)">readFields</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/hadoop/io/Writable.html" title="interface in org.apache.hadoop.io">Writable</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/util/bloom/BloomFilter.html#readFields(java.io.DataInput)">readFields</A></CODE> in class <CODE><A HREF="../../../../../org/apache/hadoop/util/bloom/BloomFilter.html" title="class in org.apache.hadoop.util.bloom">BloomFilter</A></CODE></DL> |
---|
463 | </DD> |
---|
464 | <DD><DL> |
---|
465 | <DT><B>Parameters:</B><DD><CODE>in</CODE> - <code>DataInput</code> to deseriablize this object from. |
---|
466 | <DT><B>Throws:</B> |
---|
467 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
468 | </DD> |
---|
469 | </DL> |
---|
470 | <!-- ========= END OF CLASS DATA ========= --> |
---|
471 | <HR> |
---|
472 | |
---|
473 | |
---|
474 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
475 | <A NAME="navbar_bottom"><!-- --></A> |
---|
476 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
477 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
478 | <TR> |
---|
479 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
480 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
481 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
482 | <TR ALIGN="center" VALIGN="top"> |
---|
483 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
484 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
485 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
486 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RetouchedBloomFilter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
487 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
488 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
489 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
490 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
491 | </TR> |
---|
492 | </TABLE> |
---|
493 | </TD> |
---|
494 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
495 | </EM> |
---|
496 | </TD> |
---|
497 | </TR> |
---|
498 | |
---|
499 | <TR> |
---|
500 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
501 | <A HREF="../../../../../org/apache/hadoop/util/bloom/RemoveScheme.html" title="interface in org.apache.hadoop.util.bloom"><B>PREV CLASS</B></A> |
---|
502 | NEXT CLASS</FONT></TD> |
---|
503 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
504 | <A HREF="../../../../../index.html?org/apache/hadoop/util/bloom/RetouchedBloomFilter.html" target="_top"><B>FRAMES</B></A> |
---|
505 | <A HREF="RetouchedBloomFilter.html" target="_top"><B>NO FRAMES</B></A> |
---|
506 | <SCRIPT type="text/javascript"> |
---|
507 | <!-- |
---|
508 | if(window==top) { |
---|
509 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
510 | } |
---|
511 | //--> |
---|
512 | </SCRIPT> |
---|
513 | <NOSCRIPT> |
---|
514 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
515 | </NOSCRIPT> |
---|
516 | |
---|
517 | |
---|
518 | </FONT></TD> |
---|
519 | </TR> |
---|
520 | <TR> |
---|
521 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
522 | SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_org.apache.hadoop.util.bloom.Filter">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
523 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
524 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
525 | </TR> |
---|
526 | </TABLE> |
---|
527 | <A NAME="skip-navbar_bottom"></A> |
---|
528 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
529 | |
---|
530 | <HR> |
---|
531 | Copyright © 2009 The Apache Software Foundation |
---|
532 | </BODY> |
---|
533 | </HTML> |
---|