Examples of query()


Examples of org.dcm4che3.tool.findscu.FindSCU.query()

        long timeStart = System.currentTimeMillis();

        try {

            main.open();
            main.query(getDimseRSPHandler(main.getAssociation().nextMessageID()));

        } finally {
            main.close(); // is waiting for all the responsens to be complete
            executorService.shutdown();
            scheduledExecutorService.shutdown();
View Full Code Here

Examples of org.dspace.app.cris.integration.statistics.IStatsComponent.query()

            else {
                type = StatComponentsService._SELECTED_OBJECT;
                statcomponent = (IStatsComponent)statsComponentsService.getSelectedObjectComponent();
            }
           
            dataBeans.putAll(statcomponent.query(id, solrServer));               
            label.putAll(statcomponent.getLabels(UIUtil.obtainContext(request),type));
           
            ResultBean result = new ResultBean(dataBeans, statsComponentsService.getCommonsParams());
            data.put(_RESULT_BEAN, result);
            data.put("label",label);
View Full Code Here

Examples of org.eclipse.equinox.internal.provisional.p2.engine.IProfile.query()

        if (profile == null) {
            log.warn("Profile unavailable. Default language will be used.");
            return new Collector();
        }
        IUPropertyQuery iuQuery = new IUPropertyQuery(IInstallableUnit.PROP_TYPE_FRAGMENT, "true"); //$NON-NLS-1$
        Collector collected = profile.query(iuQuery, localeFragmentCollector, null);
        LocaleCollectorCache.put(locale, new SoftReference(collected));
        return collected;
    }

    /**
 
View Full Code Here

Examples of org.eclipse.equinox.internal.provisional.p2.query.IQueryable.query()

        if (location != null) {
            queryable = getMetadataRepository(location);
        } else {
            queryable = ServiceHolder.getMetadataRepositoryManager();
        }
        return queryable.query(query, collector, monitor);
    }

    public static IQueryable getQuerybleRepositoryManager(URI location) {
        IQueryable queryable;
        try {
View Full Code Here

Examples of org.eclipse.equinox.p2.repository.metadata.IMetadataRepository.query()

              URI _uRI = new URI(uri);
              SubMonitor _newChild = wpm.newChild(90);
              final IMetadataRepository metadataRepository = repositoryManager.loadRepository(_uRI, _newChild);
              IQuery<IInstallableUnit> _iUAssistQuery = TargetPlatformProposalProvider.this.getIUAssistQuery();
              SubMonitor _newChild_1 = wpm.newChild(5);
              IQueryResult<IInstallableUnit> _query = metadataRepository.query(_iUAssistQuery, _newChild_1);
              final Set<IInstallableUnit> results = _query.toUnmodifiableSet();
              final Function1<IInstallableUnit, Boolean> _function = new Function1<IInstallableUnit, Boolean>() {
                public Boolean apply(final IInstallableUnit it) {
                  EList<IU> _ius = location.getIus();
                  final Function1<IU, String> _function = new Function1<IU, String>() {
View Full Code Here

Examples of org.ejbca.core.model.log.ILogDevice.query()

      Collection<LogEntry> result = null;
      final Iterator<ILogDevice> i = logdevices.iterator();
        while (i.hasNext()) {
          final ILogDevice dev = i.next();
            if (dev.getDeviceName().equalsIgnoreCase(deviceName)) {
                result = dev.query(query, viewlogprivileges, capriviledges, maxResults);
                break;
            }
        }
    return result;
    }
View Full Code Here

Examples of org.elasticsearch.action.count.CountRequest.query()

                // since we don't spawn, don't allow no_threads, but change it to a single thread
                operationThreading = BroadcastOperationThreading.SINGLE_THREAD;
            }
            countRequest.operationThreading(operationThreading);
            if (request.hasContent()) {
                countRequest.query(request.contentByteArray(), request.contentByteArrayOffset(), request.contentLength(), true);
            } else {
                String source = request.param("source");
                if (source != null) {
                    countRequest.query(source);
                } else {
View Full Code Here

Examples of org.elasticsearch.action.deletebyquery.DeleteByQueryRequest.query()

        DeleteByQueryRequest deleteByQueryRequest = new DeleteByQueryRequest(splitIndices(request.param("index")));
        // we just build a response and send it, no need to fork a thread
        deleteByQueryRequest.listenerThreaded(false);
        try {
            if (request.hasContent()) {
                deleteByQueryRequest.query(request.contentByteArray(), request.contentByteArrayOffset(), request.contentLength(), request.contentUnsafe());
            } else {
                String source = request.param("source");
                if (source != null) {
                    deleteByQueryRequest.query(source);
                } else {
View Full Code Here

Examples of org.elasticsearch.search.builder.SearchSourceBuilder.query()

      if (qDsl) {
        queryBuilder = QueryBuilders.wrapperQuery(q);
      } else {
        queryBuilder = QueryBuilders.queryString(q);
      }
      searchSourceBuilder.query(queryBuilder);
    }

    searchSourceBuilder.from(start);
    searchSourceBuilder.size(rows);
View Full Code Here

Examples of org.elasticsearch.search.facet.query.QueryFacetBuilder.query()

      }

      if (facetQueries != null && !facetQueries.isEmpty()) {
        for (String facetQuery : facetQueries) {
          QueryFacetBuilder queryFacetBuilder = new QueryFacetBuilder(facetQuery);
          queryFacetBuilder.query(QueryBuilders.queryString(facetQuery));
          searchSourceBuilder.facet(queryFacetBuilder);
        }
      }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.