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
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract boolean
canImplement
(RexCall call) protected abstract boolean
canImplement
(RexDynamicParam param) protected abstract boolean
canImplement
(RexFieldAccess field) protected abstract boolean
canImplement
(RexLiteral literal) boolean
canImplement
(RexNode expr, boolean condition) Returns whether thisRelType
can implement a given expression.boolean
canImplement
(RexProgram program) Returns whether this tester'sRelType
can implement a given program.protected RelNode
makeRel
(RelOptCluster cluster, RelTraitSet traitSet, RelBuilder relBuilder, RelNode input, RexProgram program) protected boolean
toString()
-
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 thisRelType
can implement a given expression.- Parameters:
expr
- Expressioncondition
- Whether expression is a condition- Returns:
- Whether this
RelType
can implement a given expression.
-
canImplement
Returns whether this tester'sRelType
can implement a given program.- Parameters:
program
- Program- Returns:
- Whether this tester's
RelType
can implement a given program.
-