Package | com.esri.bacore.thematicmapping |
Interface | public interface IQueryTask |
Implementors | BaseThematicQueryTaskAdapter, TMQueryTask, TMQueryTaskProvider, ThematicMappingQueryTask, ThematicMappingQueryTask |
Method | Defined By | ||
---|---|---|---|
execute(layerInfo:IGeographyLayerInfo, query:Query, responder:IResponder):Boolean
Executes a query for the given geography layer. | IQueryTask | ||
initialize(responder:IResponder):void
Initializes the query task. | IQueryTask |
execute | () | method |
public function execute(layerInfo:IGeographyLayerInfo, query:Query, responder:IResponder):Boolean
Executes a query for the given geography layer.
The query task should at first validate the geography layer. If this is an alien layer, the false value should be returned. Otherwise, the query task should start executing query and should return the true value.
The responder.fault
method receives a parameter of the FaultEvent
type and
responder.result
method receives a parameter of the BATaskCompletedEvent
type
whose result
property contains the result of FeatureSet
type.
Parameters
layerInfo:IGeographyLayerInfo — A geography layer to execute query on.
| |
query:Query — A query to execute.
| |
responder:IResponder — A responder to handle query results.
|
Boolean — True if the query task is started.
|
initialize | () | method |
public function initialize(responder:IResponder):void
Initializes the query task.
The responder.fault
method receives a parameter of the FaultEvent
type and
responder.result
method receives a parameter of the BATaskCompletedEvent
type
whose result
property contains an array of GeographyLevelInfo
type items.
Parameters
responder:IResponder — responder to handle initialization results.
|
See also