AS.query()
Signature
Object[] query(String destinationUri, SimpleEvent eventTemplate, String browserTypeStr, String timeScope, String distributionScope, int timeout, long prefetch, String filter)
Domain
ACTION, CONDITION, QUERY, BUI
Description
Retrieves the entries that match the conditions you specified in the associated Space.
Parameters
Name | Type | Description |
destinationUri | String | AS Destination URI |
eventTemplate | SimpleEvent | SimpleEvent Template |
browserTypeStr | String | BrowserType: GET or TAKE |
timeScope | String | TimeScope: SNAPSHOT, ALL or NEW |
distributionScope | String | DistributionScope: ALL or SEEDED |
timeout | int | Timeout |
prefetch | long | The number of events will be prefetched |
filter | String | Query condition |
Returns
Type | Description |
SimpleEvent[] or Object[M][N][2] | The matched events |