类 AddResultImpl
- java.lang.Object
-
- com.mysql.cj.xdevapi.UpdateResult
-
- com.mysql.cj.xdevapi.AddResultImpl
-
- 所有已实现的接口:
QueryResult,AddResult,Result
public class AddResultImpl extends UpdateResult implements AddResult
A result from the collection.add() statement.
-
-
字段概要
-
从类继承的字段 com.mysql.cj.xdevapi.UpdateResult
ok
-
-
构造器概要
构造器 构造器 说明 AddResultImpl(StatementExecuteOk ok)Constructor.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 List<String>getGeneratedIds()Get a list of document ids generated in the server for the documents added by collection.add().-
从类继承的方法 com.mysql.cj.xdevapi.UpdateResult
getAffectedItemsCount, getWarnings, getWarningsCount
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 com.mysql.cj.xdevapi.Result
getAffectedItemsCount, getWarnings, getWarningsCount
-
-
-
-
构造器详细资料
-
AddResultImpl
public AddResultImpl(StatementExecuteOk ok)
Constructor.- 参数:
ok- the response from the server
-
-
方法详细资料
-
getGeneratedIds
public List<String> getGeneratedIds()
从接口复制的说明:AddResultGet a list of document ids generated in the server for the documents added by collection.add().- 指定者:
getGeneratedIds在接口中AddResult- 返回:
- all generated document ids
-
-