Package lupos.distributed.query

Examples of lupos.distributed.query.QueryClientWithSubgraphTransmission


      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.distributed.query.QueryClientWithSubgraphTransmission

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.