QueryStreamHandler class

Inheritance

Constructors

QueryStreamHandler(String sql)

Properties

fieldPackets List<Field>
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sql String
final
streamedResults Future<StreamedResults>
no setteroverride

Methods

checkResponse(ReadBuffer 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
createFieldIndex() Map<String, int>
createRequest() Uint8List
Constructs and returns a request command packet.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
processResponse(ReadBuffer response) HandlerResponse
Parses the response containing the response to the command. Returns a HandlerResponse.
override
toString() String
A string representation of this object.
override

Operators

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

Constants

stateFieldPacket → const int
stateHeaderPacket → const int
stateRowPacket → const int