Package oracle.pgx.api.frames
Class PgxFrameColumn
- java.lang.Object
-
- oracle.pgx.api.frames.PgxFrameColumn
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public abstract class PgxFrameColumn extends java.lang.Object implements java.lang.AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description PgxFrameColumn()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
close()
CallsdestroyAsync()
without waiting for completion.void
destroy()
Blocking version ofdestroyAsync()
.abstract PgxFuture<java.lang.Void>
destroyAsync()
Requests destruction of this object.abstract ColumnDescriptor
getDescriptor()
Return a description of the column
-
-
-
Method Detail
-
getDescriptor
public abstract ColumnDescriptor getDescriptor()
Return a description of the column- Returns:
- a description of the column
-
destroyAsync
public abstract PgxFuture<java.lang.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()
CallsdestroyAsync()
without waiting for completion.- Specified by:
close
in interfacejava.lang.AutoCloseable
-
destroy
public void destroy() throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
Blocking version ofdestroyAsync()
. CallsdestroyAsync()
and waits for the returnedPgxFuture
to complete.- Throws:
java.lang.InterruptedException
- if the caller thread gets interrupted while waiting for completion.java.util.concurrent.ExecutionException
- if any exception occurred during asynchronous execution. The actual exception will be nested.
-
-