Package org.openrdf.sail.federation.evaluation

Examples of org.openrdf.sail.federation.evaluation.FederationStatistics


    new ConjunctiveConstraintSplitter().optimize(query, bindings);
    new DisjunctiveConstraintOptimizer().optimize(query, bindings);
    new SameTermFilterOptimizer().optimize(query, bindings);
    new QueryModelPruner().optimize(query, bindings);

    FederationStatistics statistics = new FederationStatistics(federation.getExecutor(), members, query);
//    new QueryJoinOptimizer(statistics).optimize(query, bindings);
//    new FilterOptimizer().optimize(query, bindings);

    new EmptyPatternOptimizer(members).optimize(query, bindings);
    boolean distinct = federation.isDistinct();
    PrefixHashSet local = federation.getLocalPropertySpace();
    new FederationJoinOptimizer(members, distinct, local).optimize(query, bindings);
    new OwnedTupleExprPruner().optimize(query, bindings);
    new QueryModelPruner().optimize(query, bindings);
    new QueryJoinOptimizer(statistics).optimize(query, bindings);
    new FederationFilterOptimizer().optimize(query, bindings);
    statistics.await(); // let statistics throw any exceptions it has

    new PrepareOwnedTupleExpr(federation.getMetaData()).optimize(query, bindings);

    logger.trace("Optimized query model:\n{}", query);
    return query;
View Full Code Here

TOP

Related Classes of org.openrdf.sail.federation.evaluation.FederationStatistics

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.