org.apache.accumulo.start.classloader.vfs.providers
Enum HdfsFileAttributes

java.lang.Object
  extended by java.lang.Enum<HdfsFileAttributes>
      extended by org.apache.accumulo.start.classloader.vfs.providers.HdfsFileAttributes
All Implemented Interfaces:
Serializable, Comparable<HdfsFileAttributes>

public enum HdfsFileAttributes
extends Enum<HdfsFileAttributes>

HDFS file content attributes.

Since:
2.1

Enum Constant Summary
BLOCK_SIZE
          Block size.
GROUP
          Group.
LAST_ACCESS_TIME
          Last access time.
LENGTH
          Length.
MODIFICATION_TIME
          Modification time.
OWNER
          Owner.
PERMISSIONS
          Permissions.
 
Method Summary
static HdfsFileAttributes valueOf(String name)
          Returns the enum constant of this type with the specified name.
static HdfsFileAttributes[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

LAST_ACCESS_TIME

public static final HdfsFileAttributes LAST_ACCESS_TIME
Last access time.


BLOCK_SIZE

public static final HdfsFileAttributes BLOCK_SIZE
Block size.


GROUP

public static final HdfsFileAttributes GROUP
Group.


OWNER

public static final HdfsFileAttributes OWNER
Owner.


PERMISSIONS

public static final HdfsFileAttributes PERMISSIONS
Permissions.


LENGTH

public static final HdfsFileAttributes LENGTH
Length.


MODIFICATION_TIME

public static final HdfsFileAttributes MODIFICATION_TIME
Modification time.

Method Detail

values

public static HdfsFileAttributes[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (HdfsFileAttributes c : HdfsFileAttributes.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static HdfsFileAttributes valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.