Package com.impossibl.postgres.protocol
Class RequestExecutorHandlers.ExecuteResult
- java.lang.Object
-
- com.impossibl.postgres.protocol.RequestExecutorHandlers.Result
-
- com.impossibl.postgres.protocol.RequestExecutorHandlers.SynchronizedResult
-
- com.impossibl.postgres.protocol.RequestExecutorHandlers.AnyQueryResult
-
- com.impossibl.postgres.protocol.RequestExecutorHandlers.ExecuteResult
-
- All Implemented Interfaces:
RequestExecutor.ErrorHandler
,RequestExecutor.ExecuteHandler
,RequestExecutor.ResumeHandler
,RequestExecutor.SynchronizedHandler
- Enclosing class:
- RequestExecutorHandlers
public static class RequestExecutorHandlers.ExecuteResult extends RequestExecutorHandlers.AnyQueryResult implements RequestExecutor.ExecuteHandler
-
-
Field Summary
-
Fields inherited from class com.impossibl.postgres.protocol.RequestExecutorHandlers.Result
completed, error, notices
-
-
Constructor Summary
Constructors Constructor Description ExecuteResult(boolean synced, ResultField[] describedResultFields)
ExecuteResult(ResultField[] describedResultFields)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
Methods inherited from class com.impossibl.postgres.protocol.RequestExecutorHandlers.SynchronizedResult
handleReady
-
Methods inherited from class com.impossibl.postgres.protocol.RequestExecutorHandlers.Result
await, getError, getNotices, handleError, isCompleted, isValid
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.impossibl.postgres.protocol.RequestExecutor.ErrorHandler
handleError
-
Methods inherited from interface com.impossibl.postgres.protocol.RequestExecutor.SynchronizedHandler
handleReady
-
-
-
-
Constructor Detail
-
ExecuteResult
public ExecuteResult(ResultField[] describedResultFields)
-
ExecuteResult
public ExecuteResult(boolean synced, ResultField[] describedResultFields)
-
-
Method Detail
-
isSuspended
public boolean isSuspended()
- Specified by:
isSuspended
in classRequestExecutorHandlers.AnyQueryResult
-
getBatch
public ResultBatch getBatch()
- Specified by:
getBatch
in classRequestExecutorHandlers.AnyQueryResult
-
handleComplete
public void handleComplete(String command, Long rowsAffected, Long insertedOid, RowDataSet rows, List<Notice> notices)
- Specified by:
handleComplete
in interfaceRequestExecutor.ResumeHandler
-
handleSuspend
public void handleSuspend(RowDataSet rows, List<Notice> notices)
- Specified by:
handleSuspend
in interfaceRequestExecutor.ResumeHandler
-
-