Package lupos.engine.evaluators

Examples of lupos.engine.evaluators.QueryEvaluator


          public void actionPerformed(final ActionEvent e) {
            if (!this.processingQuery) {
              try {
                content.delete(0, content.length());
                content.append("<html><code>");
                final QueryEvaluator evaluator =((EvaluatorCreator.EVALUATORS) comboBoxEvaluator.getSelectedItem()).create();
                this.processingQuery = true;
                // do some initialization for federated queries...
                ServiceApproaches serviceApproach = xpref.datatypes.EnumDatatype.getFirstValue("serviceCallApproach");
                FederatedQueryBitVectorJoin.APPROACH bitVectorApproach = xpref.datatypes.EnumDatatype.getFirstValue("serviceCallBitVectorApproach");
                bitVectorApproach.setup();
View Full Code Here


      sgExecuter.setStorage(localStorage);
      sgExecuter.setP2PNetwork(p2pInstance);
      /*
       * create an query evaluator for the local storage, which is evaluated in local storage
       */
      QueryEvaluator localEvaluator = new QueryClientWithSubgraphTransmission(localStorage,distribution,sgExecuter) {
        @Override
        public String toString() {
          return "LocalQueryExecuter for instance " + instance;
        }
      };
      Collection<URILiteral> defaultGraphs = new LinkedList<URILiteral>();
      // init with empty dataset ...
      LiteralFactory.setType(MapType.NOCODEMAP);
      defaultGraphs.add(LiteralFactory
          .createURILiteralWithoutLazyLiteral("<inlinedata:>"));
      Collection<URILiteral> namedGraphs = new LinkedList<URILiteral>();
      localEvaluator.prepareInputData(defaultGraphs, namedGraphs);
      queryClientInstance.prepareInputData(defaultGraphs, namedGraphs);
      try {
        PhysicalOptimizations.memoryReplacements();
      } catch (Exception e) {
        //ignore
View Full Code Here

TOP

Related Classes of lupos.engine.evaluators.QueryEvaluator

Copyright © 2018 www.massapicom. 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.