Class SameTermFilterOptimizer

  • All Implemented Interfaces:
    QueryOptimizer

    @Deprecated(forRemoval=true,
                since="4.1.0")
    public class SameTermFilterOptimizer
    extends Object
    implements QueryOptimizer
    Deprecated, for removal: This API element is subject to removal in a future version.
    A query optimizer that embeds Filters with SameTerm operators in statement patterns as much as possible. Operators like sameTerm(X, Y) are processed by renaming X to Y (or vice versa). Operators like sameTerm(X, ) are processed by assigning the URI to all occurring variables with name X.
    Author:
    Arjohn Kampman, James Leigh
    • Constructor Detail

      • SameTermFilterOptimizer

        public SameTermFilterOptimizer()
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • optimize

        public void optimize​(TupleExpr tupleExpr,
                             Dataset dataset,
                             BindingSet bindings)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Applies generally applicable optimizations to the supplied query: variable assignments are inlined.
        Specified by:
        optimize in interface QueryOptimizer