Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
Public Member Functions | |
TPrivilege | toThrift () |
String | toSql () |
void | analyze (Analyzer analyzer) throws AnalysisException |
Static Public Member Functions | |
static PrivilegeSpec | createServerScopedPriv (TPrivilegeLevel privilegeLevel) |
static PrivilegeSpec | createDbScopedPriv (TPrivilegeLevel privilegeLevel, String dbName) |
static PrivilegeSpec | createTableScopedPriv (TPrivilegeLevel privilegeLevel, TableName tableName) |
static PrivilegeSpec | createUriScopedPriv (TPrivilegeLevel privilegeLevel, HdfsUri uri) |
Private Member Functions | |
PrivilegeSpec (TPrivilegeLevel privilegeLevel, TPrivilegeScope scope, String dbName, TableName tableName, HdfsUri uri) | |
Private Attributes | |
final TPrivilegeScope | scope_ |
final TPrivilegeLevel | privilegeLevel_ |
final TableName | tableName_ |
final HdfsUri | uri_ |
String | dbName_ |
String | serverName_ |
Represents a privilegeSpec from a GRANT/REVOKE statement.
Definition at line 29 of file PrivilegeSpec.java.
|
inlineprivate |
Definition at line 39 of file PrivilegeSpec.java.
References com.cloudera.impala.analysis.PrivilegeSpec.dbName_, com.cloudera.impala.analysis.PrivilegeSpec.privilegeLevel_, com.cloudera.impala.analysis.PrivilegeSpec.scope_, com.cloudera.impala.analysis.PrivilegeSpec.tableName_, and com.cloudera.impala.analysis.PrivilegeSpec.uri_.
Referenced by com.cloudera.impala.analysis.PrivilegeSpec.createDbScopedPriv(), com.cloudera.impala.analysis.PrivilegeSpec.createServerScopedPriv(), com.cloudera.impala.analysis.PrivilegeSpec.createTableScopedPriv(), and com.cloudera.impala.analysis.PrivilegeSpec.createUriScopedPriv().
|
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 105 of file PrivilegeSpec.java.
References com.cloudera.impala.authorization.Privilege.ALL, com.cloudera.impala.analysis.PrivilegeSpec.dbName_, com.cloudera.impala.analysis.TableName.getTbl(), com.cloudera.impala.analysis.PrivilegeSpec.privilegeLevel_, com.cloudera.impala.analysis.PrivilegeSpec.scope_, com.cloudera.impala.analysis.PrivilegeSpec.serverName_, and com.cloudera.impala.analysis.PrivilegeSpec.tableName_.
|
inlinestatic |
Definition at line 54 of file PrivilegeSpec.java.
References com.cloudera.impala.analysis.PrivilegeSpec.PrivilegeSpec().
|
inlinestatic |
Definition at line 50 of file PrivilegeSpec.java.
References com.cloudera.impala.analysis.PrivilegeSpec.PrivilegeSpec().
|
inlinestatic |
Definition at line 61 of file PrivilegeSpec.java.
References com.cloudera.impala.analysis.PrivilegeSpec.PrivilegeSpec().
|
inlinestatic |
Definition at line 68 of file PrivilegeSpec.java.
References com.cloudera.impala.analysis.PrivilegeSpec.PrivilegeSpec().
|
inline |
Implements com.cloudera.impala.analysis.ParseNode.
Definition at line 90 of file PrivilegeSpec.java.
References com.cloudera.impala.analysis.PrivilegeSpec.dbName_, com.cloudera.impala.analysis.PrivilegeSpec.privilegeLevel_, and com.cloudera.impala.analysis.PrivilegeSpec.scope_.
|
inline |
Definition at line 74 of file PrivilegeSpec.java.
References com.cloudera.impala.analysis.PrivilegeSpec.dbName_, com.cloudera.impala.analysis.PrivilegeSpec.privilegeLevel_, com.cloudera.impala.analysis.PrivilegeSpec.scope_, com.cloudera.impala.analysis.PrivilegeSpec.serverName_, com.cloudera.impala.analysis.PrivilegeSpec.tableName_, and com.cloudera.impala.analysis.PrivilegeSpec.uri_.
|
private |
|
private |
|
private |
|
private |
Definition at line 37 of file PrivilegeSpec.java.
Referenced by com.cloudera.impala.analysis.PrivilegeSpec.analyze(), and com.cloudera.impala.analysis.PrivilegeSpec.toThrift().
|
private |
Definition at line 32 of file PrivilegeSpec.java.
Referenced by com.cloudera.impala.analysis.PrivilegeSpec.analyze(), com.cloudera.impala.analysis.PrivilegeSpec.PrivilegeSpec(), and com.cloudera.impala.analysis.PrivilegeSpec.toThrift().
|
private |
Definition at line 33 of file PrivilegeSpec.java.
Referenced by com.cloudera.impala.analysis.PrivilegeSpec.PrivilegeSpec(), and com.cloudera.impala.analysis.PrivilegeSpec.toThrift().