public static class RequestExecutorHandlers.ExecuteResult extends RequestExecutorHandlers.AnyQueryResult implements RequestExecutor.ExecuteHandler
completed, error, notices
Constructor and Description |
---|
ExecuteResult(boolean synced,
ResultField[] describedResultFields) |
ExecuteResult(ResultField[] describedResultFields) |
Modifier and Type | Method and Description |
---|---|
ResultBatch |
getBatch() |
void |
handleComplete(String command,
Long rowsAffected,
Long insertedOid,
RowDataSet rows,
List<Notice> notices) |
void |
handleSuspend(RowDataSet rows,
List<Notice> notices) |
boolean |
isSuspended() |
handleReady
await, getError, getNotices, handleError, isCompleted, isValid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleReady
handleError
public ExecuteResult(ResultField[] describedResultFields)
public ExecuteResult(boolean synced, ResultField[] describedResultFields)
public boolean isSuspended()
isSuspended
in class RequestExecutorHandlers.AnyQueryResult
public ResultBatch getBatch()
getBatch
in class RequestExecutorHandlers.AnyQueryResult
public void handleComplete(String command, Long rowsAffected, Long insertedOid, RowDataSet rows, List<Notice> notices)
handleComplete
in interface RequestExecutor.ResumeHandler
public void handleSuspend(RowDataSet rows, List<Notice> notices)
handleSuspend
in interface RequestExecutor.ResumeHandler