public 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(DynamicTableSource tableSource,
SourceAbilityContext context)
Apply the ability to the given
DynamicTableSource . |
static SupportsFilterPushDown.Result |
apply(List<org.apache.calcite.rex.RexNode> predicates,
DynamicTableSource tableSource,
SourceAbilityContext context) |
getProducedType
public static final String FIELD_NAME_PREDICATES
public FilterPushDownSpec(List<org.apache.calcite.rex.RexNode> predicates)
public void apply(DynamicTableSource tableSource, SourceAbilityContext context)
SourceAbilitySpec
DynamicTableSource
.public static SupportsFilterPushDown.Result apply(List<org.apache.calcite.rex.RexNode> predicates, DynamicTableSource tableSource, SourceAbilityContext context)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.