Store.query()

Signature

Object query (String url, String query, Object[] queryParameters, Object queryOptions, String returnEntityPath)

Domain

ACTION

Description

Returns an Iterator of Item/Entity objects from the Store that match the specified filter.

Parameters

NameTypeDescription
urlStringUrl of the Store
queryStringQuery that needs to be executed over the Store. Supports parameterized query i.e. select tid from t where age > ?.
queryParametersObject[]Parameters applicable to the query.
queryOptionsObjectIf any, query options that govern the behavior of query execution. Refer to Store.QueryOptions.*
returnEntityPathStringReturn entity path. Only if the expected iterator element should be an Entity(Event/Concept), else should be null.

Returns

TypeDescription
ObjectIterator of Item/Entity objects that match the filter

Cautions

none