Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
Public Member Functions | |
GrantRevokePrivStmt (String roleName, PrivilegeSpec privilegeSpec, boolean isGrantPrivStmt, boolean hasGrantOpt) | |
TGrantRevokePrivParams | toThrift () |
String | toSql () |
void | analyze (Analyzer analyzer) throws AnalysisException |
void | setIsExplain () |
boolean | isExplain () |
Protected Attributes | |
User | requestingUser_ |
boolean | isExplain_ = false |
Private Attributes | |
final PrivilegeSpec | privilegeSpec_ |
final String | roleName_ |
final boolean | isGrantPrivStmt_ |
final boolean | hasGrantOpt_ |
Role | role_ |
Represents a "GRANT/REVOKE PRIVILEGE" statement. All privilege checks on catalog objects are skipped when executing GRANT/REVOKE statements. This is because we need to be able to create privileges on an object before any privileges actually exist. The GRANT/REVOKE statement itself will be authorized (currently by the Sentry Service).
Definition at line 33 of file GrantRevokePrivStmt.java.
|
inline |
Definition at line 42 of file GrantRevokePrivStmt.java.
References com.cloudera.impala.analysis.GrantRevokePrivStmt.hasGrantOpt_, com.cloudera.impala.analysis.GrantRevokePrivStmt.isGrantPrivStmt_, com.cloudera.impala.analysis.GrantRevokePrivStmt.privilegeSpec_, and com.cloudera.impala.analysis.GrantRevokePrivStmt.roleName_.
|
inline |
Perform semantic analysis of node and all of its children. Throws exception if any errors found.
analyzer |
AnalysisException |
Implements com.cloudera.impala.analysis.ParseNode.
Definition at line 75 of file GrantRevokePrivStmt.java.
References com.cloudera.impala.analysis.GrantRevokePrivStmt.role_, and com.cloudera.impala.analysis.GrantRevokePrivStmt.roleName_.
|
inlineinherited |
Definition at line 43 of file StatementBase.java.
References com.cloudera.impala.analysis.StatementBase.isExplain_.
|
inlineinherited |
Definition at line 42 of file StatementBase.java.
References com.cloudera.impala.analysis.StatementBase.isExplain_.
|
inline |
Implements com.cloudera.impala.analysis.ParseNode.
Definition at line 64 of file GrantRevokePrivStmt.java.
References com.cloudera.impala.analysis.GrantRevokePrivStmt.hasGrantOpt_, com.cloudera.impala.analysis.GrantRevokePrivStmt.isGrantPrivStmt_, and com.cloudera.impala.analysis.GrantRevokePrivStmt.roleName_.
|
inline |
|
private |
Definition at line 37 of file GrantRevokePrivStmt.java.
Referenced by com.cloudera.impala.analysis.GrantRevokePrivStmt.GrantRevokePrivStmt(), com.cloudera.impala.analysis.GrantRevokePrivStmt.toSql(), and com.cloudera.impala.analysis.GrantRevokePrivStmt.toThrift().
|
protectedinherited |
|
private |
Definition at line 36 of file GrantRevokePrivStmt.java.
Referenced by com.cloudera.impala.analysis.GrantRevokePrivStmt.GrantRevokePrivStmt(), com.cloudera.impala.analysis.GrantRevokePrivStmt.toSql(), and com.cloudera.impala.analysis.GrantRevokePrivStmt.toThrift().
|
private |
Definition at line 34 of file GrantRevokePrivStmt.java.
Referenced by com.cloudera.impala.analysis.GrantRevokePrivStmt.GrantRevokePrivStmt().
|
protectedinherited |
Definition at line 27 of file AuthorizationStmt.java.
Referenced by com.cloudera.impala.analysis.AuthorizationStmt.analyze().
|
private |
Definition at line 40 of file GrantRevokePrivStmt.java.
Referenced by com.cloudera.impala.analysis.GrantRevokePrivStmt.analyze().
|
private |
Definition at line 35 of file GrantRevokePrivStmt.java.
Referenced by com.cloudera.impala.analysis.GrantRevokePrivStmt.analyze(), com.cloudera.impala.analysis.GrantRevokePrivStmt.GrantRevokePrivStmt(), com.cloudera.impala.analysis.GrantRevokePrivStmt.toSql(), and com.cloudera.impala.analysis.GrantRevokePrivStmt.toThrift().