Package com.impossibl.postgres.protocol
Class RequestExecutorHandlers.QueryResult
- 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.QueryResult
-
- All Implemented Interfaces:
RequestExecutor.ErrorHandler
,RequestExecutor.ExtendedQueryHandler
,RequestExecutor.QueryHandler
,RequestExecutor.SynchronizedHandler
- Enclosing class:
- RequestExecutorHandlers
public static class RequestExecutorHandlers.QueryResult extends RequestExecutorHandlers.AnyQueryResult implements RequestExecutor.ExtendedQueryHandler
-
-
Field Summary
-
Fields inherited from class com.impossibl.postgres.protocol.RequestExecutorHandlers.Result
completed, error, notices
-
-
Constructor Summary
Constructors Constructor Description QueryResult()
QueryResult(boolean synced)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResultBatch
getBatch()
void
handleComplete(String command, Long rowsAffected, Long insertedOid, TypeRef[] parameterTypes, ResultField[] resultFields, RowDataSet rows, List<Notice> notices)
void
handleSuspend(TypeRef[] parameterTypes, ResultField[] resultFields, 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
-
-
-
-
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, TypeRef[] parameterTypes, ResultField[] resultFields, RowDataSet rows, List<Notice> notices)
- Specified by:
handleComplete
in interfaceRequestExecutor.QueryHandler
-
handleSuspend
public void handleSuspend(TypeRef[] parameterTypes, ResultField[] resultFields, RowDataSet rows, List<Notice> notices)
- Specified by:
handleSuspend
in interfaceRequestExecutor.ExtendedQueryHandler
-
-