Class ThriftHiveMetastore.AsyncClient.alter_partition_with_environment_context_call

java.lang.Object
org.apache.thrift.async.TAsyncMethodCall<Void>
io.trino.hive.thrift.metastore.ThriftHiveMetastore.AsyncClient.alter_partition_with_environment_context_call
Enclosing class:
ThriftHiveMetastore.AsyncClient

public static class ThriftHiveMetastore.AsyncClient.alter_partition_with_environment_context_call extends org.apache.thrift.async.TAsyncMethodCall<Void>
  • 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

    Constructors
    Constructor
    Description
    alter_partition_with_environment_context_call(String db_name, String tbl_name, Partition new_part, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • alter_partition_with_environment_context_call

      public alter_partition_with_environment_context_call(String db_name, String tbl_name, Partition new_part, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback<Void> 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_args in class org.apache.thrift.async.TAsyncMethodCall<Void>
      Throws:
      org.apache.thrift.TException
    • getResult

      public Void getResult() throws InvalidOperationException, MetaException, org.apache.thrift.TException
      Specified by:
      getResult in class org.apache.thrift.async.TAsyncMethodCall<Void>
      Throws:
      InvalidOperationException
      MetaException
      org.apache.thrift.TException