public abstract class AbstractQueryProtocolMessage extends ControlMessage
Abstract base class for extended query protocol messages. These can be buffered in memory locally until a flush or sync message is received. Any corresponding database statement will only be executed once a flush/sync is received.
Fields
queryMode
protected final ConnectionHandler.QueryMode queryMode
Type | Description |
ConnectionHandler.QueryMode |
Methods
flush()
public abstract void flush()
Type | Description |
Exception |
handleError(Exception exception)
protected void handleError(Exception exception)
Takes an Exception Object and relates its results to the user within the client.
Name | Description |
exception | Exception |
Type | Description |
Exception |
isReturnedErrorResponse()
public boolean isReturnedErrorResponse()
Type | Description |
boolean |
sendPayload()
protected final void sendPayload()
Override this method to include post-processing and metadata in the sending process. Template method for send.
Type | Description |
Exception |