public static enum GetOpParam.Op extends Enum<GetOpParam.Op> implements HttpOpParam.Op
Enum Constant and Description |
---|
CHECKACCESS |
GET_BLOCK_LOCATIONS
GET_BLOCK_LOCATIONS is a private/stable API op.
|
GETACLSTATUS |
GETALLSTORAGEPOLICY |
GETCONTENTSUMMARY |
GETDELEGATIONTOKEN |
GETFILEBLOCKLOCATIONS
GETFILEBLOCKLOCATIONS is the public op that complies with
FileSystem.getFileBlockLocations(org.apache.hadoop.fs.FileStatus, long, long)
interface. |
GETFILECHECKSUM |
GETFILESTATUS |
GETHOMEDIRECTORY |
GETSERVERDEFAULTS |
GETSTORAGEPOLICY |
GETTRASHROOT |
GETXATTRS |
LISTSTATUS |
LISTSTATUS_BATCH |
LISTXATTRS |
NULL |
OPEN |
Modifier and Type | Method and Description |
---|---|
boolean |
getDoOutput() |
int |
getExpectedHttpResponseCode() |
boolean |
getRedirect() |
boolean |
getRequireAuth() |
HttpOpParam.Type |
getType() |
String |
toQueryString() |
static GetOpParam.Op |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GetOpParam.Op[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GetOpParam.Op OPEN
public static final GetOpParam.Op GETFILESTATUS
public static final GetOpParam.Op LISTSTATUS
public static final GetOpParam.Op GETCONTENTSUMMARY
public static final GetOpParam.Op GETFILECHECKSUM
public static final GetOpParam.Op GETHOMEDIRECTORY
public static final GetOpParam.Op GETDELEGATIONTOKEN
public static final GetOpParam.Op GET_BLOCK_LOCATIONS
LocatedBlocks
json object.public static final GetOpParam.Op GETFILEBLOCKLOCATIONS
FileSystem.getFileBlockLocations(org.apache.hadoop.fs.FileStatus, long, long)
interface.public static final GetOpParam.Op GETACLSTATUS
public static final GetOpParam.Op GETXATTRS
public static final GetOpParam.Op GETTRASHROOT
public static final GetOpParam.Op LISTXATTRS
public static final GetOpParam.Op GETALLSTORAGEPOLICY
public static final GetOpParam.Op GETSTORAGEPOLICY
public static final GetOpParam.Op NULL
public static final GetOpParam.Op CHECKACCESS
public static final GetOpParam.Op LISTSTATUS_BATCH
public static final GetOpParam.Op GETSERVERDEFAULTS
public static GetOpParam.Op[] values()
for (GetOpParam.Op c : GetOpParam.Op.values()) System.out.println(c);
public static GetOpParam.Op 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 HttpOpParam.Type getType()
getType
in interface HttpOpParam.Op
public boolean getRequireAuth()
getRequireAuth
in interface HttpOpParam.Op
public boolean getDoOutput()
getDoOutput
in interface HttpOpParam.Op
public boolean getRedirect()
getRedirect
in interface HttpOpParam.Op
public int getExpectedHttpResponseCode()
getExpectedHttpResponseCode
in interface HttpOpParam.Op
public String toQueryString()
toQueryString
in interface HttpOpParam.Op
Copyright © 2018 Apache Software Foundation. All Rights Reserved.