public final class FilterPushDownSpec extends SourceAbilitySpecBase
SourceAbilitySpec that can not only serialize/deserialize the filter
to/from JSON, but also can push the filter into a SupportsFilterPushDown.| Modifier and Type | Field and Description |
|---|---|
static String |
FIELD_NAME_PREDICATES |
FIELD_NAME_PRODUCED_TYPE| Constructor and Description |
|---|
FilterPushDownSpec(List<org.apache.calcite.rex.RexNode> predicates) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(org.apache.flink.table.connector.source.DynamicTableSource tableSource,
SourceAbilityContext context)
Apply the ability to the given
DynamicTableSource. |
static org.apache.flink.table.connector.source.abilities.SupportsFilterPushDown.Result |
apply(List<org.apache.calcite.rex.RexNode> predicates,
org.apache.flink.table.connector.source.DynamicTableSource tableSource,
SourceAbilityContext context) |
boolean |
equals(Object o) |
String |
getDigests(SourceAbilityContext context)
Additional digests to generate when this spec is applied to the source.
|
int |
hashCode() |
getProducedTypepublic static final String FIELD_NAME_PREDICATES
public FilterPushDownSpec(List<org.apache.calcite.rex.RexNode> predicates)
public void apply(org.apache.flink.table.connector.source.DynamicTableSource tableSource,
SourceAbilityContext context)
SourceAbilitySpecDynamicTableSource.public static org.apache.flink.table.connector.source.abilities.SupportsFilterPushDown.Result apply(List<org.apache.calcite.rex.RexNode> predicates, org.apache.flink.table.connector.source.DynamicTableSource tableSource, SourceAbilityContext context)
public String getDigests(SourceAbilityContext context)
SourceAbilitySpeccontext - The context about the source.public boolean equals(Object o)
equals in class SourceAbilitySpecBasepublic int hashCode()
hashCode in class SourceAbilitySpecBaseCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.