ColumnDefinition41Packet

ldbc.connector.net.packet.response.ColumnDefinition41Packet
See theColumnDefinition41Packet companion object
case class ColumnDefinition41Packet(catalog: String, schema: String, table: String, orgTable: String, name: String, orgName: String, length: Int, characterSet: Int, columnLength: Long, columnType: ColumnDataType, 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

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 Serializable
trait Product
trait Equals
trait Packet
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
ColumnDefinition41Packet.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product