org.apache.hadoop.hive.metastore.api
Class ThriftHiveMetastore.AsyncClient.grant_role_call

java.lang.Object
  extended by org.apache.thrift.async.TAsyncMethodCall
      extended by org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore.AsyncClient.grant_role_call
Enclosing class:
ThriftHiveMetastore.AsyncClient

public static class ThriftHiveMetastore.AsyncClient.grant_role_call
extends org.apache.thrift.async.TAsyncMethodCall


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.thrift.async.TAsyncMethodCall
org.apache.thrift.async.TAsyncMethodCall.State
 
Field Summary
 
Fields inherited from class org.apache.thrift.async.TAsyncMethodCall
client, transport
 
Constructor Summary
ThriftHiveMetastore.AsyncClient.grant_role_call(String role_name, String principal_name, PrincipalType principal_type, String grantor, PrincipalType grantorType, boolean grant_option, org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.grant_role_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport)
           
 
Method Summary
 boolean getResult()
           
 void write_args(org.apache.thrift.protocol.TProtocol prot)
           
 
Methods inherited from class org.apache.thrift.async.TAsyncMethodCall
getClient, getFrameBuffer, getSequenceId, getStartTime, getState, getTimeoutTimestamp, hasTimeout, isFinished, onError, prepareMethodCall, transition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThriftHiveMetastore.AsyncClient.grant_role_call

public ThriftHiveMetastore.AsyncClient.grant_role_call(String role_name,
                                                       String principal_name,
                                                       PrincipalType principal_type,
                                                       String grantor,
                                                       PrincipalType grantorType,
                                                       boolean grant_option,
                                                       org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.grant_role_call> resultHandler,
                                                       org.apache.thrift.async.TAsyncClient client,
                                                       org.apache.thrift.protocol.TProtocolFactory protocolFactory,
                                                       org.apache.thrift.transport.TNonblockingTransport transport)
                                                throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException
Method Detail

write_args

public void write_args(org.apache.thrift.protocol.TProtocol prot)
                throws org.apache.thrift.TException
Specified by:
write_args in class org.apache.thrift.async.TAsyncMethodCall
Throws:
org.apache.thrift.TException

getResult

public boolean getResult()
                  throws MetaException,
                         org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException


Copyright © 2011 The Apache Software Foundation