org.eclipse.rdf4j.federated.optimizer

## Class OptimizerUtil

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

-     public class OptimizerUtil
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `OptimizerUtil()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected static void` | `collectJoinArgs(TupleExpr node, List<TupleExpr> joinArgs)` Collect join arguments by descending the query tree (recursively).
    `static NJoin` | `flattenJoin(Join join, QueryInfo queryInfo)` Flatten the join to one layer, i.e.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### OptimizerUtil

          public OptimizerUtil()

  - ### Method Detail

    - #### 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` -

Copyright © 2015-2021 Eclipse Foundation. All Rights Reserved.