Store.query()
Signature
Object query (String url, String query, Object[] queryParameters, Object queryOptions, String returnEntityPath)
Description
Returns an Iterator of Item/Entity objects from the Store that match the specified filter.
Parameters
Name | Type | Description |
url | String | Url of the Store |
query | String | Query that needs to be executed over the Store. Supports parameterized query i.e. select tid from t where age > ?. |
queryParameters | Object[] | Parameters applicable to the query. |
queryOptions | Object | If any, query options that govern the behavior of query execution. Refer to Store.QueryOptions.* |
returnEntityPath | String | Return entity path. Only if the expected iterator element should be an Entity(Event/Concept), else should be null. |
Returns
Type | Description |
Object | Iterator of Item/Entity objects that match the filter |