public class GetFieldsService
extends java.lang.Object
数据集字段查询服务类。
数据集字段查询是指查询数据集中所包含的字段信息。 该类负责与服务端完成异步通信:将客户端指定的数据集字段查询参数传递给服务端,并获取服务端返回的结果信息,从而实现数据集字段查询的操作。
限定符和类型 | 类和说明 |
---|---|
static class |
GetFieldsService.GetFieldsEventListener
处理数据集字段查询结果的监听器抽象类。
|
构造器和说明 |
---|
GetFieldsService(java.lang.String url)
构造函数。
|
限定符和类型 | 方法和说明 |
---|---|
GetFieldsResult |
getLastResult()
返回数据集字段查询结果。
|
void |
process(FieldParameters parameters, GetFieldsService.GetFieldsEventListener listener)
根据数据集字段查询服务地址与服务端完成异步通讯,即发送分析参数,并通过实现GetFieldsEventListener监听器处理查询结果。
|
public GetFieldsService(java.lang.String url)
构造函数。
url
- 数据服务地址。如 http://ServerIP:8090/iserver/services/data-world/rest/data。public void process(FieldParameters parameters, GetFieldsService.GetFieldsEventListener listener)
根据数据集字段查询服务地址与服务端完成异步通讯,即发送分析参数,并通过实现GetFieldsEventListener监听器处理查询结果。
parameters
- 数据集字段查询参数信息。listener
- 处理查询结果的GetFieldsEventListener监听器。public GetFieldsResult getLastResult()
返回数据集字段查询结果。