ExecuteQueryHandler class

Inheritance

Constructors

ExecuteQueryHandler(PreparedQuery? _preparedQuery, bool _executed, List<Object?> _values)

Properties

fieldPackets List<Field>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
log → Logger
finalinherited
preparedValues List?
getter/setter pair
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
createNullMap() List<int>
createRequest() Buffer
Returns a Buffer containing the command packet.
override
measureValue(dynamic value, dynamic preparedValue) int
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prepareValue(Object? value) Object?
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.
inherited
writeValuesToBuffer(List<int> nullMap, int length, List<int> types) Buffer

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