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

NameTypeDescription
destinationUriStringAS Destination URI
eventTemplateSimpleEventSimpleEvent Template
browserTypeStrStringBrowserType: GET or TAKE
timeScopeStringTimeScope: SNAPSHOT, ALL or NEW
distributionScopeStringDistributionScope: ALL or SEEDED
timeoutintTimeout
prefetchlongThe number of events will be prefetched
filterStringQuery condition

Returns

TypeDescription
SimpleEvent[] or Object[M][N][2]The matched events