Package org.apache.calcite.rel
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSuggests interesting expressions for the specified input expression and context.
-
Constructor Details
-
RelCommonExpressionBasicSuggester
public RelCommonExpressionBasicSuggester()
-
-
Method Details
-
suggest
Description copied from interface:RelCommonExpressionSuggesterSuggests interesting expressions for the specified input expression and context.- Specified by:
suggestin interfaceRelCommonExpressionSuggester- 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
-