Class AbstractQueryProtocolMessage (0.6.1)

publicabstractclassAbstractQueryProtocolMessageextendsControlMessage

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.

Inheritance

java.lang.Object > WireMessage > ControlMessage > AbstractQueryProtocolMessage

Fields

queryMode

protectedfinalConnectionHandler.QueryModequeryMode
Field Value
TypeDescription
ConnectionHandler.QueryMode

Methods

flush()

publicabstractvoidflush()
Exceptions
TypeDescription
Exception

handleError(Exception exception)

protectedvoidhandleError(Exceptionexception)

Takes an Exception Object and relates its results to the user within the client.

Parameter
NameDescription
exceptionException
OverridesExceptions
TypeDescription
Exception

isReturnedErrorResponse()

publicbooleanisReturnedErrorResponse()
Returns
TypeDescription
boolean

sendPayload()

protectedfinalvoidsendPayload()

Override this method to include post-processing and metadata in the sending process. Template method for send.

OverridesExceptions
TypeDescription
Exception