Package org.openrdf.query.algebra.evaluation.impl

Examples of org.openrdf.query.algebra.evaluation.impl.BindingAssigner$VarVisitor


      TripleSource tripleSource = new MemTripleSource(includeInferred, snapshot, readMode);
      EvaluationStrategyImpl strategy = new EvaluationStrategyImpl(tripleSource, query);

      QueryOptimizerList optimizerList = new QueryOptimizerList();
      optimizerList.add(new BindingAssigner());
      optimizerList.add(new ConstantOptimizer(strategy));
      optimizerList.add(new CompareOptimizer());
      optimizerList.add(new ConjunctiveConstraintSplitter());
      optimizerList.add(new DisjunctiveConstraintOptimizer());
      optimizerList.add(new SameTermFilterOptimizer());
View Full Code Here


      NativeTripleSource tripleSource = new NativeTripleSource(nativeStore, includeInferred,
          !isAutoCommit());
      EvaluationStrategyImpl strategy = new EvaluationStrategyImpl(tripleSource, query);

      QueryOptimizerList optimizerList = new QueryOptimizerList();
      optimizerList.add(new BindingAssigner());
      optimizerList.add(new ConstantOptimizer(strategy));
      optimizerList.add(new CompareOptimizer());
      optimizerList.add(new ConjunctiveConstraintSplitter());
      optimizerList.add(new DisjunctiveConstraintOptimizer());
      optimizerList.add(new SameTermFilterOptimizer());
View Full Code Here

    logger.trace("Incoming query model:\n{}", query);

    // Clone the tuple expression to allow for more aggressive optimizations
    query = query.clone();

    new BindingAssigner().optimize(query, bindings);
    new ConstantOptimizer(strategy).optimize(query, bindings);
    new CompareOptimizer().optimize(query, bindings);
    new ConjunctiveConstraintSplitter().optimize(query, bindings);
    new DisjunctiveConstraintOptimizer().optimize(query, bindings);
    new SameTermFilterOptimizer().optimize(query, bindings);
View Full Code Here

  }

  private void coreOptimizations(EvaluationStrategy strategy, QueryModel expr, BindingSet bindings)
    throws StoreException
  {
    new BindingAssigner().optimize(expr, bindings);
    new ConstantOptimizer(strategy).optimize(expr, bindings);
    new CompareOptimizer().optimize(expr, bindings);
    new ConjunctiveConstraintSplitter().optimize(expr, bindings);
    new DisjunctiveConstraintOptimizer().optimize(expr, bindings);
    new SameTermFilterOptimizer().optimize(expr, bindings);
View Full Code Here

      NativeTripleSource tripleSource = new NativeTripleSource(nativeStore, includeInferred,
          transactionActive());
      EvaluationStrategyImpl strategy = new EvaluationStrategyImpl(tripleSource, dataset);

      new BindingAssigner().optimize(tupleExpr, dataset, bindings);
      new ConstantOptimizer(strategy).optimize(tupleExpr, dataset, bindings);
      new CompareOptimizer().optimize(tupleExpr, dataset, bindings);
      new ConjunctiveConstraintSplitter().optimize(tupleExpr, dataset, bindings);
      new DisjunctiveConstraintOptimizer().optimize(tupleExpr, dataset, bindings);
      new SameTermFilterOptimizer().optimize(tupleExpr, dataset, bindings);
View Full Code Here

      TripleSource tripleSource = new MemTripleSource(includeInferred, snapshot, readMode);
      EvaluationStrategyImpl strategy = new EvaluationStrategyImpl(tripleSource, dataset);

      QueryOptimizerList optimizerList = new QueryOptimizerList();
      optimizerList.add(new BindingAssigner());
      optimizerList.add(new ConstantOptimizer(strategy));
      optimizerList.add(new CompareOptimizer());
      optimizerList.add(new ConjunctiveConstraintSplitter());
      optimizerList.add(new SameTermFilterOptimizer());
      optimizerList.add(new QueryModelPruner());
View Full Code Here

      TripleSource tripleSource = new NativeTripleSource(nativeStore, includeInferred, transactionActive());
      EvaluationStrategyImpl strategy = new EvaluationStrategyImpl(tripleSource, dataset);

      QueryOptimizerList optimizerList = new QueryOptimizerList();
      optimizerList.add(new BindingAssigner());
      optimizerList.add(new ConstantOptimizer(strategy));
      optimizerList.add(new CompareOptimizer());
      optimizerList.add(new ConjunctiveConstraintSplitter());
      optimizerList.add(new SameTermFilterOptimizer());
      optimizerList.add(new QueryModelPruner());
View Full Code Here

    optimizerList.optimize(tupleExpr, dataset, bindings);
    return tupleExpr;
  }

  protected void addCoreOptimizations(EvaluationStrategy strategy, QueryOptimizerList optimizerList) {
    optimizerList.add(new BindingAssigner());
    optimizerList.add(new ConstantOptimizer(strategy));
    optimizerList.add(new CompareOptimizer());
    optimizerList.add(new ConjunctiveConstraintSplitter());
    optimizerList.add(new SameTermFilterOptimizer());
    optimizerList.add(new QueryJoinOptimizer());
View Full Code Here

TOP

Related Classes of org.openrdf.query.algebra.evaluation.impl.BindingAssigner$VarVisitor

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.