public class UserDefinedValueAggregatorDescriptor extends java.lang.Object implements ValueAggregatorDescriptor
ONE, TYPE_SEPARATOR| Constructor and Description |
|---|
UserDefinedValueAggregatorDescriptor(java.lang.String className,
JobConf job) |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(JobConf job)
Do nothing.
|
static java.lang.Object |
createInstance(java.lang.String className)
Create an instance of the given class
|
java.util.ArrayList<java.util.Map.Entry<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>> |
generateKeyValPairs(java.lang.Object key,
java.lang.Object val)
Generate a list of aggregation-id/value pairs for the given key/value pairs
by delegating the invocation to the real object.
|
java.lang.String |
toString() |
public UserDefinedValueAggregatorDescriptor(java.lang.String className,
JobConf job)
className - the class name of the user defined descriptor classjob - a configure object used for decriptor configurationpublic static java.lang.Object createInstance(java.lang.String className)
className - the name of the classpublic java.util.ArrayList<java.util.Map.Entry<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>> generateKeyValPairs(java.lang.Object key,
java.lang.Object val)
generateKeyValPairs in interface ValueAggregatorDescriptorkey - input keyval - input valuepublic java.lang.String toString()
toString in class java.lang.Objectpublic void configure(JobConf job)
configure in interface ValueAggregatorDescriptorjob - a JobConf object that may contain the information that can be used
to configure the object.Copyright © 2009 The Apache Software Foundation