public class UserDefinedValueAggregatorDescriptor extends Object implements ValueAggregatorDescriptor
ONE, TYPE_SEPARATOR| 构造器和说明 |
|---|
UserDefinedValueAggregatorDescriptor(String className,
JobConf job) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
configure(JobConf job)
Do nothing.
|
static Object |
createInstance(String className)
Create an instance of the given class
|
ArrayList<Map.Entry<Text,Text>> |
generateKeyValPairs(Object key,
Object val)
Generate a list of aggregation-id/value pairs for the given key/value pairs
by delegating the invocation to the real object.
|
String |
toString() |
public static Object createInstance(String className)
className - the name of the classpublic ArrayList<Map.Entry<Text,Text>> generateKeyValPairs(Object key, Object val)
generateKeyValPairs 在接口中 ValueAggregatorDescriptorkey - input keyval - input valuepublic String toString()
public void configure(JobConf job)
configure 在接口中 ValueAggregatorDescriptorjob - a JobConf object that may contain the information that can be used
to configure the object.Copyright © 2009 The Apache Software Foundation