Class OptimizerUtil


  • public class OptimizerUtil
    extends Object
    • 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 -