java.io.Serializable, java.lang.Comparable<XAttrFormat>, org.apache.hadoop.hdfs.util.LongBitFormat.Enumpublic enum XAttrFormat extends java.lang.Enum<XAttrFormat> implements org.apache.hadoop.hdfs.util.LongBitFormat.Enum
| Modifier and Type | Method | Description |
|---|---|---|
int |
getLength() |
|
static java.lang.String |
getName(int record) |
|
static int |
toInt(org.apache.hadoop.fs.XAttr a) |
|
static XAttrFormat |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static XAttrFormat[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XAttrFormat RESERVED
public static final XAttrFormat NS_EXT
public static final XAttrFormat NAME
public static final XAttrFormat NS
public static XAttrFormat[] values()
for (XAttrFormat c : XAttrFormat.values()) System.out.println(c);
public static XAttrFormat valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getLength()
getLength in interface org.apache.hadoop.hdfs.util.LongBitFormat.Enumpublic static java.lang.String getName(int record)
public static int toInt(org.apache.hadoop.fs.XAttr a)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.