ldbc.connector.net.protocol

Members list

Type members

Classlikes

trait Authentication[F[_]]

Protocol to handle the Authentication Phase

Protocol to handle the Authentication Phase

Assume the client wants to log in via user account U and that user account is defined to use authentication method server_method. The fast authentication path is used when:

  • the server used server_method to generate authentication data in the Protocol::Handshake packet.
  • the client used a client_authentication_method in Protocol::HandshakeResponse: that is compatible with the server_method used by the server.

In that case the first round of authentication has been already commenced during the handshake. Now, depending on the authentication method server_method, further authentication can be exchanged until the server either accepts or refuses the authentication.

Type parameters

F

The effect type

Attributes

Companion
object
Source
Authentication.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
trait
Source
Authentication.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait Exchange[F[_]]

A trait that represents a function that exchanges a value of type A in a context F with another value of type A. The exchange operation is atomic and uncancelable.

A trait that represents a function that exchanges a value of type A in a context F with another value of type A. The exchange operation is atomic and uncancelable.

Attributes

Companion
object
Source
Exchange.scala
Supertypes
class Object
trait Matchable
class Any
object Exchange

Attributes

Companion
trait
Source
Exchange.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Exchange.type
trait Initial[F[_]]

Initial packet is the first packet sent by the server to the client. It contains the server version, connection id, and authentication plugin data. The client uses this information to determine the authentication method to use.

Initial packet is the first packet sent by the server to the client. It contains the server version, connection id, and authentication plugin data. The client uses this information to determine the authentication method to use.

Type parameters

F

the effect type

Attributes

Companion
object
Source
Initial.scala
Supertypes
class Object
trait Matchable
class Any
object Initial

Attributes

Companion
trait
Source
Initial.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Initial.type
trait PreparedStatement[F[_]] extends Statement[F]

An object that represents a precompiled SQL statement.

An object that represents a precompiled SQL statement.

A SQL statement is precompiled and stored in a PreparedStatement object. This object can then be used to efficiently execute this statement multiple times.

Note: The setter methods (setShort, setString, and so on) for setting IN parameter values must specify types that are compatible with the defined SQL type of the input parameter. For instance, if the IN parameter has SQL type INTEGER, then the method setInt should be used.

Type parameters

F

The effect type

Attributes

Companion
object
Source
PreparedStatement.scala
Supertypes
trait Statement[F]
class Object
trait Matchable
class Any
Known subtypes
class Client[F]
class Server[F]

Attributes

Companion
trait
Source
PreparedStatement.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait Statement[F[_]]

A statement is an object that represents a precompiled SQL statement.

A statement is an object that represents a precompiled SQL statement.

Type parameters

F

The effect type

Attributes

Companion
object
Source
Statement.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Client[F]
class Server[F]
object Statement

Attributes

Companion
trait
Source
Statement.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Statement.type
trait UtilityCommands[F[_]]

Utility commands

Utility commands

Type parameters

F

the effect type

Attributes

Companion
object
Source
UtilityCommands.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
trait
Source
UtilityCommands.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

def exchange[F[_] : Tracer, A](label: String)(f: (Span[F]) => F[A])(implicit evidence$1: Tracer[F], exchange: Exchange[F]): F[A]

Attributes

Source
package.scala
def parseHeader(headerBytes: Array[Byte]): Int

The size of the header in bytes.

The size of the header in bytes.

Attributes

Source
package.scala