public class StageOutput extends Object
| Constructor and Description |
|---|
StageOutput(String name,
Class<?> keyClass,
Class<?> valueClass,
Class<? extends org.apache.hadoop.mapreduce.OutputFormat> formatClass)
Creates a new instance without any attributes.
|
StageOutput(String name,
Class<?> keyClass,
Class<?> valueClass,
Class<? extends org.apache.hadoop.mapreduce.OutputFormat> formatClass,
Map<String,String> attributes)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getAttributes()
Returns the output attributes.
|
Class<? extends org.apache.hadoop.mapreduce.OutputFormat<?,?>> |
getFormatClass()
Returns the output format class for handling this output.
|
Class<?> |
getKeyClass()
Returns the key class of this output.
|
String |
getName()
Returns the simple name of this output.
|
Class<?> |
getValueClass()
Returns the value class of this output.
|
public StageOutput(String name, Class<?> keyClass, Class<?> valueClass, Class<? extends org.apache.hadoop.mapreduce.OutputFormat> formatClass)
name - target output namekeyClass - output key typevalueClass - output value typeformatClass - input format classIllegalArgumentException - if some parameters were nullpublic StageOutput(String name, Class<?> keyClass, Class<?> valueClass, Class<? extends org.apache.hadoop.mapreduce.OutputFormat> formatClass, Map<String,String> attributes)
name - target output namekeyClass - output key typevalueClass - output value typeformatClass - input format classattributes - input attributesIllegalArgumentException - if some parameters were nullpublic String getName()
public Class<?> getKeyClass()
public Class<?> getValueClass()
public Class<? extends org.apache.hadoop.mapreduce.OutputFormat<?,?>> getFormatClass()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.