public class SuffixMultipleTextOutputFormat
extends org.apache.hadoop.mapred.lib.MultipleTextOutputFormat<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
| 构造器和说明 |
|---|
SuffixMultipleTextOutputFormat() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected org.apache.hadoop.io.Text |
generateActualKey(org.apache.hadoop.io.Text key,
org.apache.hadoop.io.Text value) |
protected org.apache.hadoop.io.Text |
generateActualValue(org.apache.hadoop.io.Text key,
org.apache.hadoop.io.Text value) |
protected String |
generateFileNameForKeyValue(org.apache.hadoop.io.Text key,
org.apache.hadoop.io.Text value,
String name) |
static void |
main(String[] args) |
void |
test(org.apache.hadoop.io.Text key,
org.apache.hadoop.io.Text value,
String name) |
generateLeafFileName, getInputFileBasedOutputFileName, getRecordWriterpublic void test(org.apache.hadoop.io.Text key,
org.apache.hadoop.io.Text value,
String name)
protected org.apache.hadoop.io.Text generateActualKey(org.apache.hadoop.io.Text key,
org.apache.hadoop.io.Text value)
generateActualKey 在类中 org.apache.hadoop.mapred.lib.MultipleOutputFormat<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>protected org.apache.hadoop.io.Text generateActualValue(org.apache.hadoop.io.Text key,
org.apache.hadoop.io.Text value)
generateActualValue 在类中 org.apache.hadoop.mapred.lib.MultipleOutputFormat<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>protected String generateFileNameForKeyValue(org.apache.hadoop.io.Text key, org.apache.hadoop.io.Text value, String name)
generateFileNameForKeyValue 在类中 org.apache.hadoop.mapred.lib.MultipleOutputFormat<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>public static void main(String[] args)
Copyright © 2016. All rights reserved.