[120] | 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:56 UTC 2009 --> |
---|
| 6 | <TITLE> |
---|
| 7 | SequenceFileInputFilter.MD5Filter (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="SequenceFileInputFilter.MD5Filter (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/SequenceFileInputFilter.MD5Filter.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/mapred/SequenceFileInputFilter.FilterBase.html" title="class in org.apache.hadoop.mapred"><B>PREV CLASS</B></A> |
---|
| 59 | <A HREF="../../../../org/apache/hadoop/mapred/SequenceFileInputFilter.PercentFilter.html" title="class in org.apache.hadoop.mapred"><B>NEXT CLASS</B></A></FONT></TD> |
---|
| 60 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 61 | <A HREF="../../../../index.html?org/apache/hadoop/mapred/SequenceFileInputFilter.MD5Filter.html" target="_top"><B>FRAMES</B></A> |
---|
| 62 | <A HREF="SequenceFileInputFilter.MD5Filter.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="#field_summary">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: <A HREF="#field_detail">FIELD</A> | <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.mapred</FONT> |
---|
| 92 | <BR> |
---|
| 93 | Class SequenceFileInputFilter.MD5Filter</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/mapred/SequenceFileInputFilter.FilterBase.html" title="class in org.apache.hadoop.mapred">org.apache.hadoop.mapred.SequenceFileInputFilter.FilterBase</A> |
---|
| 97 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.hadoop.mapred.SequenceFileInputFilter.MD5Filter</B> |
---|
| 98 | </PRE> |
---|
| 99 | <DL> |
---|
| 100 | <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/apache/hadoop/conf/Configurable.html" title="interface in org.apache.hadoop.conf">Configurable</A>, <A HREF="../../../../org/apache/hadoop/mapred/SequenceFileInputFilter.Filter.html" title="interface in org.apache.hadoop.mapred">SequenceFileInputFilter.Filter</A></DD> |
---|
| 101 | </DL> |
---|
| 102 | <DL> |
---|
| 103 | <DT><B>Enclosing class:</B><DD><A HREF="../../../../org/apache/hadoop/mapred/SequenceFileInputFilter.html" title="class in org.apache.hadoop.mapred">SequenceFileInputFilter</A><<A HREF="../../../../org/apache/hadoop/mapred/SequenceFileInputFilter.html" title="type parameter in SequenceFileInputFilter">K</A>,<A HREF="../../../../org/apache/hadoop/mapred/SequenceFileInputFilter.html" title="type parameter in SequenceFileInputFilter">V</A>></DD> |
---|
| 104 | </DL> |
---|
| 105 | <HR> |
---|
| 106 | <DL> |
---|
| 107 | <DT><PRE>public static class <B>SequenceFileInputFilter.MD5Filter</B><DT>extends <A HREF="../../../../org/apache/hadoop/mapred/SequenceFileInputFilter.FilterBase.html" title="class in org.apache.hadoop.mapred">SequenceFileInputFilter.FilterBase</A></DL> |
---|
| 108 | </PRE> |
---|
| 109 | |
---|
| 110 | <P> |
---|
| 111 | This class returns a set of records by examing the MD5 digest of its |
---|
| 112 | key against a filtering frequency <i>f</i>. The filtering criteria is |
---|
| 113 | MD5(key) % f == 0. |
---|
| 114 | <P> |
---|
| 115 | |
---|
| 116 | <P> |
---|
| 117 | <HR> |
---|
| 118 | |
---|
| 119 | <P> |
---|
| 120 | <!-- =========== FIELD SUMMARY =========== --> |
---|
| 121 | |
---|
| 122 | <A NAME="field_summary"><!-- --></A> |
---|
| 123 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 124 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 125 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 126 | <B>Field Summary</B></FONT></TH> |
---|
| 127 | </TR> |
---|
| 128 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 129 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 130 | <CODE>static int</CODE></FONT></TD> |
---|
| 131 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/SequenceFileInputFilter.MD5Filter.html#MD5_LEN">MD5_LEN</A></B></CODE> |
---|
| 132 | |
---|
| 133 | <BR> |
---|
| 134 | </TD> |
---|
| 135 | </TR> |
---|
| 136 | </TABLE> |
---|
| 137 | |
---|
| 138 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
| 139 | |
---|
| 140 | <A NAME="constructor_summary"><!-- --></A> |
---|
| 141 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 142 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 143 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 144 | <B>Constructor Summary</B></FONT></TH> |
---|
| 145 | </TR> |
---|
| 146 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 147 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/SequenceFileInputFilter.MD5Filter.html#SequenceFileInputFilter.MD5Filter()">SequenceFileInputFilter.MD5Filter</A></B>()</CODE> |
---|
| 148 | |
---|
| 149 | <BR> |
---|
| 150 | </TD> |
---|
| 151 | </TR> |
---|
| 152 | </TABLE> |
---|
| 153 | |
---|
| 154 | <!-- ========== METHOD SUMMARY =========== --> |
---|
| 155 | |
---|
| 156 | <A NAME="method_summary"><!-- --></A> |
---|
| 157 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 158 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 159 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 160 | <B>Method Summary</B></FONT></TH> |
---|
| 161 | </TR> |
---|
| 162 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 163 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 164 | <CODE> boolean</CODE></FONT></TD> |
---|
| 165 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/SequenceFileInputFilter.MD5Filter.html#accept(java.lang.Object)">accept</A></B>(<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> key)</CODE> |
---|
| 166 | |
---|
| 167 | <BR> |
---|
| 168 | Filtering method |
---|
| 169 | If MD5(key) % frequency==0, return true; otherwise return false</TD> |
---|
| 170 | </TR> |
---|
| 171 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 172 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 173 | <CODE> void</CODE></FONT></TD> |
---|
| 174 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/SequenceFileInputFilter.MD5Filter.html#setConf(org.apache.hadoop.conf.Configuration)">setConf</A></B>(<A HREF="../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</A> conf)</CODE> |
---|
| 175 | |
---|
| 176 | <BR> |
---|
| 177 | configure the filter according to configuration</TD> |
---|
| 178 | </TR> |
---|
| 179 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 180 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 181 | <CODE>static void</CODE></FONT></TD> |
---|
| 182 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/SequenceFileInputFilter.MD5Filter.html#setFrequency(org.apache.hadoop.conf.Configuration, int)">setFrequency</A></B>(<A HREF="../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</A> conf, |
---|
| 183 | int frequency)</CODE> |
---|
| 184 | |
---|
| 185 | <BR> |
---|
| 186 | set the filtering frequency in configuration</TD> |
---|
| 187 | </TR> |
---|
| 188 | </TABLE> |
---|
| 189 | <A NAME="methods_inherited_from_class_org.apache.hadoop.mapred.SequenceFileInputFilter.FilterBase"><!-- --></A> |
---|
| 190 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 191 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
| 192 | <TH ALIGN="left"><B>Methods inherited from class org.apache.hadoop.mapred.<A HREF="../../../../org/apache/hadoop/mapred/SequenceFileInputFilter.FilterBase.html" title="class in org.apache.hadoop.mapred">SequenceFileInputFilter.FilterBase</A></B></TH> |
---|
| 193 | </TR> |
---|
| 194 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 195 | <TD><CODE><A HREF="../../../../org/apache/hadoop/mapred/SequenceFileInputFilter.FilterBase.html#getConf()">getConf</A></CODE></TD> |
---|
| 196 | </TR> |
---|
| 197 | </TABLE> |
---|
| 198 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
| 199 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 200 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
| 201 | <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> |
---|
| 202 | </TR> |
---|
| 203 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 204 | <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#toString()" title="class or interface in java.lang">toString</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> |
---|
| 205 | </TR> |
---|
| 206 | </TABLE> |
---|
| 207 | |
---|
| 208 | <P> |
---|
| 209 | |
---|
| 210 | <!-- ============ FIELD DETAIL =========== --> |
---|
| 211 | |
---|
| 212 | <A NAME="field_detail"><!-- --></A> |
---|
| 213 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 214 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 215 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 216 | <B>Field Detail</B></FONT></TH> |
---|
| 217 | </TR> |
---|
| 218 | </TABLE> |
---|
| 219 | |
---|
| 220 | <A NAME="MD5_LEN"><!-- --></A><H3> |
---|
| 221 | MD5_LEN</H3> |
---|
| 222 | <PRE> |
---|
| 223 | public static final int <B>MD5_LEN</B></PRE> |
---|
| 224 | <DL> |
---|
| 225 | <DL> |
---|
| 226 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.hadoop.mapred.SequenceFileInputFilter.MD5Filter.MD5_LEN">Constant Field Values</A></DL> |
---|
| 227 | </DL> |
---|
| 228 | |
---|
| 229 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
| 230 | |
---|
| 231 | <A NAME="constructor_detail"><!-- --></A> |
---|
| 232 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 233 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 234 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 235 | <B>Constructor Detail</B></FONT></TH> |
---|
| 236 | </TR> |
---|
| 237 | </TABLE> |
---|
| 238 | |
---|
| 239 | <A NAME="SequenceFileInputFilter.MD5Filter()"><!-- --></A><H3> |
---|
| 240 | SequenceFileInputFilter.MD5Filter</H3> |
---|
| 241 | <PRE> |
---|
| 242 | public <B>SequenceFileInputFilter.MD5Filter</B>()</PRE> |
---|
| 243 | <DL> |
---|
| 244 | </DL> |
---|
| 245 | |
---|
| 246 | <!-- ============ METHOD DETAIL ========== --> |
---|
| 247 | |
---|
| 248 | <A NAME="method_detail"><!-- --></A> |
---|
| 249 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 250 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 251 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 252 | <B>Method Detail</B></FONT></TH> |
---|
| 253 | </TR> |
---|
| 254 | </TABLE> |
---|
| 255 | |
---|
| 256 | <A NAME="setFrequency(org.apache.hadoop.conf.Configuration, int)"><!-- --></A><H3> |
---|
| 257 | setFrequency</H3> |
---|
| 258 | <PRE> |
---|
| 259 | public static void <B>setFrequency</B>(<A HREF="../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</A> conf, |
---|
| 260 | int frequency)</PRE> |
---|
| 261 | <DL> |
---|
| 262 | <DD>set the filtering frequency in configuration |
---|
| 263 | <P> |
---|
| 264 | <DD><DL> |
---|
| 265 | <DT><B>Parameters:</B><DD><CODE>conf</CODE> - configuration<DD><CODE>frequency</CODE> - filtering frequency</DL> |
---|
| 266 | </DD> |
---|
| 267 | </DL> |
---|
| 268 | <HR> |
---|
| 269 | |
---|
| 270 | <A NAME="setConf(org.apache.hadoop.conf.Configuration)"><!-- --></A><H3> |
---|
| 271 | setConf</H3> |
---|
| 272 | <PRE> |
---|
| 273 | public void <B>setConf</B>(<A HREF="../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</A> conf)</PRE> |
---|
| 274 | <DL> |
---|
| 275 | <DD>configure the filter according to configuration |
---|
| 276 | <P> |
---|
| 277 | <DD><DL> |
---|
| 278 | <DT><B>Parameters:</B><DD><CODE>conf</CODE> - configuration</DL> |
---|
| 279 | </DD> |
---|
| 280 | </DL> |
---|
| 281 | <HR> |
---|
| 282 | |
---|
| 283 | <A NAME="accept(java.lang.Object)"><!-- --></A><H3> |
---|
| 284 | accept</H3> |
---|
| 285 | <PRE> |
---|
| 286 | public boolean <B>accept</B>(<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> key)</PRE> |
---|
| 287 | <DL> |
---|
| 288 | <DD>Filtering method |
---|
| 289 | If MD5(key) % frequency==0, return true; otherwise return false |
---|
| 290 | <P> |
---|
| 291 | <DD><DL> |
---|
| 292 | <DT><B>Parameters:</B><DD><CODE>key</CODE> - record key |
---|
| 293 | <DT><B>Returns:</B><DD>true if a record is accepted; return false otherwise<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/hadoop/mapred/SequenceFileInputFilter.Filter.html#accept(java.lang.Object)"><CODE>SequenceFileInputFilter.Filter.accept(Object)</CODE></A></DL> |
---|
| 294 | </DD> |
---|
| 295 | </DL> |
---|
| 296 | <!-- ========= END OF CLASS DATA ========= --> |
---|
| 297 | <HR> |
---|
| 298 | |
---|
| 299 | |
---|
| 300 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
| 301 | <A NAME="navbar_bottom"><!-- --></A> |
---|
| 302 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
| 303 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
| 304 | <TR> |
---|
| 305 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
| 306 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
| 307 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
| 308 | <TR ALIGN="center" VALIGN="top"> |
---|
| 309 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
| 310 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
| 311 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
| 312 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SequenceFileInputFilter.MD5Filter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
| 313 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
| 314 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
| 315 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
| 316 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
| 317 | </TR> |
---|
| 318 | </TABLE> |
---|
| 319 | </TD> |
---|
| 320 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
| 321 | </EM> |
---|
| 322 | </TD> |
---|
| 323 | </TR> |
---|
| 324 | |
---|
| 325 | <TR> |
---|
| 326 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 327 | <A HREF="../../../../org/apache/hadoop/mapred/SequenceFileInputFilter.FilterBase.html" title="class in org.apache.hadoop.mapred"><B>PREV CLASS</B></A> |
---|
| 328 | <A HREF="../../../../org/apache/hadoop/mapred/SequenceFileInputFilter.PercentFilter.html" title="class in org.apache.hadoop.mapred"><B>NEXT CLASS</B></A></FONT></TD> |
---|
| 329 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 330 | <A HREF="../../../../index.html?org/apache/hadoop/mapred/SequenceFileInputFilter.MD5Filter.html" target="_top"><B>FRAMES</B></A> |
---|
| 331 | <A HREF="SequenceFileInputFilter.MD5Filter.html" target="_top"><B>NO FRAMES</B></A> |
---|
| 332 | <SCRIPT type="text/javascript"> |
---|
| 333 | <!-- |
---|
| 334 | if(window==top) { |
---|
| 335 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
| 336 | } |
---|
| 337 | //--> |
---|
| 338 | </SCRIPT> |
---|
| 339 | <NOSCRIPT> |
---|
| 340 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
| 341 | </NOSCRIPT> |
---|
| 342 | |
---|
| 343 | |
---|
| 344 | </FONT></TD> |
---|
| 345 | </TR> |
---|
| 346 | <TR> |
---|
| 347 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 348 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
| 349 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 350 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
| 351 | </TR> |
---|
| 352 | </TABLE> |
---|
| 353 | <A NAME="skip-navbar_bottom"></A> |
---|
| 354 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
| 355 | |
---|
| 356 | <HR> |
---|
| 357 | Copyright © 2009 The Apache Software Foundation |
---|
| 358 | </BODY> |
---|
| 359 | </HTML> |
---|