Class HazelcastRelSubsetUtil


  • public final class HazelcastRelSubsetUtil
    extends java.lang.Object
    Utility class to access package-private Calcite internals.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<org.apache.calcite.plan.volcano.RelSubset> getSubsets​(org.apache.calcite.rel.RelNode node)
      Gets all subsets from the node's set
      static org.apache.calcite.rel.RelNode unwrapSubset​(org.apache.calcite.rel.RelNode node)
      If the node is a RelSubset, return the best rel from it.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getSubsets

        public static java.util.List<org.apache.calcite.plan.volcano.RelSubset> getSubsets​(org.apache.calcite.rel.RelNode node)
        Gets all subsets from the node's set
      • unwrapSubset

        public static org.apache.calcite.rel.RelNode unwrapSubset​(org.apache.calcite.rel.RelNode node)
        If the node is a RelSubset, return the best rel from it. Otherwise, return the node.