source: proiecte/HadoopJUnit/hadoop-0.20.1/docs/api/org/apache/hadoop/mapred/lib/CombineFileSplit.html @ 120

Last change on this file since 120 was 120, checked in by (none), 14 years ago

Added the mail files for the Hadoop JUNit Project

  • Property svn:executable set to *
File size: 29.5 KB
Line 
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>
7CombineFileSplit (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">
15function windowTitle()
16{
17    if (location.href.indexOf('is-external=true') == -1) {
18        parent.document.title="CombineFileSplit (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>&nbsp;</TD>
41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/CombineFileSplit.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48  </TR>
49</TABLE>
50</TD>
51<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52</EM>
53</TD>
54</TR>
55
56<TR>
57<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58&nbsp;<A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileRecordReader.html" title="class in org.apache.hadoop.mapred.lib"><B>PREV CLASS</B></A>&nbsp;
59&nbsp;<A HREF="../../../../../org/apache/hadoop/mapred/lib/DelegatingInputFormat.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/CombineFileSplit.html" target="_top"><B>FRAMES</B></A>  &nbsp;
62&nbsp;<A HREF="CombineFileSplit.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
63&nbsp;<SCRIPT type="text/javascript">
64  <!--
65  if(window==top) {
66    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
67  }
68  //-->
69</SCRIPT>
70<NOSCRIPT>
71  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
72</NOSCRIPT>
73
74
75</FONT></TD>
76</TR>
77<TR>
78<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
82</TR>
83</TABLE>
84<A NAME="skip-navbar_top"></A>
85<!-- ========= END OF TOP NAVBAR ========= -->
86
87<HR>
88<!-- ======== START OF CLASS DATA ======== -->
89<H2>
90<FONT SIZE="-1">
91org.apache.hadoop.mapred.lib</FONT>
92<BR>
93Class CombineFileSplit</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 "><B>org.apache.hadoop.mapred.lib.CombineFileSplit</B>
97</PRE>
98<DL>
99<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/apache/hadoop/io/Writable.html" title="interface in org.apache.hadoop.io">Writable</A>, <A HREF="../../../../../org/apache/hadoop/mapred/InputSplit.html" title="interface in org.apache.hadoop.mapred">InputSplit</A></DD>
100</DL>
101<DL>
102<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/apache/hadoop/mapred/MultiFileSplit.html" title="class in org.apache.hadoop.mapred">MultiFileSplit</A></DD>
103</DL>
104<HR>
105<DL>
106<DT><PRE>public class <B>CombineFileSplit</B><DT>extends <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><DT>implements <A HREF="../../../../../org/apache/hadoop/mapred/InputSplit.html" title="interface in org.apache.hadoop.mapred">InputSplit</A></DL>
107</PRE>
108
109<P>
110A sub-collection of input files. Unlike <A HREF="../../../../../org/apache/hadoop/mapred/FileSplit.html" title="class in org.apache.hadoop.mapred"><CODE>FileSplit</CODE></A>,
111 CombineFileSplit * class does not represent a split of a file, but a split of input files
112 into smaller sets. A split may contain blocks from different file but all
113 the blocks in the same split are probably local to some rack <br> 
114 CombineFileSplit can be used to implement <A HREF="../../../../../org/apache/hadoop/mapred/RecordReader.html" title="interface in org.apache.hadoop.mapred"><CODE>RecordReader</CODE></A>'s,
115 with reading one record per file.
116<P>
117
118<P>
119<DL>
120<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/hadoop/mapred/FileSplit.html" title="class in org.apache.hadoop.mapred"><CODE>FileSplit</CODE></A>,
121<A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileInputFormat.html" title="class in org.apache.hadoop.mapred.lib"><CODE>CombineFileInputFormat</CODE></A></DL>
122<HR>
123
124<P>
125
126<!-- ======== CONSTRUCTOR SUMMARY ======== -->
127
128<A NAME="constructor_summary"><!-- --></A>
129<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
130<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
131<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
132<B>Constructor Summary</B></FONT></TH>
133</TR>
134<TR BGCOLOR="white" CLASS="TableRowColor">
135<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileSplit.html#CombineFileSplit()">CombineFileSplit</A></B>()</CODE>
136
137<BR>
138&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;default constructor</TD>
139</TR>
140<TR BGCOLOR="white" CLASS="TableRowColor">
141<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileSplit.html#CombineFileSplit(org.apache.hadoop.mapred.lib.CombineFileSplit)">CombineFileSplit</A></B>(<A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileSplit.html" title="class in org.apache.hadoop.mapred.lib">CombineFileSplit</A>&nbsp;old)</CODE>
142
143<BR>
144&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copy constructor</TD>
145</TR>
146<TR BGCOLOR="white" CLASS="TableRowColor">
147<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileSplit.html#CombineFileSplit(org.apache.hadoop.mapred.JobConf, org.apache.hadoop.fs.Path[], long[])">CombineFileSplit</A></B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A>&nbsp;job,
148                 <A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A>[]&nbsp;files,
149                 long[]&nbsp;lengths)</CODE>
150
151<BR>
152&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
153</TR>
154<TR BGCOLOR="white" CLASS="TableRowColor">
155<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileSplit.html#CombineFileSplit(org.apache.hadoop.mapred.JobConf, org.apache.hadoop.fs.Path[], long[], long[], java.lang.String[])">CombineFileSplit</A></B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A>&nbsp;job,
156                 <A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A>[]&nbsp;files,
157                 long[]&nbsp;start,
158                 long[]&nbsp;lengths,
159                 <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>[]&nbsp;locations)</CODE>
160
161<BR>
162&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
163</TR>
164</TABLE>
165&nbsp;
166<!-- ========== METHOD SUMMARY =========== -->
167
168<A NAME="method_summary"><!-- --></A>
169<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
170<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
171<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
172<B>Method Summary</B></FONT></TH>
173</TR>
174<TR BGCOLOR="white" CLASS="TableRowColor">
175<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
176<CODE>&nbsp;<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A></CODE></FONT></TD>
177<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileSplit.html#getJob()">getJob</A></B>()</CODE>
178
179<BR>
180&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
181</TR>
182<TR BGCOLOR="white" CLASS="TableRowColor">
183<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
184<CODE>&nbsp;long</CODE></FONT></TD>
185<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileSplit.html#getLength()">getLength</A></B>()</CODE>
186
187<BR>
188&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the total number of bytes in the data of the <code>InputSplit</code>.</TD>
189</TR>
190<TR BGCOLOR="white" CLASS="TableRowColor">
191<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
192<CODE>&nbsp;long</CODE></FONT></TD>
193<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileSplit.html#getLength(int)">getLength</A></B>(int&nbsp;i)</CODE>
194
195<BR>
196&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the length of the i<sup>th</sup> Path</TD>
197</TR>
198<TR BGCOLOR="white" CLASS="TableRowColor">
199<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
200<CODE>&nbsp;long[]</CODE></FONT></TD>
201<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileSplit.html#getLengths()">getLengths</A></B>()</CODE>
202
203<BR>
204&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an array containing the lengths of the files in the split</TD>
205</TR>
206<TR BGCOLOR="white" CLASS="TableRowColor">
207<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
208<CODE>&nbsp;<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>
209<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileSplit.html#getLocations()">getLocations</A></B>()</CODE>
210
211<BR>
212&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns all the Paths where this input-split resides</TD>
213</TR>
214<TR BGCOLOR="white" CLASS="TableRowColor">
215<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
216<CODE>&nbsp;int</CODE></FONT></TD>
217<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileSplit.html#getNumPaths()">getNumPaths</A></B>()</CODE>
218
219<BR>
220&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of Paths in the split</TD>
221</TR>
222<TR BGCOLOR="white" CLASS="TableRowColor">
223<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
224<CODE>&nbsp;long</CODE></FONT></TD>
225<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileSplit.html#getOffset(int)">getOffset</A></B>(int&nbsp;i)</CODE>
226
227<BR>
228&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the start offset of the i<sup>th</sup> Path</TD>
229</TR>
230<TR BGCOLOR="white" CLASS="TableRowColor">
231<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
232<CODE>&nbsp;<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A></CODE></FONT></TD>
233<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileSplit.html#getPath(int)">getPath</A></B>(int&nbsp;i)</CODE>
234
235<BR>
236&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the i<sup>th</sup> Path</TD>
237</TR>
238<TR BGCOLOR="white" CLASS="TableRowColor">
239<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
240<CODE>&nbsp;<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A>[]</CODE></FONT></TD>
241<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileSplit.html#getPaths()">getPaths</A></B>()</CODE>
242
243<BR>
244&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns all the Paths in the split</TD>
245</TR>
246<TR BGCOLOR="white" CLASS="TableRowColor">
247<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
248<CODE>&nbsp;long[]</CODE></FONT></TD>
249<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileSplit.html#getStartOffsets()">getStartOffsets</A></B>()</CODE>
250
251<BR>
252&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an array containing the startoffsets of the files in the split</TD>
253</TR>
254<TR BGCOLOR="white" CLASS="TableRowColor">
255<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
256<CODE>&nbsp;void</CODE></FONT></TD>
257<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileSplit.html#readFields(java.io.DataInput)">readFields</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/DataInput.html?is-external=true" title="class or interface in java.io">DataInput</A>&nbsp;in)</CODE>
258
259<BR>
260&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Deserialize the fields of this object from <code>in</code>.</TD>
261</TR>
262<TR BGCOLOR="white" CLASS="TableRowColor">
263<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
264<CODE>&nbsp;<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>
265<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileSplit.html#toString()">toString</A></B>()</CODE>
266
267<BR>
268&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
269</TR>
270<TR BGCOLOR="white" CLASS="TableRowColor">
271<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
272<CODE>&nbsp;void</CODE></FONT></TD>
273<TD><CODE><B><A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileSplit.html#write(java.io.DataOutput)">write</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</A>&nbsp;out)</CODE>
274
275<BR>
276&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serialize the fields of this object to <code>out</code>.</TD>
277</TR>
278</TABLE>
279&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
280<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
281<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
282<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>
283</TR>
284<TR BGCOLOR="white" CLASS="TableRowColor">
285<TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
286</TR>
287</TABLE>
288&nbsp;
289<P>
290
291<!-- ========= CONSTRUCTOR DETAIL ======== -->
292
293<A NAME="constructor_detail"><!-- --></A>
294<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
295<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
296<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
297<B>Constructor Detail</B></FONT></TH>
298</TR>
299</TABLE>
300
301<A NAME="CombineFileSplit()"><!-- --></A><H3>
302CombineFileSplit</H3>
303<PRE>
304public <B>CombineFileSplit</B>()</PRE>
305<DL>
306<DD>default constructor
307<P>
308</DL>
309<HR>
310
311<A NAME="CombineFileSplit(org.apache.hadoop.mapred.JobConf, org.apache.hadoop.fs.Path[], long[], long[], java.lang.String[])"><!-- --></A><H3>
312CombineFileSplit</H3>
313<PRE>
314public <B>CombineFileSplit</B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A>&nbsp;job,
315                        <A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A>[]&nbsp;files,
316                        long[]&nbsp;start,
317                        long[]&nbsp;lengths,
318                        <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>[]&nbsp;locations)</PRE>
319<DL>
320</DL>
321<HR>
322
323<A NAME="CombineFileSplit(org.apache.hadoop.mapred.JobConf, org.apache.hadoop.fs.Path[], long[])"><!-- --></A><H3>
324CombineFileSplit</H3>
325<PRE>
326public <B>CombineFileSplit</B>(<A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A>&nbsp;job,
327                        <A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A>[]&nbsp;files,
328                        long[]&nbsp;lengths)</PRE>
329<DL>
330</DL>
331<HR>
332
333<A NAME="CombineFileSplit(org.apache.hadoop.mapred.lib.CombineFileSplit)"><!-- --></A><H3>
334CombineFileSplit</H3>
335<PRE>
336public <B>CombineFileSplit</B>(<A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileSplit.html" title="class in org.apache.hadoop.mapred.lib">CombineFileSplit</A>&nbsp;old)
337                 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>
338<DL>
339<DD>Copy constructor
340<P>
341<DL>
342
343<DT><B>Throws:</B>
344<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>
345</DL>
346
347<!-- ============ METHOD DETAIL ========== -->
348
349<A NAME="method_detail"><!-- --></A>
350<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
351<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
352<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
353<B>Method Detail</B></FONT></TH>
354</TR>
355</TABLE>
356
357<A NAME="getJob()"><!-- --></A><H3>
358getJob</H3>
359<PRE>
360public <A HREF="../../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> <B>getJob</B>()</PRE>
361<DL>
362<DD><DL>
363</DL>
364</DD>
365<DD><DL>
366</DL>
367</DD>
368</DL>
369<HR>
370
371<A NAME="getLength()"><!-- --></A><H3>
372getLength</H3>
373<PRE>
374public long <B>getLength</B>()</PRE>
375<DL>
376<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/hadoop/mapred/InputSplit.html#getLength()">InputSplit</A></CODE></B></DD>
377<DD>Get the total number of bytes in the data of the <code>InputSplit</code>.
378<P>
379<DD><DL>
380<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/mapred/InputSplit.html#getLength()">getLength</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/hadoop/mapred/InputSplit.html" title="interface in org.apache.hadoop.mapred">InputSplit</A></CODE></DL>
381</DD>
382<DD><DL>
383
384<DT><B>Returns:</B><DD>the number of bytes in the input split.</DL>
385</DD>
386</DL>
387<HR>
388
389<A NAME="getStartOffsets()"><!-- --></A><H3>
390getStartOffsets</H3>
391<PRE>
392public long[] <B>getStartOffsets</B>()</PRE>
393<DL>
394<DD>Returns an array containing the startoffsets of the files in the split
395<P>
396<DD><DL>
397</DL>
398</DD>
399<DD><DL>
400</DL>
401</DD>
402</DL>
403<HR>
404
405<A NAME="getLengths()"><!-- --></A><H3>
406getLengths</H3>
407<PRE>
408public long[] <B>getLengths</B>()</PRE>
409<DL>
410<DD>Returns an array containing the lengths of the files in the split
411<P>
412<DD><DL>
413</DL>
414</DD>
415<DD><DL>
416</DL>
417</DD>
418</DL>
419<HR>
420
421<A NAME="getOffset(int)"><!-- --></A><H3>
422getOffset</H3>
423<PRE>
424public long <B>getOffset</B>(int&nbsp;i)</PRE>
425<DL>
426<DD>Returns the start offset of the i<sup>th</sup> Path
427<P>
428<DD><DL>
429</DL>
430</DD>
431<DD><DL>
432</DL>
433</DD>
434</DL>
435<HR>
436
437<A NAME="getLength(int)"><!-- --></A><H3>
438getLength</H3>
439<PRE>
440public long <B>getLength</B>(int&nbsp;i)</PRE>
441<DL>
442<DD>Returns the length of the i<sup>th</sup> Path
443<P>
444<DD><DL>
445</DL>
446</DD>
447<DD><DL>
448</DL>
449</DD>
450</DL>
451<HR>
452
453<A NAME="getNumPaths()"><!-- --></A><H3>
454getNumPaths</H3>
455<PRE>
456public int <B>getNumPaths</B>()</PRE>
457<DL>
458<DD>Returns the number of Paths in the split
459<P>
460<DD><DL>
461</DL>
462</DD>
463<DD><DL>
464</DL>
465</DD>
466</DL>
467<HR>
468
469<A NAME="getPath(int)"><!-- --></A><H3>
470getPath</H3>
471<PRE>
472public <A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> <B>getPath</B>(int&nbsp;i)</PRE>
473<DL>
474<DD>Returns the i<sup>th</sup> Path
475<P>
476<DD><DL>
477</DL>
478</DD>
479<DD><DL>
480</DL>
481</DD>
482</DL>
483<HR>
484
485<A NAME="getPaths()"><!-- --></A><H3>
486getPaths</H3>
487<PRE>
488public <A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A>[] <B>getPaths</B>()</PRE>
489<DL>
490<DD>Returns all the Paths in the split
491<P>
492<DD><DL>
493</DL>
494</DD>
495<DD><DL>
496</DL>
497</DD>
498</DL>
499<HR>
500
501<A NAME="getLocations()"><!-- --></A><H3>
502getLocations</H3>
503<PRE>
504public <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>[] <B>getLocations</B>()
505                      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>
506<DL>
507<DD>Returns all the Paths where this input-split resides
508<P>
509<DD><DL>
510<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/mapred/InputSplit.html#getLocations()">getLocations</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/hadoop/mapred/InputSplit.html" title="interface in org.apache.hadoop.mapred">InputSplit</A></CODE></DL>
511</DD>
512<DD><DL>
513
514<DT><B>Returns:</B><DD>list of hostnames where data of the <code>InputSplit</code> is
515         located as an array of <code>String</code>s.
516<DT><B>Throws:</B>
517<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>
518</DD>
519</DL>
520<HR>
521
522<A NAME="readFields(java.io.DataInput)"><!-- --></A><H3>
523readFields</H3>
524<PRE>
525public void <B>readFields</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/DataInput.html?is-external=true" title="class or interface in java.io">DataInput</A>&nbsp;in)
526                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>
527<DL>
528<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/hadoop/io/Writable.html#readFields(java.io.DataInput)">Writable</A></CODE></B></DD>
529<DD>Deserialize the fields of this object from <code>in</code>
530 
531 <p>For efficiency, implementations should attempt to re-use storage in the
532 existing object where possible.</p>
533<P>
534<DD><DL>
535<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/io/Writable.html#readFields(java.io.DataInput)">readFields</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/hadoop/io/Writable.html" title="interface in org.apache.hadoop.io">Writable</A></CODE></DL>
536</DD>
537<DD><DL>
538<DT><B>Parameters:</B><DD><CODE>in</CODE> - <code>DataInput</code> to deseriablize this object from.
539<DT><B>Throws:</B>
540<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>
541</DD>
542</DL>
543<HR>
544
545<A NAME="write(java.io.DataOutput)"><!-- --></A><H3>
546write</H3>
547<PRE>
548public void <B>write</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</A>&nbsp;out)
549           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>
550<DL>
551<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/hadoop/io/Writable.html#write(java.io.DataOutput)">Writable</A></CODE></B></DD>
552<DD>Serialize the fields of this object to <code>out</code>.
553<P>
554<DD><DL>
555<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/io/Writable.html#write(java.io.DataOutput)">write</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/hadoop/io/Writable.html" title="interface in org.apache.hadoop.io">Writable</A></CODE></DL>
556</DD>
557<DD><DL>
558<DT><B>Parameters:</B><DD><CODE>out</CODE> - <code>DataOuput</code> to serialize this object into.
559<DT><B>Throws:</B>
560<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>
561</DD>
562</DL>
563<HR>
564
565<A NAME="toString()"><!-- --></A><H3>
566toString</H3>
567<PRE>
568public <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> <B>toString</B>()</PRE>
569<DL>
570<DD><DL>
571<DT><B>Overrides:</B><DD><CODE><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></CODE> in class <CODE><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></CODE></DL>
572</DD>
573<DD><DL>
574</DL>
575</DD>
576</DL>
577<!-- ========= END OF CLASS DATA ========= -->
578<HR>
579
580
581<!-- ======= START OF BOTTOM NAVBAR ====== -->
582<A NAME="navbar_bottom"><!-- --></A>
583<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
584<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
585<TR>
586<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
587<A NAME="navbar_bottom_firstrow"><!-- --></A>
588<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
589  <TR ALIGN="center" VALIGN="top">
590  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
591  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
592  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
593  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/CombineFileSplit.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
594  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
595  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
596  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
597  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
598  </TR>
599</TABLE>
600</TD>
601<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
602</EM>
603</TD>
604</TR>
605
606<TR>
607<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
608&nbsp;<A HREF="../../../../../org/apache/hadoop/mapred/lib/CombineFileRecordReader.html" title="class in org.apache.hadoop.mapred.lib"><B>PREV CLASS</B></A>&nbsp;
609&nbsp;<A HREF="../../../../../org/apache/hadoop/mapred/lib/DelegatingInputFormat.html" title="class in org.apache.hadoop.mapred.lib"><B>NEXT CLASS</B></A></FONT></TD>
610<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
611  <A HREF="../../../../../index.html?org/apache/hadoop/mapred/lib/CombineFileSplit.html" target="_top"><B>FRAMES</B></A>  &nbsp;
612&nbsp;<A HREF="CombineFileSplit.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
613&nbsp;<SCRIPT type="text/javascript">
614  <!--
615  if(window==top) {
616    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
617  }
618  //-->
619</SCRIPT>
620<NOSCRIPT>
621  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
622</NOSCRIPT>
623
624
625</FONT></TD>
626</TR>
627<TR>
628<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
629  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
630<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
631DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
632</TR>
633</TABLE>
634<A NAME="skip-navbar_bottom"></A>
635<!-- ======== END OF BOTTOM NAVBAR ======= -->
636
637<HR>
638Copyright &copy; 2009 The Apache Software Foundation
639</BODY>
640</HTML>
Note: See TracBrowser for help on using the repository browser.