数据服务中数据集 SQL 查询服务类。 在一个或多个指定的图层上查询符合 SQL 条件的空间地物信息。
| SuperMap. | 数据服务中数据集 SQL 查询服务类。 在一个或多个指定的图层上查询符合 SQL 条件的空间地物信息。 | 
| Constructor | |
| SuperMap. | SQL 查询服务类构造函数。 | 
| Functions | |
| destroy | 释放资源,将引用资源的属性置空。 | 
SQL 查询服务类构造函数。
例如:
       var myGetFeaturesBySQLService = new SuperMap.REST.GetFeaturesBySQLService(url, {
    eventListeners: {
        "processCompleted": GetFeaturesCompleted,
        "processFailed": GetFeaturesError
        }
});
function getFeaturesCompleted(QueryEventArgs){//todo};
function getFeaturesError(QueryEventArgs){//todo};
      
      | url | {String} 数据查询结果资源地址。请求数据服务中数据集查询服务, URL 应为:http://{服务器地址}:{服务端口号}/iserver/services/{数据服务名}/rest/data/; 例如:”http://localhost:8090 | 
| options | {Object} 参数。 | 
| eventListeners | {Object} 需要被注册的监听器对象。 | 
释放资源,将引用资源的属性置空。
destroy: function()