Package oracle.kv
Interface ExecutionSubscription
-
- All Superinterfaces:
IterationSubscription
,Subscription
public interface ExecutionSubscription extends IterationSubscription
A subinterface ofSubscription
implemented by subscriptions supplied when aSubscriber
subscribes to aPublisher
associated with the asynchronous execution of a query.- Since:
- 19.5
- See Also:
KVStore.executeAsync(java.lang.String, oracle.kv.query.ExecuteOptions)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RecordDef
getResultDef()
Returns the definition of the result of this statement if the statement is a query, otherwise null.Statement
getStatement()
Returns the statement object for the associated statement execution.-
Methods inherited from interface oracle.kv.IterationSubscription
getPartitionMetrics, getShardMetrics
-
Methods inherited from interface org.reactivestreams.Subscription
cancel, request
-
-
-
-
Method Detail
-
getStatement
Statement getStatement()
Returns the statement object for the associated statement execution.- Returns:
- the statement
-
getResultDef
RecordDef getResultDef()
Returns the definition of the result of this statement if the statement is a query, otherwise null.- Returns:
- the definition of the result or
null
- Since:
- 22.2
-
-