ColumnDefinition320Packet

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 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
ColumnDefinition320Packet.scala

Inherited methods

Full name with table and column names connected by dots

Full name with table and column names connected by dots

Attributes

Inherited from:
ColumnDefinitionPacket
Source
ColumnDefinitionPacket.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product