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 Serializabletrait Producttrait Equalstrait MySQLProtocol[F]class Objecttrait Matchableclass AnyShow 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
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
Closes the connection.
Resets the sequence id.
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
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
In this article