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.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConcatSourcesParam(String str) Constructor.ConcatSourcesParam(org.apache.hadoop.fs.Path[] paths) -
Method Summary
Methods inherited from class org.apache.hadoop.hdfs.web.resources.Param
getValue, toSortedString, toString
-
Field Details
-
NAME
Parameter name.- See Also:
-
DEFAULT
- See Also:
-
-
Constructor Details
-
ConcatSourcesParam
Constructor.- Parameters:
str- a string representation of the parameter value.
-
ConcatSourcesParam
public ConcatSourcesParam(org.apache.hadoop.fs.Path[] paths)
-
-
Method Details
-
getName
-
getAbsolutePaths
- Returns:
- the absolute path.
-
getValueString
- Specified by:
getValueStringin classParam<String,org.apache.hadoop.hdfs.web.resources.StringParam.Domain> - Returns:
- the parameter value as a string
-