| Package | Description |
|---|---|
| io.asyncer.r2dbc.mysql |
An implementation of the Reactive Relational Database Connection API for MySQL servers.
|
| io.asyncer.r2dbc.mysql.codec |
Data codecs for the type that the service provider understands.
|
| io.asyncer.r2dbc.mysql.collation |
Character collations of MySQL.
|
| io.asyncer.r2dbc.mysql.message.server |
The messages that are sent from the MySQL server to a MySQL client.
|
| Modifier and Type | Method and Description |
|---|---|
static ServerVersion |
ServerVersion.create(int major,
int minor,
int patch)
Create a
ServerVersion that value is major.minor.patch. |
ServerVersion |
ConnectionContext.getServerVersion() |
static ServerVersion |
ServerVersion.parse(String version)
Parse a
ServerVersion from String. |
| Modifier and Type | Method and Description |
|---|---|
int |
ServerVersion.compareTo(ServerVersion version) |
void |
ConnectionContext.init(int connectionId,
ServerVersion version,
Capability capability)
Initializes this context.
|
boolean |
ServerVersion.isGreaterThanOrEqualTo(ServerVersion version)
Returns whether the current
ServerVersion is greater than or equal to the given one. |
boolean |
ServerVersion.isLessThan(ServerVersion version)
Returns whether the current
ServerVersion is less than given one. |
| Modifier and Type | Method and Description |
|---|---|
ServerVersion |
CodecContext.getServerVersion()
Get the MySQL server version, which is available after database user logon.
|
| Modifier and Type | Method and Description |
|---|---|
static CharCollation |
CharCollation.fromId(int id,
ServerVersion version)
Obtain an instance of
CharCollation from the identifier and server version, if not found, it
will fallback to UTF-8. |
| Modifier and Type | Method and Description |
|---|---|
ServerVersion |
HandshakeHeader.getServerVersion()
Get the MySQL server version.
|
Copyright © 2018–2023 asyncer.io. All rights reserved.