org.apache.hadoop.hdfs.web.resources
Class ConcatSourcesParam
java.lang.Object
org.apache.hadoop.hdfs.web.resources.Param<String,org.apache.hadoop.hdfs.web.resources.StringParam.Domain>
org.apache.hadoop.hdfs.web.resources.ConcatSourcesParam
public class ConcatSourcesParam
- extends Param<String,org.apache.hadoop.hdfs.web.resources.StringParam.Domain>
The concat source paths parameter.
NAME
public static final String NAME
- Parameter name.
- See Also:
- Constant Field Values
DEFAULT
public static final String DEFAULT
- See Also:
- Constant Field Values
ConcatSourcesParam
public ConcatSourcesParam(String str)
- Constructor.
- Parameters:
str
- a string representation of the parameter value.
ConcatSourcesParam
public ConcatSourcesParam(org.apache.hadoop.fs.Path[] paths)
getName
public String getName()
- Specified by:
getName
in class Param<String,org.apache.hadoop.hdfs.web.resources.StringParam.Domain>
- Returns:
- the parameter name.
getAbsolutePaths
public final String[] getAbsolutePaths()
- Returns:
- the absolute path.
getValueString
public String getValueString()
- Specified by:
getValueString
in class Param<String,org.apache.hadoop.hdfs.web.resources.StringParam.Domain>
- Returns:
- the parameter value as a string
Copyright © 2013 Apache Software Foundation. All Rights Reserved.