Changes between Version 5 and Version 6 of inputouput


Ignore:
Timestamp:
11/23/2012 12:18:47 PM (13 years ago)
Author:
liaojiaohe
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • inputouput

    v5 v6  
    2626 
    2727CompositeInputFormat,用于多个数据源的join。(可以参考hadoop例子join)[[BR]] 
     28 
     29{{{ 
     30static String  compose(String op, Class<? extends InputFormat> inf, Path... path) 
     31}}} 
     32参数op表示进行连接的类型:外连接还是内连接。paths是数据源文件,这是一个String数组或Path数组。[[BR]] 
     33另外还是指定用哪种InputFormat来读取这些数据源文件--这要求所有的数据源文件可以用同一种方式来解析key和value[[BR]] 
    2834 
    2935ZipFileInputFormat[[BR]]