QueryStreamHandler class

Inheritance

Constructors

QueryStreamHandler(String _sql)

Properties

fieldPackets List<Field>
final
hashCode int
The hash code for this object.
no setterinherited
log → Logger
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkResponse(Buffer response, [bool prepareStmt = false, bool isHandlingRows = false]) → dynamic
Parses the response packet to recognise Ok and Error packets. Returns an _OkPacket if the packet was an Ok packet, throws a MySqlException if it was an Error packet, or returns null if the packet has not been handled by this method.
inherited
createRequest() Buffer
Returns a Buffer containing the command packet.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
processResponse(Buffer response) HandlerResponse
Parses a Buffer containing the response to the command. Returns a _HandlerResponse. The default implementation returns a finished _HandlerResponse with a result which is obtained by calling checkResponse
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

STATE_FIELD_PACKETS → const int
STATE_HEADER_PACKET → const int
STATE_ROW_PACKETS → const int