Class OptimizerUtil

java.lang.Object
org.eclipse.rdf4j.federated.optimizer.OptimizerUtil

public class OptimizerUtil extends Object
  • Constructor Details

    • OptimizerUtil

      public OptimizerUtil()
  • Method Details

    • flattenJoin

      public static NJoin flattenJoin(Join join, QueryInfo queryInfo)
      Flatten the join to one layer, i.e. collect all join arguments
      Parameters:
      join -
      queryInfo -
      Returns:
      the flattened NJoin
    • collectJoinArgs

      protected static void collectJoinArgs(TupleExpr node, List<TupleExpr> joinArgs)
      Collect join arguments by descending the query tree (recursively).
      Parameters:
      node -
      joinArgs -