public class GetFeaturesByGeometryService
extends java.lang.Object
数据集查询服务类。
几何查询就是查询与指定几何对象符合一定空间关系的矢量要素。 该类负责将客户端指定的数据集查询参数传递给服务端,并接收服务端返回的结果数据。
限定符和类型 | 类和说明 |
---|---|
static class |
GetFeaturesByGeometryService.GetFeaturesEventListener
处理数据集查询结果的监听器抽象类。
|
构造器和说明 |
---|
GetFeaturesByGeometryService(java.lang.String url)
构造函数。
|
限定符和类型 | 方法和说明 |
---|---|
GetFeaturesResult |
getLastResult()
返回数据集查询结果。
|
void |
process(GetFeaturesByGeometryParameters parameters, GetFeaturesByGeometryService.GetFeaturesEventListener listener)
根据数据集查询服务地址与服务端完成异步通讯,即发送分析参数,并通过实现GetFeaturesEventListener监听器处理查询结果。
|
public GetFeaturesByGeometryService(java.lang.String url)
构造函数。
url
- 数据集查询服务地址。如 http://ServerIP:8090/iserver/services/data-world/rest/data。public void process(GetFeaturesByGeometryParameters parameters, GetFeaturesByGeometryService.GetFeaturesEventListener listener)
根据数据集查询服务地址与服务端完成异步通讯,即发送分析参数,并通过实现GetFeaturesEventListener监听器处理查询结果。
parameters
- 数据集查询参数信息。listener
- 处理查询结果的GetFeaturesEventListener监听器。public GetFeaturesResult getLastResult()
返回数据集查询结果。