org.apache.hadoop.fs.http.client
Enum HttpFSFileSystem.Operation

java.lang.Object
  extended by java.lang.Enum<HttpFSFileSystem.Operation>
      extended by org.apache.hadoop.fs.http.client.HttpFSFileSystem.Operation
All Implemented Interfaces:
Serializable, Comparable<HttpFSFileSystem.Operation>
Enclosing class:
HttpFSFileSystem

@InterfaceAudience.Private
public static enum HttpFSFileSystem.Operation
extends Enum<HttpFSFileSystem.Operation>


Enum Constant Summary
APPEND
           
CREATE
           
DELETE
           
GETCONTENTSUMMARY
           
GETFILEBLOCKLOCATIONS
           
GETFILECHECKSUM
           
GETFILESTATUS
           
GETHOMEDIRECTORY
           
INSTRUMENTATION
           
LISTSTATUS
           
MKDIRS
           
OPEN
           
RENAME
           
SETOWNER
           
SETPERMISSION
           
SETREPLICATION
           
SETTIMES
           
 
Method Summary
 String getMethod()
           
static HttpFSFileSystem.Operation valueOf(String name)
          Returns the enum constant of this type with the specified name.
static HttpFSFileSystem.Operation[] 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

OPEN

public static final HttpFSFileSystem.Operation OPEN

GETFILESTATUS

public static final HttpFSFileSystem.Operation GETFILESTATUS

LISTSTATUS

public static final HttpFSFileSystem.Operation LISTSTATUS

GETHOMEDIRECTORY

public static final HttpFSFileSystem.Operation GETHOMEDIRECTORY

GETCONTENTSUMMARY

public static final HttpFSFileSystem.Operation GETCONTENTSUMMARY

GETFILECHECKSUM

public static final HttpFSFileSystem.Operation GETFILECHECKSUM

GETFILEBLOCKLOCATIONS

public static final HttpFSFileSystem.Operation GETFILEBLOCKLOCATIONS

INSTRUMENTATION

public static final HttpFSFileSystem.Operation INSTRUMENTATION

APPEND

public static final HttpFSFileSystem.Operation APPEND

CREATE

public static final HttpFSFileSystem.Operation CREATE

MKDIRS

public static final HttpFSFileSystem.Operation MKDIRS

RENAME

public static final HttpFSFileSystem.Operation RENAME

SETOWNER

public static final HttpFSFileSystem.Operation SETOWNER

SETPERMISSION

public static final HttpFSFileSystem.Operation SETPERMISSION

SETREPLICATION

public static final HttpFSFileSystem.Operation SETREPLICATION

SETTIMES

public static final HttpFSFileSystem.Operation SETTIMES

DELETE

public static final HttpFSFileSystem.Operation DELETE
Method Detail

values

public static HttpFSFileSystem.Operation[] 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 (HttpFSFileSystem.Operation c : HttpFSFileSystem.Operation.values())
    System.out.println(c);

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

valueOf

public static HttpFSFileSystem.Operation 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

getMethod

public String getMethod()


Copyright © 2013 Apache Software Foundation. All Rights Reserved.