com.supermap.web.iServerJava6R.dataServices
public class GetFeaturesParametersBase
继承 GetFeaturesParametersBase Inheritance Object
子类 GetFeaturesByBufferParameters, GetFeaturesByGeometryParameters, GetFeaturesByIDsParameters, GetFeaturesBySQLParameters

数据集查询参数基类.

缓冲区查询、几何查询、ID 查询、SQL 查询参数类均继承于该类。



公共属性
  属性 定义方
    datasetNames : Array
数据集名称数组,必设参数。对于数据集 SQL 查询(GetFeaturesBySQLService),若在查询参数类 GetFeaturesBySQLParameters 中设置了 datasetNames 属性,GetFeaturesBySQLParameters.filerParameters 中的 name 属性无效...
GetFeaturesParametersBase
    fromIndex : int
获取或设置返回对象的起始索引值。默认值为 0,表示从第一个对象开始返回.
GetFeaturesParametersBase
    toIndex : int
获取或设置返回对象的终止索引值。默认值为 19,表示终止索引指向数组的第 20 个对象,当该值为 -1 时,表示返回全部对象...
GetFeaturesParametersBase
公共方法
  方法 定义方
   
初始化 GetFeaturesParametersBase 类的新实例。
GetFeaturesParametersBase
属性详细信息
datasetNames 属性
datasetNames:Array

数据集名称数组,必设参数。对于数据集 SQL 查询(GetFeaturesBySQLService),若在查询参数类 GetFeaturesBySQLParameters 中设置了 datasetNames 属性,GetFeaturesBySQLParameters.filerParameters 中的 name 属性无效...

数据集名称由数据源名和数据集名构成,例如 world 数据源下的 Ocean 数据集,这里的数据集名称就为 "world:Ocean",注意不要漏掉双引号。


Implementation
    public function get datasetNames():Array
    public function set datasetNames(value:Array):void

另请参见

fromIndex 属性  
fromIndex:int

获取或设置返回对象的起始索引值。默认值为 0,表示从第一个对象开始返回.

例如有 10 个对象符合查询条件,若该属性值为 2,则返回索引值属于 [2, toIndex] 的对象。


Implementation
    public function get fromIndex():int
    public function set fromIndex(value:int):void

另请参见

toIndex 属性  
toIndex:int

获取或设置返回对象的终止索引值。默认值为 19,表示终止索引指向数组的第 20 个对象,当该值为 -1 时,表示返回全部对象...

例如有 10 个对象符合查询条件,若该属性值为 5,则返回索引值属于 [fromIndex, 5] 的对象。


Implementation
    public function get toIndex():int
    public function set toIndex(value:int):void

另请参见

构造函数详细信息
GetFeaturesParametersBase () 构造函数
public function GetFeaturesParametersBase()

初始化 GetFeaturesParametersBase 类的新实例。