ComInitDBPacket

ldbc.connector.net.packet.request.ComInitDBPacket
See theComInitDBPacket companion object
case class ComInitDBPacket(schema: String) extends RequestPacket

The COM_INIT_DB request is used to change the default database for the connection. The database name is specified as an argument to the request. The server changes the default database to the one specified and sends a OK_Packet to the client. If the database does not exist, the server sends an ERR_Packet to the client.

Value parameters

schema

The name of the database to change to.

Attributes

Companion
object
Source
ComInitDBPacket.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 encode: BitVector

Attributes

Definition Classes
Source
ComInitDBPacket.scala
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
ComInitDBPacket.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product