public class XAttrEncodingParam extends Param<E,org.apache.hadoop.hdfs.web.resources.EnumParam.Domain<E>>
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT
Default parameter value.
|
static String |
NAME
Parameter name.
|
Constructor and Description |
---|
XAttrEncodingParam(String str)
Constructor.
|
XAttrEncodingParam(org.apache.hadoop.fs.XAttrCodec encoding) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.fs.XAttrCodec |
getEncoding() |
String |
getName() |
String |
getValueString() |
getValue, toSortedString, toString
public static final String NAME
public static final String DEFAULT
public XAttrEncodingParam(org.apache.hadoop.fs.XAttrCodec encoding)
public XAttrEncodingParam(String str)
str
- a string representation of the parameter value.public String getName()
public String getValueString()
getValueString
in class Param<org.apache.hadoop.fs.XAttrCodec,org.apache.hadoop.hdfs.web.resources.EnumParam.Domain<org.apache.hadoop.fs.XAttrCodec>>
public org.apache.hadoop.fs.XAttrCodec getEncoding()
Copyright © 2018 Apache Software Foundation. All Rights Reserved.