The column definition packet is sent by the server to the client in response to a COM_QUERY command.
Value parameters
- catalog
-
Type: string
Name: catalog Description: The catalog used. Currently always "def" - characterSet
-
Type: int<2> Name: character_set Description: the column character set as defined in Character Set
- columnLength
-
Type: int<4> Name: column_length Description: maximum length of the field
- 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
- length
-
Type: int
Name: length of fixed length fields Description: 0x0c - name
-
Type: string
Name: name Description: virtual column name - orgName
-
Type: string
Name: org_name Description: physical column name - orgTable
-
Type: string
Name: org_table Description: physical table name - schema
-
Type: string
Name: schema Description: schema name - table
-
Type: string
Name: table Description: virtual table name
Attributes
- Companion
- object
- Source
- ColumnDefinition41Packet.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ColumnDefinitionPackettrait ResponsePackettrait Packetclass Objecttrait Matchableclass Any