public final class DefaultTableFilter extends java.lang.Object implements BeamSqlTableFilter
BeamSqlTableFilter
interface. Assumes that predicate
push-down is not supported.Constructor and Description |
---|
DefaultTableFilter(java.util.List<org.apache.beam.vendor.calcite.v1_26_0.org.apache.calcite.rex.RexNode> filters) |
Modifier and Type | Method and Description |
---|---|
java.util.List<org.apache.beam.vendor.calcite.v1_26_0.org.apache.calcite.rex.RexNode> |
getNotSupported()
Since predicate push-down is assumed not to be supported by default - return an unchanged list
of filters to be preserved.
|
int |
numSupported()
This is primarily used by the cost based optimization to determine the benefit of performing
predicate push-down for an IOSourceRel.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
expressionsInFilter
public DefaultTableFilter(java.util.List<org.apache.beam.vendor.calcite.v1_26_0.org.apache.calcite.rex.RexNode> filters)
public java.util.List<org.apache.beam.vendor.calcite.v1_26_0.org.apache.calcite.rex.RexNode> getNotSupported()
getNotSupported
in interface BeamSqlTableFilter
List<RexNode>
which are not supported. To make a single RexNode
expression all of the nodes must be joined by a logical AND.public int numSupported()
BeamSqlTableFilter
numSupported
in interface BeamSqlTableFilter