public class EditFeaturesService
extends java.lang.Object
数据集编辑服务类。
数据集编辑是指对数据集中的矢量要素进行编辑,包括对要素进行增加、删除、修改的三种操作。该类负责与服务端完成异步通信:将客户端指定的数据集编辑参数传递给服务端,并获取服务端返回的结果信息,从而实现矢量要素数据的增删改操作。
限定符和类型 | 类和说明 |
---|---|
static class |
EditFeaturesService.EditFeaturesEventListener
处理数据集编辑结果的监听器抽象类。
|
构造器和说明 |
---|
EditFeaturesService(java.lang.String url)
构造函数。
|
限定符和类型 | 方法和说明 |
---|---|
EditFeaturesResult |
getLastResult()
返回数据集编辑结果。
|
void |
process(EditFeaturesParameters parameters, EditFeaturesService.EditFeaturesEventListener listener)
根据数据集编辑服务地址与服务端完成异步通讯,即发送分析参数,并通过实现EditFeaturesEventListener监听器处理查询结果。
|
public EditFeaturesService(java.lang.String url)
构造函数。
url
- 数据集编辑服务地址。如 http://ServerIP:8090/iserver/services/data-world/rest/data/datasources/World/datasets/Capitals。public void process(EditFeaturesParameters parameters, EditFeaturesService.EditFeaturesEventListener listener)
根据数据集编辑服务地址与服务端完成异步通讯,即发送分析参数,并通过实现EditFeaturesEventListener监听器处理查询结果。
parameters
- 数据集编辑参数信息。listener
- 处理查询结果的EditFeaturesEventListener监听器。public EditFeaturesResult getLastResult()
返回数据集编辑结果。