Package io.trino.hive.thrift.metastore
Class ThriftHiveMetastore.AsyncClient.append_partition_with_environment_context_call
java.lang.Object
org.apache.thrift.async.TAsyncMethodCall<Partition>
io.trino.hive.thrift.metastore.ThriftHiveMetastore.AsyncClient.append_partition_with_environment_context_call
- Enclosing class:
- ThriftHiveMetastore.AsyncClient
public static class ThriftHiveMetastore.AsyncClient.append_partition_with_environment_context_call
extends org.apache.thrift.async.TAsyncMethodCall<Partition>
-
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
ConstructorsConstructorDescriptionappend_partition_with_environment_context_call(String db_name, String tbl_name, List<String> part_vals, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback<Partition> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) -
Method Summary
Methods inherited from class org.apache.thrift.async.TAsyncMethodCall
getClient, getFrameBuffer, getSequenceId, getStartTime, getState, getTimeoutTimestamp, hasTimeout, isFinished, onError, prepareMethodCall
-
Constructor Details
-
append_partition_with_environment_context_call
public append_partition_with_environment_context_call(String db_name, String tbl_name, List<String> part_vals, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback<Partition> 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 Details
-
write_args
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException - Specified by:
write_argsin classorg.apache.thrift.async.TAsyncMethodCall<Partition>- Throws:
org.apache.thrift.TException
-
getResult
public Partition getResult() throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException- Specified by:
getResultin classorg.apache.thrift.async.TAsyncMethodCall<Partition>- Throws:
InvalidObjectExceptionAlreadyExistsExceptionMetaExceptionorg.apache.thrift.TException
-