Class RelCommonExpressionBasicSuggester

java.lang.Object
org.apache.calcite.rel.RelCommonExpressionBasicSuggester
All Implemented Interfaces:
RelCommonExpressionSuggester

@API(since="1.41.0", status=EXPERIMENTAL) public class RelCommonExpressionBasicSuggester extends Object implements RelCommonExpressionSuggester
Suggester for common relational expressions that appear as is (identical trees) more than once in the query plan.
  • Constructor Details

    • RelCommonExpressionBasicSuggester

      public RelCommonExpressionBasicSuggester()
  • Method Details

    • suggest

      public Collection<RelNode> suggest(RelNode input, @Nullable Context context)
      Description copied from interface: RelCommonExpressionSuggester
      Suggests interesting expressions for the specified input expression and context.
      Specified by:
      suggest in interface RelCommonExpressionSuggester
      Parameters:
      input - a relational expression representing the query under compilation.
      context - a context for tuning aspects of the suggestion process.
      Returns:
      a collection with interesting expressions for the specified relational expression