MySQLPacketColumnCount class
Representa o pacote "Column Count" do protocolo MySQL.
Esse pacote é enviado pelo servidor para indicar o número de colunas que serão retornadas em um result set. O número de colunas é codificado como um inteiro com codificação length-encoded.
Essa classe é utilizada durante a leitura inicial de um result set para determinar quantas colunas serão processadas posteriormente.
- Inheritance
-
- Object
- MySQLPacketPayload
- MySQLPacketColumnCount
Constructors
- MySQLPacketColumnCount.new({required BigInt columnCount})
- Construtor da classe.
- MySQLPacketColumnCount.decode(Uint8List buffer)
-
Decodifica um buffer Uint8List recebido do servidor e cria uma instância de
MySQLPacketColumnCount.
factory
Properties
- columnCount → BigInt
-
Número de colunas presentes no result set.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
encode(
) → Uint8List -
Método de codificação não implementado.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited