public class StageInput extends Object
Constructor and Description |
---|
StageInput(String pathString,
Class<? extends org.apache.hadoop.mapreduce.InputFormat> formatClass,
Class<? extends org.apache.hadoop.mapreduce.Mapper> mapperClass)
Creates a new instance without any attributes.
|
StageInput(String pathString,
Class<? extends org.apache.hadoop.mapreduce.InputFormat> formatClass,
Class<? extends org.apache.hadoop.mapreduce.Mapper> mapperClass,
Map<String,String> attributes)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Map<String,String> |
getAttributes()
Returns the input attributes.
|
Class<? extends org.apache.hadoop.mapreduce.InputFormat<?,?>> |
getFormatClass()
Returns the input format class for handling this input.
|
Class<? extends org.apache.hadoop.mapreduce.Mapper<?,?,?,?>> |
getMapperClass()
Returns the mapper class for handling this input.
|
String |
getPathString()
Returns the path expression for the input.
|
int |
hashCode() |
public StageInput(String pathString, Class<? extends org.apache.hadoop.mapreduce.InputFormat> formatClass, Class<? extends org.apache.hadoop.mapreduce.Mapper> mapperClass)
pathString
- path to the input (may includes variables)formatClass
- input format classmapperClass
- mapper class to process input dataIllegalArgumentException
- if some parameters were null
public StageInput(String pathString, Class<? extends org.apache.hadoop.mapreduce.InputFormat> formatClass, Class<? extends org.apache.hadoop.mapreduce.Mapper> mapperClass, Map<String,String> attributes)
pathString
- path to the input (may includes variables)formatClass
- input format classmapperClass
- mapper class to process input dataattributes
- input attributesIllegalArgumentException
- if some parameters were null
public String getPathString()
public Class<? extends org.apache.hadoop.mapreduce.InputFormat<?,?>> getFormatClass()
public Class<? extends org.apache.hadoop.mapreduce.Mapper<?,?,?,?>> getMapperClass()
public Map<String,String> getAttributes()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.