Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
Public Member Functions | |
TPrivilege | toThrift () |
TCatalogObjectType | getCatalogObjectType () |
String | getName () |
int | getRoleId () |
synchronized long | getCatalogVersion () |
synchronized void | setCatalogVersion (long newVersion) |
boolean | isLoaded () |
long | getCreateTimeMs () |
TPrivilegeScope | getScope () |
Static Public Member Functions | |
static RolePrivilege | fromThrift (TPrivilege privilege) |
static String | buildRolePrivilegeName (TPrivilege privilege) |
Private Member Functions | |
RolePrivilege (TPrivilege privilege) | |
Private Attributes | |
final TPrivilege | privilege_ |
long | catalogVersion_ = Catalog.INITIAL_CATALOG_VERSION |
Static Private Attributes | |
static final Logger | LOG = Logger.getLogger(AuthorizationPolicy.class) |
static final Joiner | AUTHORIZABLE_JOINER = Joiner.on("->") |
static final Joiner | KV_JOINER = Joiner.on("=") |
Represents a privilege that has been granted to a role in an authorization policy. This class is thread safe.
Definition at line 33 of file RolePrivilege.java.
|
inlineprivate |
Definition at line 44 of file RolePrivilege.java.
References com.cloudera.impala.catalog.RolePrivilege.privilege_.
Referenced by com.cloudera.impala.catalog.RolePrivilege.fromThrift().
|
inlinestatic |
Builds a privilege name for the given TPrivilege object. For simplicity, this name is generated in a format that can be sent to the Sentry client to perform authorization checks.
Definition at line 58 of file RolePrivilege.java.
References impala_udf.ALL.
|
inlinestatic |
Definition at line 49 of file RolePrivilege.java.
References com.cloudera.impala.catalog.RolePrivilege.RolePrivilege().
|
inline |
Implements com.cloudera.impala.catalog.CatalogObject.
Definition at line 106 of file RolePrivilege.java.
|
inline |
Implements com.cloudera.impala.catalog.CatalogObject.
Definition at line 113 of file RolePrivilege.java.
References com.cloudera.impala.catalog.RolePrivilege.catalogVersion_.
Referenced by com.cloudera.impala.catalog.ImpaladCatalog.removePrivilege().
|
inline |
Definition at line 124 of file RolePrivilege.java.
References com.cloudera.impala.catalog.RolePrivilege.privilege_.
|
inline |
Implements com.cloudera.impala.catalog.CatalogObject.
Definition at line 110 of file RolePrivilege.java.
|
inline |
Definition at line 111 of file RolePrivilege.java.
|
inline |
Definition at line 127 of file RolePrivilege.java.
|
inline |
Implements com.cloudera.impala.catalog.CatalogObject.
Definition at line 119 of file RolePrivilege.java.
|
inline |
Implements com.cloudera.impala.catalog.CatalogObject.
Definition at line 115 of file RolePrivilege.java.
References com.cloudera.impala.catalog.RolePrivilege.catalogVersion_.
|
inline |
Definition at line 48 of file RolePrivilege.java.
References com.cloudera.impala.catalog.RolePrivilege.privilege_.
Referenced by com.cloudera.impala.util.SentryProxy.revokeRolePrivilege().
|
staticprivate |
Definition at line 38 of file RolePrivilege.java.
|
private |
Definition at line 42 of file RolePrivilege.java.
Referenced by com.cloudera.impala.catalog.RolePrivilege.getCatalogVersion(), and com.cloudera.impala.catalog.RolePrivilege.setCatalogVersion().
|
staticprivate |
Definition at line 39 of file RolePrivilege.java.
|
staticprivate |
Definition at line 34 of file RolePrivilege.java.
|
private |
Definition at line 41 of file RolePrivilege.java.
Referenced by com.cloudera.impala.catalog.RolePrivilege.getCreateTimeMs(), com.cloudera.impala.catalog.RolePrivilege.RolePrivilege(), and com.cloudera.impala.catalog.RolePrivilege.toThrift().