This project has retired. For details please refer to its
Attic page .
InputBundle (Apache Crunch 0.3.0-incubating API)
org.apache.crunch.io.impl
Class InputBundle
java.lang.Object
org.apache.crunch.io.impl.InputBundle
All Implemented Interfaces: Serializable
public class InputBundle extends Object implements Serializable
A combination of an InputFormat and any configuration information that
InputFormat needs to run properly. InputBundles allow us to let different
InputFormats pretend as if they are the only InputFormat that exists in a
particular MapReduce job.
See Also: Serialized Form
Constructor Summary
InputBundle (Class <? extends org.apache.hadoop.mapreduce.InputFormat> inputFormatClass)
InputBundle
public InputBundle (Class <? extends org.apache.hadoop.mapreduce.InputFormat> inputFormatClass)
fromSerialized
public static InputBundle fromSerialized (String serialized)
set
public InputBundle set (String key,
String value)
getInputFormatClass
public Class <? extends org.apache.hadoop.mapreduce.InputFormat> getInputFormatClass ()
getExtraConfiguration
public Map <String ,String > getExtraConfiguration ()
configure
public org.apache.hadoop.conf.Configuration configure (org.apache.hadoop.conf.Configuration conf)
serialize
public String serialize ()
getName
public String getName ()
hashCode
public int hashCode ()
Overrides: hashCode
in class Object
equals
public boolean equals (Object other)
Overrides: equals
in class Object
Copyright © 2012 The Apache Software Foundation . All Rights Reserved.