ldbc.connector.net.packet.response.ColumnDefinition320Packet
See theColumnDefinition320Packet companion object
case class ColumnDefinition320Packet(table: String, name: String, length: Int, columnType: ColumnDataType, flagsLength: Int, flags: Seq[ColumnDefinitionFlags], decimals: Int) extends ColumnDefinitionPacket
The column definition packet is sent by the server to the client in response to a COM_QUERY command.
Value parameters
- columnType
-
Type: int<1> Name: type Description: type of the column as defined in enum_field_types
- decimals
-
Type: int<1> Name: decimals Description: max shown decimal digits
- 0x00 for integers and static strings
- 0x1f for dynamic strings, double, float
- 0x00 to 0x51 for decimals
- flags
-
Type: int<2> Name: flags Description: Flags as defined in Column Definition Flags
- flagsLength
-
Type: int
Name: length of flags + decimals fields Description: [03] - length
-
Type: int
Name: length of fixed length fields Description: 0x0c - name
-
Type: string
Name: name Description: Column name - table
-
Type: string
Name: table Description: Table name
Attributes
- Companion
- object
- Source
- ColumnDefinition320Packet.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ColumnDefinitionPackettrait ResponsePackettrait Packetclass Objecttrait Matchableclass Any
Members list
In this article