public interface QueryProcessor
Modifier and Type | Method and Description |
---|---|
Collection |
executeQuery(Registry registry,
Resource query,
Map parameters)
This method will be called when a query of a registered type is executed.
|
Collection executeQuery(Registry registry, Resource query, Map parameters) throws RegistryException
registry
- the registry to execute the queryquery
- query resource, possibly containing the query stringparameters
- query parameters as name->value pairsRegistryException
- QueryProcessor impl should handle all exceptions and throw RegistryException if the
exception has to propagated to the client.Copyright © 2015 WSO2 Inc. All Rights Reserved.