Package oracle.pgx.api.frames
Class PgxFrameColumn
java.lang.Object
oracle.pgx.api.frames.PgxFrameColumn
- All Implemented Interfaces:
AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()CallsdestroyAsync()without waiting for completion.voiddestroy()Blocking version ofdestroyAsync().Requests destruction of this object.abstract ColumnDescriptorReturn a description of the column
-
Constructor Details
-
PgxFrameColumn
public PgxFrameColumn()
-
-
Method Details
-
getDescriptor
Return a description of the column- Returns:
- a description of the column
-
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:
closein interfaceAutoCloseable
-
destroy
Blocking version ofdestroyAsync(). CallsdestroyAsync()and waits for the returnedPgxFutureto 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.
-