Exemple #1
0
 /// <summary>
 /// Transforms the algebra
 /// </summary>
 /// <param name="optimiser">Optimiser</param>
 /// <returns></returns>
 public ISparqlAlgebra Transform(Optimisation.IAlgebraOptimiser optimiser)
 {
     return(new FullTextQuery(this._provider, optimiser.Optimise(this.InnerAlgebra)));
 }
 /// <summary>
 /// Transforms the RHS algebra only with the given optimiser
 /// </summary>
 /// <param name="optimiser">Algebra Optimiser</param>
 /// <returns></returns>
 public ISparqlAlgebra TransformRhs(Optimisation.IAlgebraOptimiser optimiser)
 {
     return(new FilteredProduct(this._lhs, optimiser.Optimise(this._rhs), this._expr));
 }