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:57:02 UTC 2009 --> |
---|
6 | <TITLE> |
---|
7 | Uses of Interface org.apache.hadoop.mapred.InputFormat (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="Uses of Interface org.apache.hadoop.mapred.InputFormat (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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> |
---|
43 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </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 | PREV |
---|
59 | NEXT</FONT></TD> |
---|
60 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
61 | <A HREF="../../../../../index.html?org/apache/hadoop/mapred//class-useInputFormat.html" target="_top"><B>FRAMES</B></A> |
---|
62 | <A HREF="InputFormat.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 | </TABLE> |
---|
78 | <A NAME="skip-navbar_top"></A> |
---|
79 | <!-- ========= END OF TOP NAVBAR ========= --> |
---|
80 | |
---|
81 | <HR> |
---|
82 | <CENTER> |
---|
83 | <H2> |
---|
84 | <B>Uses of Interface<br>org.apache.hadoop.mapred.InputFormat</B></H2> |
---|
85 | </CENTER> |
---|
86 | |
---|
87 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
88 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
89 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
90 | Packages that use <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A></FONT></TH> |
---|
91 | </TR> |
---|
92 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
93 | <TD><A HREF="#org.apache.hadoop.contrib.index.example"><B>org.apache.hadoop.contrib.index.example</B></A></TD> |
---|
94 | <TD> </TD> |
---|
95 | </TR> |
---|
96 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
97 | <TD><A HREF="#org.apache.hadoop.contrib.index.mapred"><B>org.apache.hadoop.contrib.index.mapred</B></A></TD> |
---|
98 | <TD> </TD> |
---|
99 | </TR> |
---|
100 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
101 | <TD><A HREF="#org.apache.hadoop.examples"><B>org.apache.hadoop.examples</B></A></TD> |
---|
102 | <TD>Hadoop example code. </TD> |
---|
103 | </TR> |
---|
104 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
105 | <TD><A HREF="#org.apache.hadoop.examples.terasort"><B>org.apache.hadoop.examples.terasort</B></A></TD> |
---|
106 | <TD>This package consists of 3 map/reduce applications for Hadoop to |
---|
107 | compete in the annual <a |
---|
108 | href="http://www.hpl.hp.com/hosted/sortbenchmark" target="_top">terabyte sort</a> |
---|
109 | competition. </TD> |
---|
110 | </TR> |
---|
111 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
112 | <TD><A HREF="#org.apache.hadoop.mapred"><B>org.apache.hadoop.mapred</B></A></TD> |
---|
113 | <TD>A software framework for easily writing applications which process vast |
---|
114 | amounts of data (multi-terabyte data-sets) parallelly on large clusters |
---|
115 | (thousands of nodes) built of commodity hardware in a reliable, fault-tolerant |
---|
116 | manner. </TD> |
---|
117 | </TR> |
---|
118 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
119 | <TD><A HREF="#org.apache.hadoop.mapred.join"><B>org.apache.hadoop.mapred.join</B></A></TD> |
---|
120 | <TD>Given a set of sorted datasets keyed with the same class and yielding equal |
---|
121 | partitions, it is possible to effect a join of those datasets prior to the map. </TD> |
---|
122 | </TR> |
---|
123 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
124 | <TD><A HREF="#org.apache.hadoop.mapred.lib"><B>org.apache.hadoop.mapred.lib</B></A></TD> |
---|
125 | <TD>Library of generally useful mappers, reducers, and partitioners. </TD> |
---|
126 | </TR> |
---|
127 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
128 | <TD><A HREF="#org.apache.hadoop.mapred.lib.db"><B>org.apache.hadoop.mapred.lib.db</B></A></TD> |
---|
129 | <TD>org.apache.hadoop.mapred.lib.db Package </TD> |
---|
130 | </TR> |
---|
131 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
132 | <TD><A HREF="#org.apache.hadoop.streaming"><B>org.apache.hadoop.streaming</B></A></TD> |
---|
133 | <TD><tt>Hadoop Streaming</tt> is a utility which allows users to create and run |
---|
134 | Map-Reduce jobs with any executables (e.g. </TD> |
---|
135 | </TR> |
---|
136 | </TABLE> |
---|
137 | |
---|
138 | <P> |
---|
139 | <A NAME="org.apache.hadoop.contrib.index.example"><!-- --></A> |
---|
140 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
141 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
142 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
143 | Uses of <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A> in <A HREF="../../../../../org/apache/hadoop/contrib/index/example/package-summary.html">org.apache.hadoop.contrib.index.example</A></FONT></TH> |
---|
144 | </TR> |
---|
145 | </TABLE> |
---|
146 | |
---|
147 | <P> |
---|
148 | |
---|
149 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
150 | <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> |
---|
151 | <TH ALIGN="left" COLSPAN="2">Classes in <A HREF="../../../../../org/apache/hadoop/contrib/index/example/package-summary.html">org.apache.hadoop.contrib.index.example</A> that implement <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A></FONT></TH> |
---|
152 | </TR> |
---|
153 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
154 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
155 | <CODE> class</CODE></FONT></TD> |
---|
156 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/contrib/index/example/LineDocInputFormat.html" title="class in org.apache.hadoop.contrib.index.example">LineDocInputFormat</A></B></CODE> |
---|
157 | |
---|
158 | <BR> |
---|
159 | An InputFormat for LineDoc for plain text files where each line is a doc.</TD> |
---|
160 | </TR> |
---|
161 | </TABLE> |
---|
162 | |
---|
163 | <P> |
---|
164 | <A NAME="org.apache.hadoop.contrib.index.mapred"><!-- --></A> |
---|
165 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
166 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
167 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
168 | Uses of <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A> in <A HREF="../../../../../org/apache/hadoop/contrib/index/mapred/package-summary.html">org.apache.hadoop.contrib.index.mapred</A></FONT></TH> |
---|
169 | </TR> |
---|
170 | </TABLE> |
---|
171 | |
---|
172 | <P> |
---|
173 | |
---|
174 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
175 | <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> |
---|
176 | <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../org/apache/hadoop/contrib/index/mapred/package-summary.html">org.apache.hadoop.contrib.index.mapred</A> that return types with arguments of type <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A></FONT></TH> |
---|
177 | </TR> |
---|
178 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
179 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
180 | <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A>></CODE></FONT></TD> |
---|
181 | <TD><CODE><B>IndexUpdateConfiguration.</B><B><A HREF="../../../../../org/apache/hadoop/contrib/index/mapred/IndexUpdateConfiguration.html#getIndexInputFormatClass()">getIndexInputFormatClass</A></B>()</CODE> |
---|
182 | |
---|
183 | <BR> |
---|
184 | Get the index input format class.</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">Method parameters in <A HREF="../../../../../org/apache/hadoop/contrib/index/mapred/package-summary.html">org.apache.hadoop.contrib.index.mapred</A> with type arguments of type <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A></FONT></TH> |
---|
193 | </TR> |
---|
194 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
195 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
196 | <CODE> void</CODE></FONT></TD> |
---|
197 | <TD><CODE><B>IndexUpdateConfiguration.</B><B><A HREF="../../../../../org/apache/hadoop/contrib/index/mapred/IndexUpdateConfiguration.html#setIndexInputFormatClass(java.lang.Class)">setIndexInputFormatClass</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A>> theClass)</CODE> |
---|
198 | |
---|
199 | <BR> |
---|
200 | Set the index input format class.</TD> |
---|
201 | </TR> |
---|
202 | </TABLE> |
---|
203 | |
---|
204 | <P> |
---|
205 | <A NAME="org.apache.hadoop.examples"><!-- --></A> |
---|
206 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
207 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
208 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
209 | Uses of <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A> in <A HREF="../../../../../org/apache/hadoop/examples/package-summary.html">org.apache.hadoop.examples</A></FONT></TH> |
---|
210 | </TR> |
---|
211 | </TABLE> |
---|
212 | |
---|
213 | <P> |
---|
214 | |
---|
215 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
216 | <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> |
---|
217 | <TH ALIGN="left" COLSPAN="2">Classes in <A HREF="../../../../../org/apache/hadoop/examples/package-summary.html">org.apache.hadoop.examples</A> that implement <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A></FONT></TH> |
---|
218 | </TR> |
---|
219 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
220 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
221 | <CODE>static class</CODE></FONT></TD> |
---|
222 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/examples/MultiFileWordCount.MyInputFormat.html" title="class in org.apache.hadoop.examples">MultiFileWordCount.MyInputFormat</A></B></CODE> |
---|
223 | |
---|
224 | <BR> |
---|
225 | To use <A HREF="../../../../../org/apache/hadoop/mapred/MultiFileInputFormat.html" title="class in org.apache.hadoop.mapred"><CODE>MultiFileInputFormat</CODE></A>, one should extend it, to return a |
---|
226 | (custom) <A HREF="../../../../../org/apache/hadoop/mapred/RecordReader.html" title="interface in org.apache.hadoop.mapred"><CODE>RecordReader</CODE></A>.</TD> |
---|
227 | </TR> |
---|
228 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
229 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
230 | <CODE>static class</CODE></FONT></TD> |
---|
231 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/examples/SleepJob.SleepInputFormat.html" title="class in org.apache.hadoop.examples">SleepJob.SleepInputFormat</A></B></CODE> |
---|
232 | |
---|
233 | <BR> |
---|
234 | </TD> |
---|
235 | </TR> |
---|
236 | </TABLE> |
---|
237 | |
---|
238 | <P> |
---|
239 | <A NAME="org.apache.hadoop.examples.terasort"><!-- --></A> |
---|
240 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
241 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
242 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
243 | Uses of <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A> in <A HREF="../../../../../org/apache/hadoop/examples/terasort/package-summary.html">org.apache.hadoop.examples.terasort</A></FONT></TH> |
---|
244 | </TR> |
---|
245 | </TABLE> |
---|
246 | |
---|
247 | <P> |
---|
248 | |
---|
249 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
250 | <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> |
---|
251 | <TH ALIGN="left" COLSPAN="2">Classes in <A HREF="../../../../../org/apache/hadoop/examples/terasort/package-summary.html">org.apache.hadoop.examples.terasort</A> that implement <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A></FONT></TH> |
---|
252 | </TR> |
---|
253 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
254 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
255 | <CODE> class</CODE></FONT></TD> |
---|
256 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/examples/terasort/TeraInputFormat.html" title="class in org.apache.hadoop.examples.terasort">TeraInputFormat</A></B></CODE> |
---|
257 | |
---|
258 | <BR> |
---|
259 | An input format that reads the first 10 characters of each line as the key |
---|
260 | and the rest of the line as the value.</TD> |
---|
261 | </TR> |
---|
262 | </TABLE> |
---|
263 | |
---|
264 | <P> |
---|
265 | <A NAME="org.apache.hadoop.mapred"><!-- --></A> |
---|
266 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
267 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
268 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
269 | Uses of <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A> in <A HREF="../../../../../org/apache/hadoop/mapred/package-summary.html">org.apache.hadoop.mapred</A></FONT></TH> |
---|
270 | </TR> |
---|
271 | </TABLE> |
---|
272 | |
---|
273 | <P> |
---|
274 | |
---|
275 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
276 | <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> |
---|
277 | <TH ALIGN="left" COLSPAN="2">Classes in <A HREF="../../../../../org/apache/hadoop/mapred/package-summary.html">org.apache.hadoop.mapred</A> that implement <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A></FONT></TH> |
---|
278 | </TR> |
---|
279 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
280 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
281 | <CODE> class</CODE></FONT></TD> |
---|
282 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/FileInputFormat.html" title="class in org.apache.hadoop.mapred">FileInputFormat<K,V></A></B></CODE> |
---|
283 | |
---|
284 | <BR> |
---|
285 | <B>Deprecated.</B> <I>Use <A HREF="../../../../../org/apache/hadoop/mapreduce/lib/input/FileInputFormat.html" title="class in org.apache.hadoop.mapreduce.lib.input"><CODE>FileInputFormat</CODE></A> |
---|
286 | instead.</I></TD> |
---|
287 | </TR> |
---|
288 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
289 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
290 | <CODE> class</CODE></FONT></TD> |
---|
291 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/KeyValueTextInputFormat.html" title="class in org.apache.hadoop.mapred">KeyValueTextInputFormat</A></B></CODE> |
---|
292 | |
---|
293 | <BR> |
---|
294 | An <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred"><CODE>InputFormat</CODE></A> for plain text files.</TD> |
---|
295 | </TR> |
---|
296 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
297 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
298 | <CODE> class</CODE></FONT></TD> |
---|
299 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/MultiFileInputFormat.html" title="class in org.apache.hadoop.mapred">MultiFileInputFormat<K,V></A></B></CODE> |
---|
300 | |
---|
301 | <BR> |
---|
302 | <B>Deprecated.</B> <I>Use <A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileInputFormat.html" title="class in org.apache.hadoop.mapred.lib"><CODE>CombineFileInputFormat</CODE></A> instead</I></TD> |
---|
303 | </TR> |
---|
304 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
305 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
306 | <CODE> class</CODE></FONT></TD> |
---|
307 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/SequenceFileAsBinaryInputFormat.html" title="class in org.apache.hadoop.mapred">SequenceFileAsBinaryInputFormat</A></B></CODE> |
---|
308 | |
---|
309 | <BR> |
---|
310 | InputFormat reading keys, values from SequenceFiles in binary (raw) |
---|
311 | format.</TD> |
---|
312 | </TR> |
---|
313 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
314 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
315 | <CODE> class</CODE></FONT></TD> |
---|
316 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/SequenceFileAsTextInputFormat.html" title="class in org.apache.hadoop.mapred">SequenceFileAsTextInputFormat</A></B></CODE> |
---|
317 | |
---|
318 | <BR> |
---|
319 | This class is similar to SequenceFileInputFormat, except it generates SequenceFileAsTextRecordReader |
---|
320 | which converts the input keys and values to their String forms by calling toString() method.</TD> |
---|
321 | </TR> |
---|
322 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
323 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
324 | <CODE> class</CODE></FONT></TD> |
---|
325 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/SequenceFileInputFilter.html" title="class in org.apache.hadoop.mapred">SequenceFileInputFilter<K,V></A></B></CODE> |
---|
326 | |
---|
327 | <BR> |
---|
328 | A class that allows a map/red job to work on a sample of sequence files.</TD> |
---|
329 | </TR> |
---|
330 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
331 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
332 | <CODE> class</CODE></FONT></TD> |
---|
333 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/SequenceFileInputFormat.html" title="class in org.apache.hadoop.mapred">SequenceFileInputFormat<K,V></A></B></CODE> |
---|
334 | |
---|
335 | <BR> |
---|
336 | <B>Deprecated.</B> <I>Use |
---|
337 | <A HREF="../../../../../org/apache/hadoop/mapreduce/lib/input/SequenceFileInputFormat.html" title="class in org.apache.hadoop.mapreduce.lib.input"><CODE>SequenceFileInputFormat</CODE></A> |
---|
338 | instead.</I></TD> |
---|
339 | </TR> |
---|
340 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
341 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
342 | <CODE> class</CODE></FONT></TD> |
---|
343 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/TextInputFormat.html" title="class in org.apache.hadoop.mapred">TextInputFormat</A></B></CODE> |
---|
344 | |
---|
345 | <BR> |
---|
346 | <B>Deprecated.</B> <I>Use <A HREF="../../../../../org/apache/hadoop/mapreduce/lib/input/TextInputFormat.html" title="class in org.apache.hadoop.mapreduce.lib.input"><CODE>TextInputFormat</CODE></A> |
---|
347 | instead.</I></TD> |
---|
348 | </TR> |
---|
349 | </TABLE> |
---|
350 | |
---|
351 | <P> |
---|
352 | |
---|
353 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
354 | <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> |
---|
355 | <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../org/apache/hadoop/mapred/package-summary.html">org.apache.hadoop.mapred</A> that return <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A></FONT></TH> |
---|
356 | </TR> |
---|
357 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
358 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
359 | <CODE> <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A></CODE></FONT></TD> |
---|
360 | <TD><CODE><B>JobConf.</B><B><A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html#getInputFormat()">getInputFormat</A></B>()</CODE> |
---|
361 | |
---|
362 | <BR> |
---|
363 | <B>Deprecated.</B> Get the <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred"><CODE>InputFormat</CODE></A> implementation for the map-reduce job, |
---|
364 | defaults to <A HREF="../../../../../org/apache/hadoop/mapred/TextInputFormat.html" title="class in org.apache.hadoop.mapred"><CODE>TextInputFormat</CODE></A> if not specified explicity.</TD> |
---|
365 | </TR> |
---|
366 | </TABLE> |
---|
367 | |
---|
368 | <P> |
---|
369 | |
---|
370 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
371 | <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> |
---|
372 | <TH ALIGN="left" COLSPAN="2">Method parameters in <A HREF="../../../../../org/apache/hadoop/mapred/package-summary.html">org.apache.hadoop.mapred</A> with type arguments of type <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A></FONT></TH> |
---|
373 | </TR> |
---|
374 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
375 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
376 | <CODE> void</CODE></FONT></TD> |
---|
377 | <TD><CODE><B>JobConf.</B><B><A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html#setInputFormat(java.lang.Class)">setInputFormat</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A>> theClass)</CODE> |
---|
378 | |
---|
379 | <BR> |
---|
380 | <B>Deprecated.</B> Set the <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred"><CODE>InputFormat</CODE></A> implementation for the map-reduce job.</TD> |
---|
381 | </TR> |
---|
382 | </TABLE> |
---|
383 | |
---|
384 | <P> |
---|
385 | <A NAME="org.apache.hadoop.mapred.join"><!-- --></A> |
---|
386 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
387 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
388 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
389 | Uses of <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A> in <A HREF="../../../../../org/apache/hadoop/mapred/join/package-summary.html">org.apache.hadoop.mapred.join</A></FONT></TH> |
---|
390 | </TR> |
---|
391 | </TABLE> |
---|
392 | |
---|
393 | <P> |
---|
394 | |
---|
395 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
396 | <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> |
---|
397 | <TH ALIGN="left" COLSPAN="2">Subinterfaces of <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A> in <A HREF="../../../../../org/apache/hadoop/mapred/join/package-summary.html">org.apache.hadoop.mapred.join</A></FONT></TH> |
---|
398 | </TR> |
---|
399 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
400 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
401 | <CODE> interface</CODE></FONT></TD> |
---|
402 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/join/ComposableInputFormat.html" title="interface in org.apache.hadoop.mapred.join">ComposableInputFormat<K extends WritableComparable,V extends Writable></A></B></CODE> |
---|
403 | |
---|
404 | <BR> |
---|
405 | Refinement of InputFormat requiring implementors to provide |
---|
406 | ComposableRecordReader instead of RecordReader.</TD> |
---|
407 | </TR> |
---|
408 | </TABLE> |
---|
409 | |
---|
410 | <P> |
---|
411 | |
---|
412 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
413 | <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> |
---|
414 | <TH ALIGN="left" COLSPAN="2">Classes in <A HREF="../../../../../org/apache/hadoop/mapred/join/package-summary.html">org.apache.hadoop.mapred.join</A> that implement <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A></FONT></TH> |
---|
415 | </TR> |
---|
416 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
417 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
418 | <CODE> class</CODE></FONT></TD> |
---|
419 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/join/CompositeInputFormat.html" title="class in org.apache.hadoop.mapred.join">CompositeInputFormat<K extends WritableComparable></A></B></CODE> |
---|
420 | |
---|
421 | <BR> |
---|
422 | An InputFormat capable of performing joins over a set of data sources sorted |
---|
423 | and partitioned the same way.</TD> |
---|
424 | </TR> |
---|
425 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
426 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
427 | <CODE>static class</CODE></FONT></TD> |
---|
428 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/join/Parser.Node.html" title="class in org.apache.hadoop.mapred.join">Parser.Node</A></B></CODE> |
---|
429 | |
---|
430 | <BR> |
---|
431 | </TD> |
---|
432 | </TR> |
---|
433 | </TABLE> |
---|
434 | |
---|
435 | <P> |
---|
436 | |
---|
437 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
438 | <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> |
---|
439 | <TH ALIGN="left" COLSPAN="2">Method parameters in <A HREF="../../../../../org/apache/hadoop/mapred/join/package-summary.html">org.apache.hadoop.mapred.join</A> with type arguments of type <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A></FONT></TH> |
---|
440 | </TR> |
---|
441 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
442 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
443 | <CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
444 | <TD><CODE><B>CompositeInputFormat.</B><B><A HREF="../../../../../org/apache/hadoop/mapred/join/CompositeInputFormat.html#compose(java.lang.Class, java.lang.String)">compose</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A>> inf, |
---|
445 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> path)</CODE> |
---|
446 | |
---|
447 | <BR> |
---|
448 | Convenience method for constructing composite formats.</TD> |
---|
449 | </TR> |
---|
450 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
451 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
452 | <CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
453 | <TD><CODE><B>CompositeInputFormat.</B><B><A HREF="../../../../../org/apache/hadoop/mapred/join/CompositeInputFormat.html#compose(java.lang.String, java.lang.Class, org.apache.hadoop.fs.Path...)">compose</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> op, |
---|
454 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A>> inf, |
---|
455 | <A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A>... path)</CODE> |
---|
456 | |
---|
457 | <BR> |
---|
458 | Convenience method for constructing composite formats.</TD> |
---|
459 | </TR> |
---|
460 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
461 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
462 | <CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
463 | <TD><CODE><B>CompositeInputFormat.</B><B><A HREF="../../../../../org/apache/hadoop/mapred/join/CompositeInputFormat.html#compose(java.lang.String, java.lang.Class, java.lang.String...)">compose</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> op, |
---|
464 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A>> inf, |
---|
465 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>... path)</CODE> |
---|
466 | |
---|
467 | <BR> |
---|
468 | Convenience method for constructing composite formats.</TD> |
---|
469 | </TR> |
---|
470 | </TABLE> |
---|
471 | |
---|
472 | <P> |
---|
473 | <A NAME="org.apache.hadoop.mapred.lib"><!-- --></A> |
---|
474 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
475 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
476 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
477 | Uses of <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A> in <A HREF="../../../../../org/apache/hadoop/mapred/lib/package-summary.html">org.apache.hadoop.mapred.lib</A></FONT></TH> |
---|
478 | </TR> |
---|
479 | </TABLE> |
---|
480 | |
---|
481 | <P> |
---|
482 | |
---|
483 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
484 | <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> |
---|
485 | <TH ALIGN="left" COLSPAN="2">Classes in <A HREF="../../../../../org/apache/hadoop/mapred/lib/package-summary.html">org.apache.hadoop.mapred.lib</A> that implement <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A></FONT></TH> |
---|
486 | </TR> |
---|
487 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
488 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
489 | <CODE> class</CODE></FONT></TD> |
---|
490 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileInputFormat.html" title="class in org.apache.hadoop.mapred.lib">CombineFileInputFormat<K,V></A></B></CODE> |
---|
491 | |
---|
492 | <BR> |
---|
493 | An abstract <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred"><CODE>InputFormat</CODE></A> that returns <A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileSplit.html" title="class in org.apache.hadoop.mapred.lib"><CODE>CombineFileSplit</CODE></A>'s |
---|
494 | in <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html#getSplits(org.apache.hadoop.mapred.JobConf, int)"><CODE>getSplits(JobConf, int)</CODE></A> method.</TD> |
---|
495 | </TR> |
---|
496 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
497 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
498 | <CODE> class</CODE></FONT></TD> |
---|
499 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/lib/DelegatingInputFormat.html" title="class in org.apache.hadoop.mapred.lib">DelegatingInputFormat<K,V></A></B></CODE> |
---|
500 | |
---|
501 | <BR> |
---|
502 | An <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred"><CODE>InputFormat</CODE></A> that delegates behaviour of paths to multiple other |
---|
503 | InputFormats.</TD> |
---|
504 | </TR> |
---|
505 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
506 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
507 | <CODE> class</CODE></FONT></TD> |
---|
508 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/lib/NLineInputFormat.html" title="class in org.apache.hadoop.mapred.lib">NLineInputFormat</A></B></CODE> |
---|
509 | |
---|
510 | <BR> |
---|
511 | NLineInputFormat which splits N lines of input as one split.</TD> |
---|
512 | </TR> |
---|
513 | </TABLE> |
---|
514 | |
---|
515 | <P> |
---|
516 | |
---|
517 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
518 | <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> |
---|
519 | <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../org/apache/hadoop/mapred/lib/package-summary.html">org.apache.hadoop.mapred.lib</A> with parameters of type <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A></FONT></TH> |
---|
520 | </TR> |
---|
521 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
522 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
523 | <CODE> <A HREF="../../../../../org/apache/hadoop/mapred/lib/InputSampler.Sampler.html" title="type parameter in InputSampler.Sampler">K</A>[]</CODE></FONT></TD> |
---|
524 | <TD><CODE><B>InputSampler.Sampler.</B><B><A HREF="../../../../../org/apache/hadoop/mapred/lib/InputSampler.Sampler.html#getSample(org.apache.hadoop.mapred.InputFormat, org.apache.hadoop.mapred.JobConf)">getSample</A></B>(<A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A><<A HREF="../../../../../org/apache/hadoop/mapred/lib/InputSampler.Sampler.html" title="type parameter in InputSampler.Sampler">K</A>,<A HREF="../../../../../org/apache/hadoop/mapred/lib/InputSampler.Sampler.html" title="type parameter in InputSampler.Sampler">V</A>> inf, |
---|
525 | <A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> job)</CODE> |
---|
526 | |
---|
527 | <BR> |
---|
528 | For a given job, collect and return a subset of the keys from the |
---|
529 | input data.</TD> |
---|
530 | </TR> |
---|
531 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
532 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
533 | <CODE> <A HREF="../../../../../org/apache/hadoop/mapred/lib/InputSampler.SplitSampler.html" title="type parameter in InputSampler.SplitSampler">K</A>[]</CODE></FONT></TD> |
---|
534 | <TD><CODE><B>InputSampler.SplitSampler.</B><B><A HREF="../../../../../org/apache/hadoop/mapred/lib/InputSampler.SplitSampler.html#getSample(org.apache.hadoop.mapred.InputFormat, org.apache.hadoop.mapred.JobConf)">getSample</A></B>(<A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A><<A HREF="../../../../../org/apache/hadoop/mapred/lib/InputSampler.SplitSampler.html" title="type parameter in InputSampler.SplitSampler">K</A>,<A HREF="../../../../../org/apache/hadoop/mapred/lib/InputSampler.SplitSampler.html" title="type parameter in InputSampler.SplitSampler">V</A>> inf, |
---|
535 | <A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> job)</CODE> |
---|
536 | |
---|
537 | <BR> |
---|
538 | From each split sampled, take the first numSamples / numSplits records.</TD> |
---|
539 | </TR> |
---|
540 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
541 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
542 | <CODE> <A HREF="../../../../../org/apache/hadoop/mapred/lib/InputSampler.RandomSampler.html" title="type parameter in InputSampler.RandomSampler">K</A>[]</CODE></FONT></TD> |
---|
543 | <TD><CODE><B>InputSampler.RandomSampler.</B><B><A HREF="../../../../../org/apache/hadoop/mapred/lib/InputSampler.RandomSampler.html#getSample(org.apache.hadoop.mapred.InputFormat, org.apache.hadoop.mapred.JobConf)">getSample</A></B>(<A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A><<A HREF="../../../../../org/apache/hadoop/mapred/lib/InputSampler.RandomSampler.html" title="type parameter in InputSampler.RandomSampler">K</A>,<A HREF="../../../../../org/apache/hadoop/mapred/lib/InputSampler.RandomSampler.html" title="type parameter in InputSampler.RandomSampler">V</A>> inf, |
---|
544 | <A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> job)</CODE> |
---|
545 | |
---|
546 | <BR> |
---|
547 | Randomize the split order, then take the specified number of keys from |
---|
548 | each split sampled, where each key is selected with the specified |
---|
549 | probability and possibly replaced by a subsequently selected key when |
---|
550 | the quota of keys from that split is satisfied.</TD> |
---|
551 | </TR> |
---|
552 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
553 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
554 | <CODE> <A HREF="../../../../../org/apache/hadoop/mapred/lib/InputSampler.IntervalSampler.html" title="type parameter in InputSampler.IntervalSampler">K</A>[]</CODE></FONT></TD> |
---|
555 | <TD><CODE><B>InputSampler.IntervalSampler.</B><B><A HREF="../../../../../org/apache/hadoop/mapred/lib/InputSampler.IntervalSampler.html#getSample(org.apache.hadoop.mapred.InputFormat, org.apache.hadoop.mapred.JobConf)">getSample</A></B>(<A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A><<A HREF="../../../../../org/apache/hadoop/mapred/lib/InputSampler.IntervalSampler.html" title="type parameter in InputSampler.IntervalSampler">K</A>,<A HREF="../../../../../org/apache/hadoop/mapred/lib/InputSampler.IntervalSampler.html" title="type parameter in InputSampler.IntervalSampler">V</A>> inf, |
---|
556 | <A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> job)</CODE> |
---|
557 | |
---|
558 | <BR> |
---|
559 | For each split sampled, emit when the ratio of the number of records |
---|
560 | retained to the total record count is less than the specified |
---|
561 | frequency.</TD> |
---|
562 | </TR> |
---|
563 | </TABLE> |
---|
564 | |
---|
565 | <P> |
---|
566 | |
---|
567 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
568 | <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> |
---|
569 | <TH ALIGN="left" COLSPAN="2">Method parameters in <A HREF="../../../../../org/apache/hadoop/mapred/lib/package-summary.html">org.apache.hadoop.mapred.lib</A> with type arguments of type <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A></FONT></TH> |
---|
570 | </TR> |
---|
571 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
572 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
573 | <CODE>static void</CODE></FONT></TD> |
---|
574 | <TD><CODE><B>MultipleInputs.</B><B><A HREF="../../../../../org/apache/hadoop/mapred/lib/MultipleInputs.html#addInputPath(org.apache.hadoop.mapred.JobConf, org.apache.hadoop.fs.Path, java.lang.Class)">addInputPath</A></B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf, |
---|
575 | <A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> path, |
---|
576 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A>> inputFormatClass)</CODE> |
---|
577 | |
---|
578 | <BR> |
---|
579 | Add a <A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs"><CODE>Path</CODE></A> with a custom <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred"><CODE>InputFormat</CODE></A> to the list of |
---|
580 | inputs for the map-reduce job.</TD> |
---|
581 | </TR> |
---|
582 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
583 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
584 | <CODE>static void</CODE></FONT></TD> |
---|
585 | <TD><CODE><B>MultipleInputs.</B><B><A HREF="../../../../../org/apache/hadoop/mapred/lib/MultipleInputs.html#addInputPath(org.apache.hadoop.mapred.JobConf, org.apache.hadoop.fs.Path, java.lang.Class, java.lang.Class)">addInputPath</A></B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf, |
---|
586 | <A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> path, |
---|
587 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A>> inputFormatClass, |
---|
588 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends <A HREF="../../../../../org/apache/hadoop/mapred/Mapper.html" title="interface in org.apache.hadoop.mapred">Mapper</A>> mapperClass)</CODE> |
---|
589 | |
---|
590 | <BR> |
---|
591 | Add a <A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs"><CODE>Path</CODE></A> with a custom <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred"><CODE>InputFormat</CODE></A> and |
---|
592 | <A HREF="../../../../../org/apache/hadoop/mapred/Mapper.html" title="interface in org.apache.hadoop.mapred"><CODE>Mapper</CODE></A> to the list of inputs for the map-reduce job.</TD> |
---|
593 | </TR> |
---|
594 | </TABLE> |
---|
595 | |
---|
596 | <P> |
---|
597 | <A NAME="org.apache.hadoop.mapred.lib.db"><!-- --></A> |
---|
598 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
599 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
600 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
601 | Uses of <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A> in <A HREF="../../../../../org/apache/hadoop/mapred/lib/db/package-summary.html">org.apache.hadoop.mapred.lib.db</A></FONT></TH> |
---|
602 | </TR> |
---|
603 | </TABLE> |
---|
604 | |
---|
605 | <P> |
---|
606 | |
---|
607 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
608 | <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> |
---|
609 | <TH ALIGN="left" COLSPAN="2">Classes in <A HREF="../../../../../org/apache/hadoop/mapred/lib/db/package-summary.html">org.apache.hadoop.mapred.lib.db</A> that implement <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A></FONT></TH> |
---|
610 | </TR> |
---|
611 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
612 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
613 | <CODE> class</CODE></FONT></TD> |
---|
614 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/lib/db/DBInputFormat.html" title="class in org.apache.hadoop.mapred.lib.db">DBInputFormat<T extends DBWritable></A></B></CODE> |
---|
615 | |
---|
616 | <BR> |
---|
617 | A InputFormat that reads input data from an SQL table.</TD> |
---|
618 | </TR> |
---|
619 | </TABLE> |
---|
620 | |
---|
621 | <P> |
---|
622 | <A NAME="org.apache.hadoop.streaming"><!-- --></A> |
---|
623 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
624 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
625 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
626 | Uses of <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A> in <A HREF="../../../../../org/apache/hadoop/streaming/package-summary.html">org.apache.hadoop.streaming</A></FONT></TH> |
---|
627 | </TR> |
---|
628 | </TABLE> |
---|
629 | |
---|
630 | <P> |
---|
631 | |
---|
632 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
633 | <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> |
---|
634 | <TH ALIGN="left" COLSPAN="2">Classes in <A HREF="../../../../../org/apache/hadoop/streaming/package-summary.html">org.apache.hadoop.streaming</A> that implement <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A></FONT></TH> |
---|
635 | </TR> |
---|
636 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
637 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
638 | <CODE> class</CODE></FONT></TD> |
---|
639 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/streaming/StreamInputFormat.html" title="class in org.apache.hadoop.streaming">StreamInputFormat</A></B></CODE> |
---|
640 | |
---|
641 | <BR> |
---|
642 | An input format that selects a RecordReader based on a JobConf property.</TD> |
---|
643 | </TR> |
---|
644 | </TABLE> |
---|
645 | |
---|
646 | <P> |
---|
647 | <HR> |
---|
648 | |
---|
649 | |
---|
650 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
651 | <A NAME="navbar_bottom"><!-- --></A> |
---|
652 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
653 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
654 | <TR> |
---|
655 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
656 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
657 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
658 | <TR ALIGN="center" VALIGN="top"> |
---|
659 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
660 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
661 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> |
---|
662 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD> |
---|
663 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
664 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
665 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
666 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
667 | </TR> |
---|
668 | </TABLE> |
---|
669 | </TD> |
---|
670 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
671 | </EM> |
---|
672 | </TD> |
---|
673 | </TR> |
---|
674 | |
---|
675 | <TR> |
---|
676 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
677 | PREV |
---|
678 | NEXT</FONT></TD> |
---|
679 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
680 | <A HREF="../../../../../index.html?org/apache/hadoop/mapred//class-useInputFormat.html" target="_top"><B>FRAMES</B></A> |
---|
681 | <A HREF="InputFormat.html" target="_top"><B>NO FRAMES</B></A> |
---|
682 | <SCRIPT type="text/javascript"> |
---|
683 | <!-- |
---|
684 | if(window==top) { |
---|
685 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
686 | } |
---|
687 | //--> |
---|
688 | </SCRIPT> |
---|
689 | <NOSCRIPT> |
---|
690 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
691 | </NOSCRIPT> |
---|
692 | |
---|
693 | |
---|
694 | </FONT></TD> |
---|
695 | </TR> |
---|
696 | </TABLE> |
---|
697 | <A NAME="skip-navbar_bottom"></A> |
---|
698 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
699 | |
---|
700 | <HR> |
---|
701 | Copyright © 2009 The Apache Software Foundation |
---|
702 | </BODY> |
---|
703 | </HTML> |
---|