接口的使用
com.mysql.cj.xdevapi.Result
-
使用Result的程序包 程序包 说明 com.mysql.cj.protocol.x com.mysql.cj.xdevapi Java classes for X DevAPI support. -
-
com.mysql.cj.protocol.x中Result的使用
实现Result的com.mysql.cj.protocol.x中的类 修饰符和类型 类 说明 classStatementExecuteOkProtocolEntity representing aStatementExecuteOkmessage. -
com.mysql.cj.xdevapi中Result的使用
类型参数类型为Result的com.mysql.cj.xdevapi中的类 修饰符和类型 类 说明 classUpdateResultBuilder<T extends Result>Result builder producing anUpdateResultinstance.com.mysql.cj.xdevapi中Result的子接口 修饰符和类型 接口 说明 interfaceAddResultA result from the collection.add() statement.interfaceDocResultA sequence of documents retrieved from a find query.interfaceInsertResultA result from the table.insert() statement.interfaceRowResultA result exposing a set of rows from a SELECT query.interfaceSqlResultA result from a SQL statement which may have several sets of data following by a DML result.实现Result的com.mysql.cj.xdevapi中的类 修饰符和类型 类 说明 classAbstractDataResult<T>Base class for data set results.classAddResultImplA result from the collection.add() statement.classDocResultImplA sequence of documents retrieved from a find query.classInsertResultImplA result from a statement that doesn't return a set of rows.classRowResultImplRowResultimplementation.classSqlMultiResultSqlResultrepresenting a multiple result sets.classSqlSingleResultSqlResultrepresenting a single result set.classSqlUpdateResultSqlResultfor insert, update, delete and DDL statements.classUpdateResultA result from a statement that doesn't return a set of rows.返回Result的com.mysql.cj.xdevapi中的方法 修饰符和类型 方法 说明 ResultCollection. addOrReplaceOne(String id, DbDoc doc)Adds the document to the collection.ResultCollection. addOrReplaceOne(String id, String jsonString)Adds the document to the collection.ResultCollectionImpl. addOrReplaceOne(String id, DbDoc doc)ResultCollectionImpl. addOrReplaceOne(String id, String jsonString)ResultCollection. createIndex(String indexName, DbDoc indexDefinition)Create a new statement defining the creation of an index on this collection.ResultCollection. createIndex(String indexName, String jsonIndexDefinition)Create a new statement defining the creation of an index on this collection.ResultCollectionImpl. createIndex(String indexName, DbDoc indexDefinition)ResultCollectionImpl. createIndex(String indexName, String jsonIndexDefinition)protected ResultDeleteStatementImpl. executePreparedStatement()protected ResultModifyStatementImpl. executePreparedStatement()protected ResultRemoveStatementImpl. executePreparedStatement()protected ResultUpdateStatementImpl. executePreparedStatement()protected ResultDeleteStatementImpl. executeStatement()protected ResultModifyStatementImpl. executeStatement()ResultRemoveStatementImpl. executeStatement()protected ResultUpdateStatementImpl. executeStatement()ResultCollection. removeOne(String id)Removes the document with the given id.ResultCollectionImpl. removeOne(String id)ResultCollection. replaceOne(String id, DbDoc doc)Takes in a document object that will replace the matching document.ResultCollection. replaceOne(String id, String jsonString)Takes in a document object that will replace the matching document.ResultCollectionImpl. replaceOne(String id, DbDoc doc)ResultCollectionImpl. replaceOne(String id, String jsonString)返回变量类型为Result的类型的com.mysql.cj.xdevapi中的方法 修饰符和类型 方法 说明 CompletableFuture<Result>DeleteStatementImpl. executeAsync()CompletableFuture<Result>ModifyStatementImpl. executeAsync()CompletableFuture<Result>RemoveStatementImpl. executeAsync()CompletableFuture<Result>UpdateStatementImpl. executeAsync()
-