Class FragmentTableScanCounter

java.lang.Object
io.trino.sql.planner.FragmentTableScanCounter

public final class FragmentTableScanCounter extends Object
Visitor to count number of tables scanned in the current fragment (fragments separated by ExchangeNodes).

TODO: remove this class after we make colocated_join always true

  • Method Details

    • countSources

      public static int countSources(List<PlanNode> nodes)
    • hasMultipleSources

      public static boolean hasMultipleSources(PlanNode... nodes)