org.apache.hadoop.mapred.lib.aggregate
Class ValueAggregatorBaseDescriptor

java.lang.Object
  extended by org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregatorBaseDescriptor
      extended by org.apache.hadoop.mapred.lib.aggregate.ValueAggregatorBaseDescriptor
All Implemented Interfaces:
ValueAggregatorDescriptor

Deprecated. Use ValueAggregatorBaseDescriptor instead

@Deprecated
@InterfaceAudience.Public
@InterfaceStability.Stable
public class ValueAggregatorBaseDescriptor
extends ValueAggregatorBaseDescriptor
implements ValueAggregatorDescriptor

This class implements the common functionalities of the subclasses of ValueAggregatorDescriptor class.


Field Summary
static String DOUBLE_VALUE_SUM
          Deprecated.  
static String LONG_VALUE_MAX
          Deprecated.  
static String LONG_VALUE_MIN
          Deprecated.  
static String LONG_VALUE_SUM
          Deprecated.  
static String STRING_VALUE_MAX
          Deprecated.  
static String STRING_VALUE_MIN
          Deprecated.  
static String UNIQ_VALUE_COUNT
          Deprecated.  
static String VALUE_HISTOGRAM
          Deprecated.  
 
Fields inherited from class org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregatorBaseDescriptor
inputFile
 
Fields inherited from interface org.apache.hadoop.mapred.lib.aggregate.ValueAggregatorDescriptor
ONE, TYPE_SEPARATOR
 
Constructor Summary
ValueAggregatorBaseDescriptor()
          Deprecated.  
 
Method Summary
 void configure(JobConf job)
          Deprecated. get the input file name.
static Map.Entry<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text> generateEntry(String type, String id, org.apache.hadoop.io.Text val)
          Deprecated.  
static ValueAggregator generateValueAggregator(String type)
          Deprecated.  
 
Methods inherited from class org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregatorBaseDescriptor
configure, generateKeyValPairs, generateValueAggregator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregatorDescriptor
configure, generateKeyValPairs
 

Field Detail

UNIQ_VALUE_COUNT

public static final String UNIQ_VALUE_COUNT
Deprecated. 
See Also:
Constant Field Values

LONG_VALUE_SUM

public static final String LONG_VALUE_SUM
Deprecated. 
See Also:
Constant Field Values

DOUBLE_VALUE_SUM

public static final String DOUBLE_VALUE_SUM
Deprecated. 
See Also:
Constant Field Values

VALUE_HISTOGRAM

public static final String VALUE_HISTOGRAM
Deprecated. 
See Also:
Constant Field Values

LONG_VALUE_MAX

public static final String LONG_VALUE_MAX
Deprecated. 
See Also:
Constant Field Values

LONG_VALUE_MIN

public static final String LONG_VALUE_MIN
Deprecated. 
See Also:
Constant Field Values

STRING_VALUE_MAX

public static final String STRING_VALUE_MAX
Deprecated. 
See Also:
Constant Field Values

STRING_VALUE_MIN

public static final String STRING_VALUE_MIN
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

ValueAggregatorBaseDescriptor

public ValueAggregatorBaseDescriptor()
Deprecated. 
Method Detail

generateEntry

public static Map.Entry<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text> generateEntry(String type,
                                                                                           String id,
                                                                                           org.apache.hadoop.io.Text val)
Deprecated. 
Parameters:
type - the aggregation type
id - the aggregation id
val - the val associated with the id to be aggregated
Returns:
an Entry whose key is the aggregation id prefixed with the aggregation type.

generateValueAggregator

public static ValueAggregator generateValueAggregator(String type)
Deprecated. 
Parameters:
type - the aggregation type
Returns:
a value aggregator of the given type.

configure

public void configure(JobConf job)
Deprecated. 
get the input file name.

Parameters:
job - a job configuration object


Copyright © 2009 The Apache Software Foundation