# Class: ResourceQueryService

## tibco.objectapi.service.ResourceQueryService

#### new ResourceQueryService()

### Methods

#### executeComplexQuery(request, callback)

Evaluates the given RQL query and returns the results.

##### Parameters:

Name | Type | Description
--- | --- | ---
`request` | tibco.objectapi.service.request.ExecuteComplexQueryRequest | A request set with data for this service call.
`callback` | tibco.objectapi.service.Callback | A callback to handle the service response of type `ExecuteQueryResponseType`.

#### executeQuery(request, callback)

Evaluates the given RQL query and returns the results.

##### Parameters:

Name | Type | Description
--- | --- | ---
`request` | tibco.objectapi.service.request.ExecuteQueryRequest | A request set with data for this service call.
`callback` | tibco.objectapi.service.Callback | A callback to handle the service response of type `ExecuteQueryResponseType`.