public abstract static class CalcRelSplitter.RelType
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
RelType(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
canImplement(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rex.RexCall call) |
protected abstract boolean |
canImplement(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rex.RexDynamicParam param) |
protected abstract boolean |
canImplement(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rex.RexFieldAccess field) |
protected abstract boolean |
canImplement(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rex.RexLiteral literal) |
boolean |
canImplement(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rex.RexNode expr,
boolean condition)
Returns whether this
RelType can implement a given expression. |
boolean |
canImplement(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rex.RexProgram program)
Returns whether this tester's
RelType can implement a given program. |
protected org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.RelNode |
makeRel(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelOptCluster cluster,
org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelTraitSet traitSet,
org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.tools.RelBuilder relBuilder,
org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.RelNode input,
org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rex.RexProgram program) |
protected boolean |
supportsCondition() |
java.lang.String |
toString() |
public java.lang.String toString()
toString
in class java.lang.Object
protected abstract boolean canImplement(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rex.RexFieldAccess field)
protected abstract boolean canImplement(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rex.RexDynamicParam param)
protected abstract boolean canImplement(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rex.RexLiteral literal)
protected abstract boolean canImplement(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rex.RexCall call)
protected boolean supportsCondition()
protected org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.RelNode makeRel(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelOptCluster cluster, org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelTraitSet traitSet, org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.tools.RelBuilder relBuilder, org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.RelNode input, org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rex.RexProgram program)
public boolean canImplement(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rex.RexNode expr, boolean condition)
RelType
can implement a given expression.expr
- Expressioncondition
- Whether expression is a conditionRelType
can implement a given expression.public boolean canImplement(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rex.RexProgram program)
RelType
can implement a given program.program
- ProgramRelType
can implement a given program.