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