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

Public Member Functions

 SentryServiceClient () throws InternalException
 
SentryPolicyServiceClient get ()
 
void close ()
 

Private Member Functions

SentryPolicyServiceClient createClient () throws InternalException
 

Private Attributes

final SentryPolicyServiceClient client_
 

Detailed Description

Wrapper around a SentryPolicyServiceClient. TODO: When SENTRY-296 is resolved we can more easily cache connections instead of opening a new connection for each request.

Definition at line 55 of file SentryPolicyService.java.

Constructor & Destructor Documentation

com.cloudera.impala.util.SentryPolicyService.SentryServiceClient.SentryServiceClient ( ) throws InternalException
inline

Member Function Documentation

void com.cloudera.impala.util.SentryPolicyService.SentryServiceClient.close ( )
inline

Returns this client back to the connection pool. Can be called multiple times.

Definition at line 75 of file SentryPolicyService.java.

SentryPolicyServiceClient com.cloudera.impala.util.SentryPolicyService.SentryServiceClient.createClient ( ) throws InternalException
inlineprivate

Creates a new client to the SentryService.

Definition at line 82 of file SentryPolicyService.java.

Referenced by com.cloudera.impala.util.SentryPolicyService.SentryServiceClient.SentryServiceClient().

SentryPolicyServiceClient com.cloudera.impala.util.SentryPolicyService.SentryServiceClient.get ( )
inline

Get the underlying SentryPolicyServiceClient.

Definition at line 68 of file SentryPolicyService.java.

References com.cloudera.impala.util.SentryPolicyService.SentryServiceClient.client_.

Member Data Documentation

final SentryPolicyServiceClient com.cloudera.impala.util.SentryPolicyService.SentryServiceClient.client_
private

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