Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
com.cloudera.impala.authorization.Privilege Enum Reference
Collaboration diagram for com.cloudera.impala.authorization.Privilege:

Public Member Functions

EnumSet< DBModelAction > getHiveActions ()
 
boolean getAnyOf ()
 

Public Attributes

 ALL =(DBModelAction.ALL, false)
 
 ALTER =(DBModelAction.ALL, false)
 
 DROP =(DBModelAction.ALL, false)
 
 CREATE =(DBModelAction.ALL, false)
 
 INSERT =(DBModelAction.INSERT, false)
 
 SELECT =(DBModelAction.SELECT, false)
 
 VIEW_METADATA =(EnumSet.of(DBModelAction.INSERT, DBModelAction.SELECT), true)
 
 ANY =(EnumSet.allOf(DBModelAction.class), true)
 

Private Member Functions

 Privilege (EnumSet< DBModelAction > actions, boolean anyOf)
 
 Privilege (DBModelAction action, boolean anyOf)
 

Private Attributes

final EnumSet< DBModelAction > actions
 
final boolean anyOf_
 

Detailed Description

Definition at line 24 of file Privilege.java.

Constructor & Destructor Documentation

com.cloudera.impala.authorization.Privilege.Privilege ( EnumSet< DBModelAction >  actions,
boolean  anyOf 
)
inlineprivate

Definition at line 45 of file Privilege.java.

com.cloudera.impala.authorization.Privilege.Privilege ( DBModelAction  action,
boolean  anyOf 
)
inlineprivate

Definition at line 50 of file Privilege.java.

Member Function Documentation

boolean com.cloudera.impala.authorization.Privilege.getAnyOf ( )
inline

Definition at line 66 of file Privilege.java.

EnumSet<DBModelAction> com.cloudera.impala.authorization.Privilege.getHiveActions ( )
inline

Definition at line 57 of file Privilege.java.

Member Data Documentation

final EnumSet<DBModelAction> com.cloudera.impala.authorization.Privilege.actions
private

Definition at line 38 of file Privilege.java.

final boolean com.cloudera.impala.authorization.Privilege.anyOf_
private

Definition at line 43 of file Privilege.java.

com.cloudera.impala.authorization.Privilege.DROP =(DBModelAction.ALL, false)
com.cloudera.impala.authorization.Privilege.INSERT =(DBModelAction.INSERT, false)
com.cloudera.impala.authorization.Privilege.SELECT =(DBModelAction.SELECT, false)

The documentation for this enum was generated from the following file: