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.
Integer返回数值结果。Returns a numeric result.
源码Source
io/agentscope/core/memory/reme/ReMeAddResponse.java:288–290setDeletedCount
public void setDeletedCount(Integer deletedCount)
设置已删除数量。
Sets the deleted count.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
deletedCount | Integer | 已删除数量(类型 `Integer`)。The deleted count. |
源码Source
io/agentscope/core/memory/reme/ReMeAddResponse.java:292–294getInsertedCount
public Integer getInsertedCount()
获取 getInsertedCount。
Returns the inserted count.
Integer返回数值结果。Returns a numeric result.
源码Source
io/agentscope/core/memory/reme/ReMeAddResponse.java:296–298setInsertedCount
public void setInsertedCount(Integer insertedCount)
设置 setInsertedCount。
Sets the inserted count.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
insertedCount | Integer | inserted 数量(类型 `Integer`)。The inserted count. |
源码Source
io/agentscope/core/memory/reme/ReMeAddResponse.java:300–302toString
public String toString()
返回 toString 结果。
Returns the to string.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/core/memory/reme/ReMeAddResponse.java:304–312