Class QueryModelPruner

  • All Implemented Interfaces:
    QueryOptimizer

    @Deprecated
    public class QueryModelPruner
    extends Object
    implements QueryOptimizer
    Deprecated.
    A query optimizer that prunes query model trees by removing superfluous parts and/or by reducing complex parts with simpler parts.
    Author:
    Arjohn Kampman
    • Constructor Detail

      • QueryModelPruner

        public QueryModelPruner()
        Deprecated.
    • Method Detail

      • optimize

        public void optimize​(TupleExpr tupleExpr,
                             Dataset dataset,
                             BindingSet bindings)
        Deprecated.
        Applies generally applicable optimizations: path expressions are sorted from more to less specific.
        Specified by:
        optimize in interface QueryOptimizer
        Parameters:
        tupleExpr -