public enum XAttrFormat extends Enum<XAttrFormat> implements org.apache.hadoop.hdfs.util.LongBitFormat.Enum
| Modifier and Type | Method and Description | 
|---|---|
| int | getLength() | 
| static String | getName(int record) | 
| static XAttrFormat | valueOf(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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getLength()
getLength in interface org.apache.hadoop.hdfs.util.LongBitFormat.Enumpublic static String getName(int record)
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.