Class PgxFrameColumn

java.lang.Object
oracle.pgx.api.frames.PgxFrameColumn
All Implemented Interfaces:
AutoCloseable

public abstract class PgxFrameColumn extends Object implements AutoCloseable
  • Constructor Details

    • PgxFrameColumn

      public PgxFrameColumn()
  • Method Details

    • getDescriptor

      public abstract ColumnDescriptor getDescriptor()
      Return a description of the column
      Returns:
      a description of the column
    • destroyAsync

      public abstract PgxFuture<Void> destroyAsync()
      Requests destruction of this object. After this method returns, the behavior of any method of this class becomes undefined.
      Returns:
      a future which will be completed once the destruction request finishes.
    • close

      public void close()
      Calls destroyAsync() without waiting for completion.
      Specified by:
      close in interface AutoCloseable
    • destroy

      public void destroy() throws InterruptedException, ExecutionException
      Blocking version of destroyAsync(). Calls destroyAsync() and waits for the returned PgxFuture to complete.
      Throws:
      InterruptedException - if the caller thread gets interrupted while waiting for completion.
      ExecutionException - if any exception occurred during asynchronous execution. The actual exception will be nested.