| Package | Description |
|---|---|
| com.mysql.cj.protocol.x | |
| com.mysql.cj.xdevapi |
Java classes for X DevAPI support.
|
| testsuite.x.devapi |
Dev API test suite.
|
| Modifier and Type | Class and Description |
|---|---|
class |
StatementExecuteOk
ProtocolEntity representing a
StatementExecuteOk message. |
| Modifier and Type | Class and Description |
|---|---|
class |
UpdateResultBuilder<T extends Result>
Result builder producing an
UpdateResult instance. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
AddResult
A result from the collection.add() statement.
|
interface |
DocResult
A sequence of documents retrieved from a find query.
|
interface |
InsertResult
A result from the table.insert() statement.
|
interface |
RowResult
A result exposing a set of rows from a SELECT query.
|
interface |
SqlResult
A result from a SQL statement which may have several sets of data following by a DML result.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractDataResult<T>
Base class for data set results.
|
class |
AddResultImpl
A result from the collection.add() statement.
|
class |
DocResultImpl
A sequence of documents retrieved from a find query.
|
class |
InsertResultImpl
A result from a statement that doesn't return a set of rows.
|
class |
RowResultImpl
RowResult implementation. |
class |
SqlMultiResult
SqlResult representing a multiple result sets. |
class |
SqlSingleResult
SqlResult representing a single result set. |
class |
SqlUpdateResult
SqlResult for insert, update, delete and DDL statements. |
class |
UpdateResult
A result from a statement that doesn't return a set of rows.
|
| Modifier and Type | Method and Description |
|---|---|
Result |
CollectionImpl.addOrReplaceOne(java.lang.String id,
DbDoc doc) |
Result |
Collection.addOrReplaceOne(java.lang.String id,
DbDoc doc)
Adds the document to the collection.
|
Result |
CollectionImpl.addOrReplaceOne(java.lang.String id,
java.lang.String jsonString) |
Result |
Collection.addOrReplaceOne(java.lang.String id,
java.lang.String jsonString)
Adds the document to the collection.
|
Result |
CollectionImpl.createIndex(java.lang.String indexName,
DbDoc indexDefinition) |
Result |
Collection.createIndex(java.lang.String indexName,
DbDoc indexDefinition)
Create a new statement defining the creation of an index on this collection.
|
Result |
CollectionImpl.createIndex(java.lang.String indexName,
java.lang.String jsonIndexDefinition) |
Result |
Collection.createIndex(java.lang.String indexName,
java.lang.String jsonIndexDefinition)
Create a new statement defining the creation of an index on this collection.
|
protected Result |
DeleteStatementImpl.executePreparedStatement() |
protected Result |
UpdateStatementImpl.executePreparedStatement() |
protected Result |
ModifyStatementImpl.executePreparedStatement() |
protected Result |
RemoveStatementImpl.executePreparedStatement() |
protected Result |
DeleteStatementImpl.executeStatement() |
protected Result |
UpdateStatementImpl.executeStatement() |
protected Result |
ModifyStatementImpl.executeStatement() |
Result |
RemoveStatementImpl.executeStatement() |
Result |
CollectionImpl.removeOne(java.lang.String id) |
Result |
Collection.removeOne(java.lang.String id)
Removes the document with the given id.
|
Result |
CollectionImpl.replaceOne(java.lang.String id,
DbDoc doc) |
Result |
Collection.replaceOne(java.lang.String id,
DbDoc doc)
Takes in a document object that will replace the matching document.
|
Result |
CollectionImpl.replaceOne(java.lang.String id,
java.lang.String jsonString) |
Result |
Collection.replaceOne(java.lang.String id,
java.lang.String jsonString)
Takes in a document object that will replace the matching document.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.CompletableFuture<Result> |
DeleteStatementImpl.executeAsync() |
java.util.concurrent.CompletableFuture<Result> |
UpdateStatementImpl.executeAsync() |
java.util.concurrent.CompletableFuture<Result> |
ModifyStatementImpl.executeAsync() |
java.util.concurrent.CompletableFuture<Result> |
RemoveStatementImpl.executeAsync() |
| Modifier and Type | Method and Description |
|---|---|
private void |
CollectionRemoveTest.assertTestPreparedStatementsResult(Result res,
int expectedAffectedItemsCount,
java.lang.String collectionName,
int... expectedValues) |
private void |
TableUpdateTest.assertTestPreparedStatementsResult(Result res,
int expectedAffectedItemsCount,
java.lang.String tableName,
int... expectedValues) |
private void |
TableDeleteTest.assertTestPreparedStatementsResult(Result res,
int expectedAffectedItemsCount,
java.lang.String tableName,
int... expectedValues) |
private void |
CollectionModifyTest.assertTestPreparedStatementsResult(Result res,
int expectedAffectedItemsCount,
java.lang.String collectionName,
int... expectedValues) |