Package org.apache.calcite.plan.volcano
Class HazelcastRelSubsetUtil
java.lang.Object
org.apache.calcite.plan.volcano.HazelcastRelSubsetUtil
Utility class to access package-private Calcite internals.
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<org.apache.calcite.plan.volcano.RelSubset>
getSubsets
(org.apache.calcite.rel.RelNode node) Gets all subsets from the node's setstatic org.apache.calcite.rel.RelNode
unwrapSubset
(org.apache.calcite.rel.RelNode node) If thenode
is aRelSubset
, return the best rel from it.
-
Method Details
-
getSubsets
public static 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 thenode
is aRelSubset
, return the best rel from it. Otherwise, return the node.
-