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

Public Member Functions

 AuthorizeableTable (String dbName, String tableName)
 
List< DBModelAuthorizable > getHiveAuthorizeableHierarchy ()
 
String getName ()
 
String getDbName ()
 
String getTblName ()
 

Static Public Attributes

static final String ANY_TABLE_NAME
 

Private Attributes

final
org.apache.sentry.core.model.db.Table 
table_
 
final
org.apache.sentry.core.model.db.Database 
database_
 

Detailed Description

Class used to authorize access to a table or view. Even though Hive's spec includes an authorizable object 'view', we chose to treat views the same way as tables for the sake of authorization.

Definition at line 29 of file AuthorizeableTable.java.

Constructor & Destructor Documentation

com.cloudera.impala.authorization.AuthorizeableTable.AuthorizeableTable ( String  dbName,
String  tableName 
)
inline

Member Function Documentation

String com.cloudera.impala.authorization.AuthorizeableTable.getDbName ( )
inline

Definition at line 52 of file AuthorizeableTable.java.

List<DBModelAuthorizable> com.cloudera.impala.authorization.AuthorizeableTable.getHiveAuthorizeableHierarchy ( )
inline
String com.cloudera.impala.authorization.AuthorizeableTable.getName ( )
inline
String com.cloudera.impala.authorization.AuthorizeableTable.getTblName ( )
inline

Definition at line 53 of file AuthorizeableTable.java.

Member Data Documentation

final String com.cloudera.impala.authorization.AuthorizeableTable.ANY_TABLE_NAME
static
Initial value:
=
org.apache.sentry.core.model.db.AccessConstants.ALL

Definition at line 32 of file AuthorizeableTable.java.

Referenced by com.cloudera.impala.authorization.PrivilegeRequestBuilder.onAnyTable(), and com.cloudera.impala.analysis.AuthorizationTest.setup().

final org.apache.sentry.core.model.db.Database com.cloudera.impala.authorization.AuthorizeableTable.database_
private
final org.apache.sentry.core.model.db.Table com.cloudera.impala.authorization.AuthorizeableTable.table_
private

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