Package org.apache.calcite.rel.rules
Class CalcRelSplitter.RelType
java.lang.Object
org.apache.calcite.rel.rules.CalcRelSplitter.RelType
- Enclosing class:
CalcRelSplitter
Type of relational expression. Determines which kinds of
expressions it can handle.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract booleancanImplement(RexCall call) protected abstract booleancanImplement(RexDynamicParam param) protected abstract booleancanImplement(RexFieldAccess field) protected abstract booleancanImplement(RexLiteral literal) booleancanImplement(RexNode expr, boolean condition) Returns whether thisRelTypecan implement a given expression.booleancanImplement(RexProgram program) Returns whether this tester'sRelTypecan implement a given program.protected RelNodemakeRel(RelOptCluster cluster, RelTraitSet traitSet, RelBuilder relBuilder, RelNode input, RexProgram program) protected booleantoString()
-
Constructor Details
-
RelType
-
-
Method Details
-
toString
-
canImplement
-
canImplement
-
canImplement
-
canImplement
-
supportsCondition
protected boolean supportsCondition() -
makeRel
protected RelNode makeRel(RelOptCluster cluster, RelTraitSet traitSet, RelBuilder relBuilder, RelNode input, RexProgram program) -
canImplement
Returns whether thisRelTypecan implement a given expression.- Parameters:
expr- Expressioncondition- Whether expression is a condition- Returns:
- Whether this
RelTypecan implement a given expression.
-
canImplement
Returns whether this tester'sRelTypecan implement a given program.- Parameters:
program- Program- Returns:
- Whether this tester's
RelTypecan implement a given program.
-