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:57 UTC 2009 --> |
---|
6 | <TITLE> |
---|
7 | CombineFileInputFormat (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="CombineFileInputFormat (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/CombineFileInputFormat.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/lib/ChainReducer.html" title="class in org.apache.hadoop.mapred.lib"><B>PREV CLASS</B></A> |
---|
59 | <A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileRecordReader.html" title="class in org.apache.hadoop.mapred.lib"><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/lib/CombineFileInputFormat.html" target="_top"><B>FRAMES</B></A> |
---|
62 | <A HREF="CombineFileInputFormat.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.mapred.FileInputFormat">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.mapred.lib</FONT> |
---|
92 | <BR> |
---|
93 | Class CombineFileInputFormat<K,V></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/FileInputFormat.html" title="class in org.apache.hadoop.mapred">org.apache.hadoop.mapred.FileInputFormat</A><K,V> |
---|
97 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.hadoop.mapred.lib.CombineFileInputFormat<K,V></B> |
---|
98 | </PRE> |
---|
99 | <DL> |
---|
100 | <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A><K,V></DD> |
---|
101 | </DL> |
---|
102 | <HR> |
---|
103 | <DL> |
---|
104 | <DT><PRE>public abstract class <B>CombineFileInputFormat<K,V></B><DT>extends <A HREF="../../../../../org/apache/hadoop/mapred/FileInputFormat.html" title="class in org.apache.hadoop.mapred">FileInputFormat</A><K,V></DL> |
---|
105 | </PRE> |
---|
106 | |
---|
107 | <P> |
---|
108 | 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 |
---|
109 | in <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html#getSplits(org.apache.hadoop.mapred.JobConf, int)"><CODE>InputFormat.getSplits(JobConf, int)</CODE></A> method. |
---|
110 | Splits are constructed from the files under the input paths. |
---|
111 | A split cannot have files from different pools. |
---|
112 | Each split returned may contain blocks from different files. |
---|
113 | If a maxSplitSize is specified, then blocks on the same node are |
---|
114 | combined to form a single split. Blocks that are left over are |
---|
115 | then combined with other blocks in the same rack. |
---|
116 | If maxSplitSize is not specified, then blocks from the same rack |
---|
117 | are combined in a single split; no attempt is made to create |
---|
118 | node-local splits. |
---|
119 | If the maxSplitSize is equal to the block size, then this class |
---|
120 | is similar to the default spliting behaviour in Hadoop: each |
---|
121 | block is a locally processed split. |
---|
122 | Subclasses implement <A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html#getRecordReader(org.apache.hadoop.mapred.InputSplit, org.apache.hadoop.mapred.JobConf, org.apache.hadoop.mapred.Reporter)"><CODE>InputFormat.getRecordReader(InputSplit, JobConf, Reporter)</CODE></A> |
---|
123 | to construct <code>RecordReader</code>'s for <code>CombineFileSplit</code>'s. |
---|
124 | <P> |
---|
125 | |
---|
126 | <P> |
---|
127 | <DL> |
---|
128 | <DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileSplit.html" title="class in org.apache.hadoop.mapred.lib"><CODE>CombineFileSplit</CODE></A></DL> |
---|
129 | <HR> |
---|
130 | |
---|
131 | <P> |
---|
132 | <!-- =========== FIELD SUMMARY =========== --> |
---|
133 | |
---|
134 | <A NAME="field_summary"><!-- --></A> |
---|
135 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
136 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
137 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
138 | <B>Field Summary</B></FONT></TH> |
---|
139 | </TR> |
---|
140 | </TABLE> |
---|
141 | <A NAME="fields_inherited_from_class_org.apache.hadoop.mapred.FileInputFormat"><!-- --></A> |
---|
142 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
143 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
144 | <TH ALIGN="left"><B>Fields inherited from class org.apache.hadoop.mapred.<A HREF="../../../../../org/apache/hadoop/mapred/FileInputFormat.html" title="class in org.apache.hadoop.mapred">FileInputFormat</A></B></TH> |
---|
145 | </TR> |
---|
146 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
147 | <TD><CODE><A HREF="../../../../../org/apache/hadoop/mapred/FileInputFormat.html#LOG">LOG</A></CODE></TD> |
---|
148 | </TR> |
---|
149 | </TABLE> |
---|
150 | |
---|
151 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
152 | |
---|
153 | <A NAME="constructor_summary"><!-- --></A> |
---|
154 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
155 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
156 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
157 | <B>Constructor Summary</B></FONT></TH> |
---|
158 | </TR> |
---|
159 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
160 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileInputFormat.html#CombineFileInputFormat()">CombineFileInputFormat</A></B>()</CODE> |
---|
161 | |
---|
162 | <BR> |
---|
163 | default constructor</TD> |
---|
164 | </TR> |
---|
165 | </TABLE> |
---|
166 | |
---|
167 | <!-- ========== METHOD SUMMARY =========== --> |
---|
168 | |
---|
169 | <A NAME="method_summary"><!-- --></A> |
---|
170 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
171 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
172 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
173 | <B>Method Summary</B></FONT></TH> |
---|
174 | </TR> |
---|
175 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
176 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
177 | <CODE>protected void</CODE></FONT></TD> |
---|
178 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileInputFormat.html#createPool(org.apache.hadoop.mapred.JobConf, java.util.List)">createPool</A></B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf, |
---|
179 | <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/fs/PathFilter.html" title="interface in org.apache.hadoop.fs">PathFilter</A>> filters)</CODE> |
---|
180 | |
---|
181 | <BR> |
---|
182 | Create a new pool and add the filters to it.</TD> |
---|
183 | </TR> |
---|
184 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
185 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
186 | <CODE>protected void</CODE></FONT></TD> |
---|
187 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileInputFormat.html#createPool(org.apache.hadoop.mapred.JobConf, org.apache.hadoop.fs.PathFilter...)">createPool</A></B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf, |
---|
188 | <A HREF="../../../../../org/apache/hadoop/fs/PathFilter.html" title="interface in org.apache.hadoop.fs">PathFilter</A>... filters)</CODE> |
---|
189 | |
---|
190 | <BR> |
---|
191 | Create a new pool and add the filters to it.</TD> |
---|
192 | </TR> |
---|
193 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
194 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
195 | <CODE>abstract <A HREF="../../../../../org/apache/hadoop/mapred/RecordReader.html" title="interface in org.apache.hadoop.mapred">RecordReader</A><<A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileInputFormat.html" title="type parameter in CombineFileInputFormat">K</A>,<A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileInputFormat.html" title="type parameter in CombineFileInputFormat">V</A>></CODE></FONT></TD> |
---|
196 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileInputFormat.html#getRecordReader(org.apache.hadoop.mapred.InputSplit, org.apache.hadoop.mapred.JobConf, org.apache.hadoop.mapred.Reporter)">getRecordReader</A></B>(<A HREF="../../../../../org/apache/hadoop/mapred/InputSplit.html" title="interface in org.apache.hadoop.mapred">InputSplit</A> split, |
---|
197 | <A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> job, |
---|
198 | <A HREF="../../../../../org/apache/hadoop/mapred/Reporter.html" title="interface in org.apache.hadoop.mapred">Reporter</A> reporter)</CODE> |
---|
199 | |
---|
200 | <BR> |
---|
201 | This is not implemented yet.</TD> |
---|
202 | </TR> |
---|
203 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
204 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
205 | <CODE> <A HREF="../../../../../org/apache/hadoop/mapred/InputSplit.html" title="interface in org.apache.hadoop.mapred">InputSplit</A>[]</CODE></FONT></TD> |
---|
206 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileInputFormat.html#getSplits(org.apache.hadoop.mapred.JobConf, int)">getSplits</A></B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> job, |
---|
207 | int numSplits)</CODE> |
---|
208 | |
---|
209 | <BR> |
---|
210 | Splits files returned by <A HREF="../../../../../org/apache/hadoop/mapred/FileInputFormat.html#listStatus(org.apache.hadoop.mapred.JobConf)"><CODE>FileInputFormat.listStatus(JobConf)</CODE></A> when |
---|
211 | they're too big.</TD> |
---|
212 | </TR> |
---|
213 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
214 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
215 | <CODE>protected void</CODE></FONT></TD> |
---|
216 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileInputFormat.html#setMaxSplitSize(long)">setMaxSplitSize</A></B>(long maxSplitSize)</CODE> |
---|
217 | |
---|
218 | <BR> |
---|
219 | Specify the maximum size (in bytes) of each split.</TD> |
---|
220 | </TR> |
---|
221 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
222 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
223 | <CODE>protected void</CODE></FONT></TD> |
---|
224 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileInputFormat.html#setMinSplitSizeNode(long)">setMinSplitSizeNode</A></B>(long minSplitSizeNode)</CODE> |
---|
225 | |
---|
226 | <BR> |
---|
227 | Specify the minimum size (in bytes) of each split per node.</TD> |
---|
228 | </TR> |
---|
229 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
230 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
231 | <CODE>protected void</CODE></FONT></TD> |
---|
232 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileInputFormat.html#setMinSplitSizeRack(long)">setMinSplitSizeRack</A></B>(long minSplitSizeRack)</CODE> |
---|
233 | |
---|
234 | <BR> |
---|
235 | Specify the minimum size (in bytes) of each split per rack.</TD> |
---|
236 | </TR> |
---|
237 | </TABLE> |
---|
238 | <A NAME="methods_inherited_from_class_org.apache.hadoop.mapred.FileInputFormat"><!-- --></A> |
---|
239 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
240 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
241 | <TH ALIGN="left"><B>Methods inherited from class org.apache.hadoop.mapred.<A HREF="../../../../../org/apache/hadoop/mapred/FileInputFormat.html" title="class in org.apache.hadoop.mapred">FileInputFormat</A></B></TH> |
---|
242 | </TR> |
---|
243 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
244 | <TD><CODE><A HREF="../../../../../org/apache/hadoop/mapred/FileInputFormat.html#addInputPath(org.apache.hadoop.mapred.JobConf, org.apache.hadoop.fs.Path)">addInputPath</A>, <A HREF="../../../../../org/apache/hadoop/mapred/FileInputFormat.html#addInputPaths(org.apache.hadoop.mapred.JobConf, java.lang.String)">addInputPaths</A>, <A HREF="../../../../../org/apache/hadoop/mapred/FileInputFormat.html#computeSplitSize(long, long, long)">computeSplitSize</A>, <A HREF="../../../../../org/apache/hadoop/mapred/FileInputFormat.html#getBlockIndex(org.apache.hadoop.fs.BlockLocation[], long)">getBlockIndex</A>, <A HREF="../../../../../org/apache/hadoop/mapred/FileInputFormat.html#getInputPathFilter(org.apache.hadoop.mapred.JobConf)">getInputPathFilter</A>, <A HREF="../../../../../org/apache/hadoop/mapred/FileInputFormat.html#getInputPaths(org.apache.hadoop.mapred.JobConf)">getInputPaths</A>, <A HREF="../../../../../org/apache/hadoop/mapred/FileInputFormat.html#getSplitHosts(org.apache.hadoop.fs.BlockLocation[], long, long, org.apache.hadoop.net.NetworkTopology)">getSplitHosts</A>, <A HREF="../../../../../org/apache/hadoop/mapred/FileInputFormat.html#isSplitable(org.apache.hadoop.fs.FileSystem, org.apache.hadoop.fs.Path)">isSplitable</A>, <A HREF="../../../../../org/apache/hadoop/mapred/FileInputFormat.html#listStatus(org.apache.hadoop.mapred.JobConf)">listStatus</A>, <A HREF="../../../../../org/apache/hadoop/mapred/FileInputFormat.html#setInputPathFilter(org.apache.hadoop.mapred.JobConf, java.lang.Class)">setInputPathFilter</A>, <A HREF="../../../../../org/apache/hadoop/mapred/FileInputFormat.html#setInputPaths(org.apache.hadoop.mapred.JobConf, org.apache.hadoop.fs.Path...)">setInputPaths</A>, <A HREF="../../../../../org/apache/hadoop/mapred/FileInputFormat.html#setInputPaths(org.apache.hadoop.mapred.JobConf, java.lang.String)">setInputPaths</A>, <A HREF="../../../../../org/apache/hadoop/mapred/FileInputFormat.html#setMinSplitSize(long)">setMinSplitSize</A></CODE></TD> |
---|
245 | </TR> |
---|
246 | </TABLE> |
---|
247 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
248 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
249 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
250 | <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> |
---|
251 | </TR> |
---|
252 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
253 | <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> |
---|
254 | </TR> |
---|
255 | </TABLE> |
---|
256 | |
---|
257 | <P> |
---|
258 | |
---|
259 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
260 | |
---|
261 | <A NAME="constructor_detail"><!-- --></A> |
---|
262 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
263 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
264 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
265 | <B>Constructor Detail</B></FONT></TH> |
---|
266 | </TR> |
---|
267 | </TABLE> |
---|
268 | |
---|
269 | <A NAME="CombineFileInputFormat()"><!-- --></A><H3> |
---|
270 | CombineFileInputFormat</H3> |
---|
271 | <PRE> |
---|
272 | public <B>CombineFileInputFormat</B>()</PRE> |
---|
273 | <DL> |
---|
274 | <DD>default constructor |
---|
275 | <P> |
---|
276 | </DL> |
---|
277 | |
---|
278 | <!-- ============ METHOD DETAIL ========== --> |
---|
279 | |
---|
280 | <A NAME="method_detail"><!-- --></A> |
---|
281 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
282 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
283 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
284 | <B>Method Detail</B></FONT></TH> |
---|
285 | </TR> |
---|
286 | </TABLE> |
---|
287 | |
---|
288 | <A NAME="setMaxSplitSize(long)"><!-- --></A><H3> |
---|
289 | setMaxSplitSize</H3> |
---|
290 | <PRE> |
---|
291 | protected void <B>setMaxSplitSize</B>(long maxSplitSize)</PRE> |
---|
292 | <DL> |
---|
293 | <DD>Specify the maximum size (in bytes) of each split. Each split is |
---|
294 | approximately equal to the specified size. |
---|
295 | <P> |
---|
296 | <DD><DL> |
---|
297 | </DL> |
---|
298 | </DD> |
---|
299 | </DL> |
---|
300 | <HR> |
---|
301 | |
---|
302 | <A NAME="setMinSplitSizeNode(long)"><!-- --></A><H3> |
---|
303 | setMinSplitSizeNode</H3> |
---|
304 | <PRE> |
---|
305 | protected void <B>setMinSplitSizeNode</B>(long minSplitSizeNode)</PRE> |
---|
306 | <DL> |
---|
307 | <DD>Specify the minimum size (in bytes) of each split per node. |
---|
308 | This applies to data that is left over after combining data on a single |
---|
309 | node into splits that are of maximum size specified by maxSplitSize. |
---|
310 | This leftover data will be combined into its own split if its size |
---|
311 | exceeds minSplitSizeNode. |
---|
312 | <P> |
---|
313 | <DD><DL> |
---|
314 | </DL> |
---|
315 | </DD> |
---|
316 | </DL> |
---|
317 | <HR> |
---|
318 | |
---|
319 | <A NAME="setMinSplitSizeRack(long)"><!-- --></A><H3> |
---|
320 | setMinSplitSizeRack</H3> |
---|
321 | <PRE> |
---|
322 | protected void <B>setMinSplitSizeRack</B>(long minSplitSizeRack)</PRE> |
---|
323 | <DL> |
---|
324 | <DD>Specify the minimum size (in bytes) of each split per rack. |
---|
325 | This applies to data that is left over after combining data on a single |
---|
326 | rack into splits that are of maximum size specified by maxSplitSize. |
---|
327 | This leftover data will be combined into its own split if its size |
---|
328 | exceeds minSplitSizeRack. |
---|
329 | <P> |
---|
330 | <DD><DL> |
---|
331 | </DL> |
---|
332 | </DD> |
---|
333 | </DL> |
---|
334 | <HR> |
---|
335 | |
---|
336 | <A NAME="createPool(org.apache.hadoop.mapred.JobConf, java.util.List)"><!-- --></A><H3> |
---|
337 | createPool</H3> |
---|
338 | <PRE> |
---|
339 | protected void <B>createPool</B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf, |
---|
340 | <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/fs/PathFilter.html" title="interface in org.apache.hadoop.fs">PathFilter</A>> filters)</PRE> |
---|
341 | <DL> |
---|
342 | <DD>Create a new pool and add the filters to it. |
---|
343 | A split cannot have files from different pools. |
---|
344 | <P> |
---|
345 | <DD><DL> |
---|
346 | </DL> |
---|
347 | </DD> |
---|
348 | </DL> |
---|
349 | <HR> |
---|
350 | |
---|
351 | <A NAME="createPool(org.apache.hadoop.mapred.JobConf, org.apache.hadoop.fs.PathFilter...)"><!-- --></A><H3> |
---|
352 | createPool</H3> |
---|
353 | <PRE> |
---|
354 | protected void <B>createPool</B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> conf, |
---|
355 | <A HREF="../../../../../org/apache/hadoop/fs/PathFilter.html" title="interface in org.apache.hadoop.fs">PathFilter</A>... filters)</PRE> |
---|
356 | <DL> |
---|
357 | <DD>Create a new pool and add the filters to it. |
---|
358 | A pathname can satisfy any one of the specified filters. |
---|
359 | A split cannot have files from different pools. |
---|
360 | <P> |
---|
361 | <DD><DL> |
---|
362 | </DL> |
---|
363 | </DD> |
---|
364 | </DL> |
---|
365 | <HR> |
---|
366 | |
---|
367 | <A NAME="getSplits(org.apache.hadoop.mapred.JobConf, int)"><!-- --></A><H3> |
---|
368 | getSplits</H3> |
---|
369 | <PRE> |
---|
370 | public <A HREF="../../../../../org/apache/hadoop/mapred/InputSplit.html" title="interface in org.apache.hadoop.mapred">InputSplit</A>[] <B>getSplits</B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> job, |
---|
371 | int numSplits) |
---|
372 | 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> |
---|
373 | <DL> |
---|
374 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/hadoop/mapred/FileInputFormat.html#getSplits(org.apache.hadoop.mapred.JobConf, int)">FileInputFormat</A></CODE></B></DD> |
---|
375 | <DD>Splits files returned by <A HREF="../../../../../org/apache/hadoop/mapred/FileInputFormat.html#listStatus(org.apache.hadoop.mapred.JobConf)"><CODE>FileInputFormat.listStatus(JobConf)</CODE></A> when |
---|
376 | they're too big. |
---|
377 | <P> |
---|
378 | <DD><DL> |
---|
379 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html#getSplits(org.apache.hadoop.mapred.JobConf, int)">getSplits</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A><<A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileInputFormat.html" title="type parameter in CombineFileInputFormat">K</A>,<A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileInputFormat.html" title="type parameter in CombineFileInputFormat">V</A>></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/mapred/FileInputFormat.html#getSplits(org.apache.hadoop.mapred.JobConf, int)">getSplits</A></CODE> in class <CODE><A HREF="../../../../../org/apache/hadoop/mapred/FileInputFormat.html" title="class in org.apache.hadoop.mapred">FileInputFormat</A><<A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileInputFormat.html" title="type parameter in CombineFileInputFormat">K</A>,<A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileInputFormat.html" title="type parameter in CombineFileInputFormat">V</A>></CODE></DL> |
---|
380 | </DD> |
---|
381 | <DD><DL> |
---|
382 | <DT><B>Parameters:</B><DD><CODE>job</CODE> - job configuration.<DD><CODE>numSplits</CODE> - the desired number of splits, a hint. |
---|
383 | <DT><B>Returns:</B><DD>an array of <A HREF="../../../../../org/apache/hadoop/mapred/InputSplit.html" title="interface in org.apache.hadoop.mapred"><CODE>InputSplit</CODE></A>s for the job. |
---|
384 | <DT><B>Throws:</B> |
---|
385 | <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> |
---|
386 | </DD> |
---|
387 | </DL> |
---|
388 | <HR> |
---|
389 | |
---|
390 | <A NAME="getRecordReader(org.apache.hadoop.mapred.InputSplit, org.apache.hadoop.mapred.JobConf, org.apache.hadoop.mapred.Reporter)"><!-- --></A><H3> |
---|
391 | getRecordReader</H3> |
---|
392 | <PRE> |
---|
393 | public abstract <A HREF="../../../../../org/apache/hadoop/mapred/RecordReader.html" title="interface in org.apache.hadoop.mapred">RecordReader</A><<A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileInputFormat.html" title="type parameter in CombineFileInputFormat">K</A>,<A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileInputFormat.html" title="type parameter in CombineFileInputFormat">V</A>> <B>getRecordReader</B>(<A HREF="../../../../../org/apache/hadoop/mapred/InputSplit.html" title="interface in org.apache.hadoop.mapred">InputSplit</A> split, |
---|
394 | <A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> job, |
---|
395 | <A HREF="../../../../../org/apache/hadoop/mapred/Reporter.html" title="interface in org.apache.hadoop.mapred">Reporter</A> reporter) |
---|
396 | 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> |
---|
397 | <DL> |
---|
398 | <DD>This is not implemented yet. |
---|
399 | <P> |
---|
400 | <DD><DL> |
---|
401 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html#getRecordReader(org.apache.hadoop.mapred.InputSplit, org.apache.hadoop.mapred.JobConf, org.apache.hadoop.mapred.Reporter)">getRecordReader</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/hadoop/mapred/InputFormat.html" title="interface in org.apache.hadoop.mapred">InputFormat</A><<A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileInputFormat.html" title="type parameter in CombineFileInputFormat">K</A>,<A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileInputFormat.html" title="type parameter in CombineFileInputFormat">V</A>></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/mapred/FileInputFormat.html#getRecordReader(org.apache.hadoop.mapred.InputSplit, org.apache.hadoop.mapred.JobConf, org.apache.hadoop.mapred.Reporter)">getRecordReader</A></CODE> in class <CODE><A HREF="../../../../../org/apache/hadoop/mapred/FileInputFormat.html" title="class in org.apache.hadoop.mapred">FileInputFormat</A><<A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileInputFormat.html" title="type parameter in CombineFileInputFormat">K</A>,<A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileInputFormat.html" title="type parameter in CombineFileInputFormat">V</A>></CODE></DL> |
---|
402 | </DD> |
---|
403 | <DD><DL> |
---|
404 | <DT><B>Parameters:</B><DD><CODE>split</CODE> - the <A HREF="../../../../../org/apache/hadoop/mapred/InputSplit.html" title="interface in org.apache.hadoop.mapred"><CODE>InputSplit</CODE></A><DD><CODE>job</CODE> - the job that this split belongs to |
---|
405 | <DT><B>Returns:</B><DD>a <A HREF="../../../../../org/apache/hadoop/mapred/RecordReader.html" title="interface in org.apache.hadoop.mapred"><CODE>RecordReader</CODE></A> |
---|
406 | <DT><B>Throws:</B> |
---|
407 | <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> |
---|
408 | </DD> |
---|
409 | </DL> |
---|
410 | <!-- ========= END OF CLASS DATA ========= --> |
---|
411 | <HR> |
---|
412 | |
---|
413 | |
---|
414 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
415 | <A NAME="navbar_bottom"><!-- --></A> |
---|
416 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
417 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
418 | <TR> |
---|
419 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
420 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
421 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
422 | <TR ALIGN="center" VALIGN="top"> |
---|
423 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
424 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
425 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
426 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CombineFileInputFormat.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
427 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
428 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
429 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
430 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
431 | </TR> |
---|
432 | </TABLE> |
---|
433 | </TD> |
---|
434 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
435 | </EM> |
---|
436 | </TD> |
---|
437 | </TR> |
---|
438 | |
---|
439 | <TR> |
---|
440 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
441 | <A HREF="../../../../../org/apache/hadoop/mapred/lib/ChainReducer.html" title="class in org.apache.hadoop.mapred.lib"><B>PREV CLASS</B></A> |
---|
442 | <A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileRecordReader.html" title="class in org.apache.hadoop.mapred.lib"><B>NEXT CLASS</B></A></FONT></TD> |
---|
443 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
444 | <A HREF="../../../../../index.html?org/apache/hadoop/mapred/lib/CombineFileInputFormat.html" target="_top"><B>FRAMES</B></A> |
---|
445 | <A HREF="CombineFileInputFormat.html" target="_top"><B>NO FRAMES</B></A> |
---|
446 | <SCRIPT type="text/javascript"> |
---|
447 | <!-- |
---|
448 | if(window==top) { |
---|
449 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
450 | } |
---|
451 | //--> |
---|
452 | </SCRIPT> |
---|
453 | <NOSCRIPT> |
---|
454 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
455 | </NOSCRIPT> |
---|
456 | |
---|
457 | |
---|
458 | </FONT></TD> |
---|
459 | </TR> |
---|
460 | <TR> |
---|
461 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
462 | SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_org.apache.hadoop.mapred.FileInputFormat">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
463 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
464 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
465 | </TR> |
---|
466 | </TABLE> |
---|
467 | <A NAME="skip-navbar_bottom"></A> |
---|
468 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
469 | |
---|
470 | <HR> |
---|
471 | Copyright © 2009 The Apache Software Foundation |
---|
472 | </BODY> |
---|
473 | </HTML> |
---|