AS AgentScopeAPI 手册 / API Reference

UpdateResult

@JsonInclude(JsonInclude.Include.NON_NULL) public static class UpdateResult
源码Source io/agentscope/core/memory/reme/ReMeAddResponse.java:280–313

更新结果,在多次调用之间保存和恢复会话与记忆数据。位于 io.agentscope.core.memory.reme 包。核心成员包括 getDeletedCount、setDeletedCount、getInsertedCount、setInsertedCount、toString。

Update result information.

方法摘要Method Summary

方法Method说明Description
public Integer getDeletedCount()
获取已删除数量。
Returns the deleted count.
public void setDeletedCount(Integer deletedCount)
设置已删除数量。
Sets the deleted count.
public Integer getInsertedCount()
获取 `getInsertedCount`。
Returns the inserted count.
public void setInsertedCount(Integer insertedCount)
设置 `setInsertedCount`。
Sets the inserted count.
public String toString()
返回 `toString` 结果。
Returns the to string.

方法详情Method Detail

getDeletedCount

public Integer getDeletedCount()

获取已删除数量。

Returns the deleted count.

返回Returns Integer
返回数值结果。Returns a numeric result.
源码Source io/agentscope/core/memory/reme/ReMeAddResponse.java:288–290

setDeletedCount

public void setDeletedCount(Integer deletedCount)

设置已删除数量。

Sets the deleted count.

参数Parameters
名称Name类型Type说明Description
deletedCountInteger已删除数量(类型 `Integer`)。The deleted count.
源码Source io/agentscope/core/memory/reme/ReMeAddResponse.java:292–294

getInsertedCount

public Integer getInsertedCount()

获取 getInsertedCount。

Returns the inserted count.

返回Returns Integer
返回数值结果。Returns a numeric result.
源码Source io/agentscope/core/memory/reme/ReMeAddResponse.java:296–298

setInsertedCount

public void setInsertedCount(Integer insertedCount)

设置 setInsertedCount。

Sets the inserted count.

参数Parameters
名称Name类型Type说明Description
insertedCountIntegerinserted 数量(类型 `Integer`)。The inserted count.
源码Source io/agentscope/core/memory/reme/ReMeAddResponse.java:300–302

toString

public String toString()

返回 toString 结果。

Returns the to string.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/core/memory/reme/ReMeAddResponse.java:304–312
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.