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