Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
Public Member Functions | |
SentryServiceClient () throws InternalException | |
SentryPolicyServiceClient | get () |
void | close () |
Private Member Functions | |
SentryPolicyServiceClient | createClient () throws InternalException |
Private Attributes | |
final SentryPolicyServiceClient | client_ |
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.
|
inline |
Creates and opens a new Sentry Service thrift client.
Definition at line 61 of file SentryPolicyService.java.
References com.cloudera.impala.util.SentryPolicyService.SentryServiceClient.client_, and com.cloudera.impala.util.SentryPolicyService.SentryServiceClient.createClient().
|
inline |
Returns this client back to the connection pool. Can be called multiple times.
Definition at line 75 of file SentryPolicyService.java.
|
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().
|
inline |
Get the underlying SentryPolicyServiceClient.
Definition at line 68 of file SentryPolicyService.java.
References com.cloudera.impala.util.SentryPolicyService.SentryServiceClient.client_.
|
private |
Definition at line 56 of file SentryPolicyService.java.
Referenced by com.cloudera.impala.util.SentryPolicyService.SentryServiceClient.get(), and com.cloudera.impala.util.SentryPolicyService.SentryServiceClient.SentryServiceClient().