Lines Matching refs:queryRequest
118 final QueryRequest queryRequest = Requests.newQueryRequest("")
123 queryCollection(new ManagedObjectContext(context), queryRequest, new QueryResourceHandler() {
333 final QueryRequest queryRequest = Requests.newQueryRequest(REPO_RESOURCE_PATH);
342 queryRequest.setQueryId(RELATIONSHIP_QUERY_ID)
351 queryRequest.setPageSize(request.getPageSize());
352 queryRequest.setPagedResultsOffset(request.getPagedResultsOffset());
353 queryRequest.setPagedResultsCookie(request.getPagedResultsCookie());
354 queryRequest.setTotalPagedResultsPolicy(request.getTotalPagedResultsPolicy());
355 queryRequest.addSortKey(request.getSortKeys().toArray(new SortKey[request.getSortKeys().size()]));
357 queryRequest.setAdditionalParameter(key, request.getAdditionalParameter(key));
361 if (queryRequest.getQueryId() == null) {
391 queryRequest.setQueryFilter(filter);
395 final Promise<QueryResponse, ResourceException> response = getConnection().queryAsync(context, queryRequest,