MySQLProtocolImpl

ldbc.connector.net.MySQLProtocol.MySQLProtocolImpl
case class MySQLProtocolImpl[F[_]](initialPacket: InitialPacket, packetSocket: PacketSocket[F], sequenceIdRef: Ref[F, Byte], initialPacketRef: Ref[F, Option[InitialPacket]])(implicit evidence$1: Temporal[F], evidence$2: Console[F], evidence$3: Tracer[F], ev: MonadError[F, Throwable], ex: Exchange[F]) extends MySQLProtocol[F]

Attributes

Source
MySQLProtocol.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait MySQLProtocol[F]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def authenticate(user: String, password: String, database: Option[String], useSSL: Boolean, allowPublicKeyRetrieval: Boolean, capabilitiesFlags: List[CapabilitiesFlags]): F[Unit]

Authenticates the user with the given password.

Authenticates the user with the given password.

Value parameters

allowPublicKeyRetrieval

whether to allow public key retrieval

capabilitiesFlags

Values for the capabilities flag bitmask used by the MySQL protocol.

database

Database used for login

password

the password

useSSL

whether to use SSL

user

the user name

Attributes

Definition Classes
Source
MySQLProtocol.scala
override def clientPreparedStatement(sql: String): F[Client[F]]

Creates a client prepared statement with the given SQL.

Creates a client prepared statement with the given SQL.

Value parameters

sql

SQL queries based on text protocols

Attributes

Definition Classes
Source
MySQLProtocol.scala
override def close(): F[Unit]

Closes the connection.

Closes the connection.

Attributes

Definition Classes
Source
MySQLProtocol.scala
override def resetSequenceId: F[Unit]

Resets the sequence id.

Resets the sequence id.

Attributes

Definition Classes
Source
MySQLProtocol.scala
override def serverPreparedStatement(sql: String): F[Server[F]]

Creates a server prepared statement with the given SQL.

Creates a server prepared statement with the given SQL.

Value parameters

sql

SQL queries based on text protocols

Attributes

Definition Classes
Source
MySQLProtocol.scala
override def statement(sql: String): Statement[F]

Creates a statement with the given SQL.

Creates a statement with the given SQL.

Value parameters

sql

SQL queries based on text protocols

Attributes

Definition Classes
Source
MySQLProtocol.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product