| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the exception was properly handledthe id of the prepared statement that failed to be prepared preparedStatementId, XProtocolError e)Propagate to the underlying protocol instance that preparing a statement on the connected server failed. |
| public void | freePreparedStatementId(int
the prepared statement id to release preparedStatementId)Free a prepared statement id so that it can be reused. |
| public int | Returns: a new identifier to be used as prepared statement idReturn an id to be used as a client-managed prepared statement id. |
| public int | |
| public String | |
| public XProtocol | |
| public boolean | |
| public <M extends Message, R, RES> RES | |
| public <M extends Message, R extends QueryResult> R | query(M
query message message, ResultBuilder<R> ResultBuilder instance resultBuilder)Overrides default com. Synchronously query database. |
| public <M extends Message, R extends QueryResult> CompletableFuture | queryAsync(M
query message message, ResultBuilder<R> ResultBuilder instance resultBuilder)Overrides default com. Asynchronously query database. |
| public void | quit()
Overrides com. Implements com. Log-off of the MySQL server and close the socket. |
| public boolean | Returns: true if enough executions have been done since last time a prepared statement failed to be preparedCheck if enough statements were executed in the underlying MySQL server so that another prepare statement attempt should be done. |
| public boolean | Returns: true if the MySQL server in use supports prepared statementsCheck if current session is using a MySQL server that supports prepared statements. |
| MysqlxSession | back to summary |
|---|---|
| public MysqlxSession(HostInfo hostInfo, PropertySet propSet) | |
| MysqlxSession | back to summary |
|---|---|
| public MysqlxSession(XProtocol prot) | |
| failedPreparingStatement | back to summary |
|---|---|
| public boolean failedPreparingStatement(int preparedStatementId, XProtocolError e) Propagate to the underlying protocol instance that preparing a statement on the connected server failed.
| |
| freePreparedStatementId | back to summary |
|---|---|
| public void freePreparedStatementId(int preparedStatementId) Free a prepared statement id so that it can be reused.
| |
| getNewPreparedStatementId | back to summary |
|---|---|
| public int getNewPreparedStatementId(PreparableStatement<?> preparableStatement) Return an id to be used as a client-managed prepared statement id.
| |
| getPort | back to summary |
|---|---|
| public int getPort() | |
| getProcessHost | back to summary |
|---|---|
| public String getProcessHost() Implements com.
| |
| getProtocol | back to summary |
|---|---|
| public XProtocol getProtocol() | |
| isClosed | back to summary |
|---|---|
| public boolean isClosed() Implements com.
| |
| query | back to summary |
|---|---|
| public <M extends Message, R, RES> RES query(M message, Predicate<Row> rowFilter, Function<Row, R> rowMapper, Collector<R, ?, RES> collector) Overrides default com. Doc from com. Synchronously query database with applying rows filtering and mapping. | |
| query | back to summary |
|---|---|
| public <M extends Message, R extends QueryResult> R query(M message, ResultBuilder<R> resultBuilder) Overrides default com. Doc from com. Synchronously query database.
| |
| queryAsync | back to summary |
|---|---|
| public <M extends Message, R extends QueryResult> CompletableFuture Overrides default com. Doc from com. Asynchronously query database.
| |
| quit | back to summary |
|---|---|
| public void quit() Overrides com. Implements com. Doc from com. Log-off of the MySQL server and close the socket.
| |
| readyForPreparingStatements | back to summary |
|---|---|
| public boolean readyForPreparingStatements() Check if enough statements were executed in the underlying MySQL server so that another prepare statement attempt should be done.
| |
| supportsPreparedStatements | back to summary |
|---|---|
| public boolean supportsPreparedStatements() Check if current session is using a MySQL server that supports prepared statements.
| |