ldbc.connector.data

Members list

Type members

Classlikes

Attributes

Source
CapabilitiesFlags.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Mapping between MySQL charset names and Java charset names.

Attributes

Source
CharsetMapping.scala
Supertypes
class Object
trait Matchable
class Any
Self type
case class Collation(index: Int, collationNames: List[String], priority: Int, charset: MysqlCharset)

Attributes

Companion
object
Source
CharsetMapping.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Collation

Attributes

Companion
class
Source
CharsetMapping.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Collation.type
enum ColumnDataType(val code: Long, val name: String)

Enumeration of MySQL column data types.

Enumeration of MySQL column data types.

Value parameters

code

the MySQL column data type code

name

the MySQL column data type name

Attributes

See also
Companion
object
Source
ColumnDataType.scala
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
enum
Source
ColumnDataType.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
enum ColumnDefinitionFlags(val code: Long)

ColumnDefinitionFlags is a bitset of column definition flags.

ColumnDefinitionFlags is a bitset of column definition flags.

Attributes

See also
Companion
object
Source
ColumnDefinitionFlags.scala
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
enum
Source
ColumnDefinitionFlags.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
object CommandId

Attributes

Source
CommandId.scala
Supertypes
class Object
trait Matchable
class Any
Self type
CommandId.type
object Constants

Represents various constants used in the driver.

Represents various constants used in the driver.

Attributes

Source
Constants.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Constants.type
final case class Encoded(value: String, redacted: Boolean)

Represents a string that may be redacted.

Represents a string that may be redacted.

Value parameters

redacted

true if the value is redacted, false otherwise

value

the string value

Attributes

Companion
object
Source
Encoded.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Encoded

Attributes

Companion
class
Source
Encoded.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Encoded.type
enum EnumMySQLSetOption(val code: Short)

EnumMySQLSetOption is an enumeration of MySQL set options.

EnumMySQLSetOption is an enumeration of MySQL set options.

Attributes

Source
EnumMySQLSetOption.scala
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Formatter

Attributes

Source
Formatter.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Formatter.type
case class MysqlCharset(charsetName: String, mblen: Int, priority: Int, javaEncodingsUc: List[String], aliases: List[String], minimumVersion: Version)

Attributes

Companion
object
Source
CharsetMapping.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object MysqlCharset

Attributes

Companion
class
Source
CharsetMapping.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
enum MysqlType(val name: String, val jdbcType: Int, val allowedFlags: Int, val isDec: Boolean, val precision: Long, val createParams: String) extends SQLType

Attributes

Companion
object
Source
MysqlType.scala
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
trait SQLType
class Object
trait Matchable
class Any
Show all
object MysqlType

Attributes

Companion
enum
Source
MysqlType.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
MysqlType.type

TODO: The Enum property is buggy if you put it inside a MysqlType object. All numeric types are set to 0, and all Boolean types are set to false.

TODO: The Enum property is buggy if you put it inside a MysqlType object. All numeric types are set to 0, and all Boolean types are set to false.

 case TINYINT extends(..., MysqlType.FIELD_FLAG_UNSIGNED, ...)" <- This will not work
 case TINYINT extends(..., MysqlTypeVariables.FIELD_FLAG_UNSIGNED, ...)" <- This will work

Attributes

Source
MysqlType.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait Parameter

A parameter to be used in a prepared statement.

A parameter to be used in a prepared statement.

Attributes

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

Attributes

Companion
trait
Source
Parameter.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Parameter.type
object SQLState

Attributes

Source
SQLState.scala
Supertypes
class Object
trait Matchable
class Any
Self type
SQLState.type

Attributes

Source
ServerStatusFlags.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final case class Type(name: String)

Represents a MySQL data type.

Represents a MySQL data type.

Value parameters

name

The name of the type.

Attributes

Companion
object
Source
Type.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Type

Attributes

Companion
class
Source
Type.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Type.type

Types

opaque type CapabilitiesFlags

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

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

Currently need to fit into 32 bits.

Each bit represents an optional feature of the protocol.

Both the client and the server are sending these.

The intersection of the two determines what optional parts of the protocol will be used.

see: https://dev.mysql.com/doc/dev/mysql-server/latest/group__group__cs__capabilities__flags.html

※ There is a 32-bit limit, but the Long type is used because Scala's Int type is out of range.

Attributes

Source
CapabilitiesFlags.scala
opaque type ServerStatusFlags

The status flags are a bit-field.

The status flags are a bit-field.

Value parameters

code

The numeric value of the bit-field.

Attributes

Source
ServerStatusFlags.scala