net.sf.eos.config
Class HadoopConfigurationAdapter

java.lang.Object
  extended by net.sf.eos.config.Configuration
      extended by net.sf.eos.config.HadoopConfigurationAdapter
All Implemented Interfaces:
Iterable<Map.Entry<String,String>>

public class HadoopConfigurationAdapter
extends Configuration

Hadoop Configuration holder.

Author:
Sascha Kohlmann

Constructor Summary
HadoopConfigurationAdapter(Configuration config)
          Copy constructor for Hadoop configuration.
 
Method Summary
static void addEosConfigToHadoopConfig(Configuration from, Configuration to)
          Adds the data of the εοs configuration to the Hadoop configuration.
static void addHadoopConfigToEosConfig(Configuration from, Configuration to)
          Adds the data of the Hadoop configuration to the εοs configuration.
 
Methods inherited from class net.sf.eos.config.Configuration
get, get, getBoolean, getFloat, getInt, iterator, set, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HadoopConfigurationAdapter

public HadoopConfigurationAdapter(Configuration config)
Copy constructor for Hadoop configuration.

Parameters:
config - hadoop configuration
Method Detail

addHadoopConfigToEosConfig

public static void addHadoopConfigToEosConfig(Configuration from,
                                              Configuration to)
Adds the data of the Hadoop configuration to the εοs configuration.

Parameters:
from - the Hadoop configuration
to - the εοs configuration

addEosConfigToHadoopConfig

public static void addEosConfigToHadoopConfig(Configuration from,
                                              Configuration to)
Adds the data of the εοs configuration to the Hadoop configuration.

Parameters:
to - the Hadoop configuration
from - the εοs configuration


Copyright © 2008. All Rights Reserved.