public enum HiveOperation extends Enum<HiveOperation>
Modifier and Type | Class and Description |
---|---|
static class |
HiveOperation.PrivilegeAgreement |
Modifier and Type | Method and Description |
---|---|
Privilege[] |
getInputRequiredPrivileges() |
String |
getOperationName() |
Privilege[] |
getOutputRequiredPrivileges() |
static HiveOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HiveOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HiveOperation EXPLAIN
public static final HiveOperation LOAD
public static final HiveOperation EXPORT
public static final HiveOperation IMPORT
public static final HiveOperation CREATEDATABASE
public static final HiveOperation DROPDATABASE
public static final HiveOperation SWITCHDATABASE
public static final HiveOperation LOCKDB
public static final HiveOperation UNLOCKDB
public static final HiveOperation DROPTABLE
public static final HiveOperation DESCTABLE
public static final HiveOperation DESCFUNCTION
public static final HiveOperation MSCK
public static final HiveOperation ALTERTABLE_ADDCOLS
public static final HiveOperation ALTERTABLE_REPLACECOLS
public static final HiveOperation ALTERTABLE_RENAMECOL
public static final HiveOperation ALTERTABLE_RENAMEPART
public static final HiveOperation ALTERTABLE_UPDATEPARTSTATS
public static final HiveOperation ALTERTABLE_UPDATETABLESTATS
public static final HiveOperation ALTERTABLE_RENAME
public static final HiveOperation ALTERTABLE_DROPPARTS
public static final HiveOperation ALTERTABLE_ADDPARTS
public static final HiveOperation ALTERTABLE_TOUCH
public static final HiveOperation ALTERTABLE_ARCHIVE
public static final HiveOperation ALTERTABLE_UNARCHIVE
public static final HiveOperation ALTERTABLE_PROPERTIES
public static final HiveOperation ALTERTABLE_SERIALIZER
public static final HiveOperation ALTERPARTITION_SERIALIZER
public static final HiveOperation ALTERTABLE_SERDEPROPERTIES
public static final HiveOperation ALTERPARTITION_SERDEPROPERTIES
public static final HiveOperation ALTERTABLE_CLUSTER_SORT
public static final HiveOperation ANALYZE_TABLE
public static final HiveOperation ALTERTABLE_BUCKETNUM
public static final HiveOperation ALTERPARTITION_BUCKETNUM
public static final HiveOperation SHOWDATABASES
public static final HiveOperation SHOWTABLES
public static final HiveOperation SHOWCOLUMNS
public static final HiveOperation SHOW_TABLESTATUS
public static final HiveOperation SHOW_TBLPROPERTIES
public static final HiveOperation SHOW_CREATETABLE
public static final HiveOperation SHOWFUNCTIONS
public static final HiveOperation SHOWINDEXES
public static final HiveOperation SHOWPARTITIONS
public static final HiveOperation SHOWLOCKS
public static final HiveOperation SHOWCONF
public static final HiveOperation CREATEFUNCTION
public static final HiveOperation DROPFUNCTION
public static final HiveOperation CREATEMACRO
public static final HiveOperation DROPMACRO
public static final HiveOperation CREATEVIEW
public static final HiveOperation DROPVIEW
public static final HiveOperation CREATEINDEX
public static final HiveOperation DROPINDEX
public static final HiveOperation ALTERINDEX_REBUILD
public static final HiveOperation ALTERVIEW_PROPERTIES
public static final HiveOperation DROPVIEW_PROPERTIES
public static final HiveOperation LOCKTABLE
public static final HiveOperation UNLOCKTABLE
public static final HiveOperation CREATEROLE
public static final HiveOperation DROPROLE
public static final HiveOperation GRANT_PRIVILEGE
public static final HiveOperation REVOKE_PRIVILEGE
public static final HiveOperation SHOW_GRANT
public static final HiveOperation GRANT_ROLE
public static final HiveOperation REVOKE_ROLE
public static final HiveOperation SHOW_ROLES
public static final HiveOperation SHOW_ROLE_PRINCIPALS
public static final HiveOperation SHOW_ROLE_GRANT
public static final HiveOperation ALTERTABLE_PROTECTMODE
public static final HiveOperation ALTERPARTITION_PROTECTMODE
public static final HiveOperation ALTERTABLE_FILEFORMAT
public static final HiveOperation ALTERPARTITION_FILEFORMAT
public static final HiveOperation ALTERTABLE_LOCATION
public static final HiveOperation ALTERPARTITION_LOCATION
public static final HiveOperation CREATETABLE
public static final HiveOperation TRUNCATETABLE
public static final HiveOperation CREATETABLE_AS_SELECT
public static final HiveOperation QUERY
public static final HiveOperation ALTERINDEX_PROPS
public static final HiveOperation ALTERDATABASE
public static final HiveOperation ALTERDATABASE_OWNER
public static final HiveOperation DESCDATABASE
public static final HiveOperation ALTERTABLE_MERGEFILES
public static final HiveOperation ALTERPARTITION_MERGEFILES
public static final HiveOperation ALTERTABLE_SKEWED
public static final HiveOperation ALTERTBLPART_SKEWED_LOCATION
public static final HiveOperation ALTERTABLE_PARTCOLTYPE
public static final HiveOperation ALTERVIEW_RENAME
public static final HiveOperation ALTERVIEW_AS
public static final HiveOperation ALTERTABLE_COMPACT
public static final HiveOperation SHOW_COMPACTIONS
public static final HiveOperation SHOW_TRANSACTIONS
public static HiveOperation[] values()
for (HiveOperation c : HiveOperation.values()) System.out.println(c);
public static HiveOperation 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 Privilege[] getInputRequiredPrivileges()
public Privilege[] getOutputRequiredPrivileges()
public String getOperationName()
Copyright © 2017 The Apache Software Foundation. All rights reserved.