net.sf.eos.hadoop.mapred
Class AbstractKeyGenerator<K extends WritableComparable>
java.lang.Object
net.sf.eos.config.Configured
net.sf.eos.hadoop.mapred.AbstractKeyGenerator<K>
- All Implemented Interfaces:
- Configurable, KeyGenerator<K>
- Direct Known Subclasses:
- IdMetadataKeyGenerator, TextMetaKeyGenerator
public abstract class AbstractKeyGenerator<K extends WritableComparable>
- extends Configured
- implements KeyGenerator<K>
Simple implementation with a factory.
- Author:
- Sascha Kohlmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ABSTRACT_KEY_GENERATOR_IMPL_CONFIG_NAME
@ConfigurationKey(type=CLASSNAME,
description="Key generator instances support the generation of keys in the map-reduce map task.")
public static final String ABSTRACT_KEY_GENERATOR_IMPL_CONFIG_NAME
- See Also:
- Constant Field Values
AbstractKeyGenerator
public AbstractKeyGenerator()
newInstance
@FactoryMethod(key="net.sf.eos.hadoop.mapred.AbstractKeyGenerator.impl")
public static final AbstractKeyGenerator<? extends WritableComparable> newInstance(Configuration conf)
throws EosException
- Creates a new instance.
- Parameters:
conf
- the configuration with the configuration data for the
implementation
- Returns:
- a new instance
- Throws:
EosException
- if an error occurs
Copyright © 2008. All Rights Reserved.