public abstract class FilterTableScanRule extends RelOptRule
Filter
on a TableScan
of a FilterableTable
or a ProjectableFilterableTable
to a Bindables.BindableTableScan
.
The INTERPRETER
variant allows an intervening
EnumerableInterpreter
.
ProjectTableScanRule
Modifier and Type | Field and Description |
---|---|
static FilterTableScanRule |
INSTANCE
Rule that matches Filter on TableScan.
|
static FilterTableScanRule |
INTERPRETER
Rule that matches Filter on EnumerableInterpreter on TableScan.
|
static com.google.common.base.Predicate<TableScan> |
PREDICATE
Deprecated.
|
description, operands, relBuilderFactory
Modifier | Constructor and Description |
---|---|
protected |
FilterTableScanRule(RelOptRuleOperand operand,
RelBuilderFactory relBuilderFactory,
java.lang.String description)
Creates a FilterTableScanRule.
|
protected |
FilterTableScanRule(RelOptRuleOperand operand,
java.lang.String description)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
apply(RelOptRuleCall call,
Filter filter,
TableScan scan) |
static boolean |
test(TableScan scan) |
any, convert, convert, convertList, convertOperand, convertOperand, equals, equals, getOperand, getOperands, getOutConvention, getOutTrait, hashCode, matches, none, onMatch, operand, operand, operand, operand, operand, operandJ, operandJ, some, toString, unordered
@Deprecated public static final com.google.common.base.Predicate<TableScan> PREDICATE
public static final FilterTableScanRule INSTANCE
public static final FilterTableScanRule INTERPRETER
@Deprecated protected FilterTableScanRule(RelOptRuleOperand operand, java.lang.String description)
protected FilterTableScanRule(RelOptRuleOperand operand, RelBuilderFactory relBuilderFactory, java.lang.String description)
public static boolean test(TableScan scan)
protected void apply(RelOptRuleCall call, Filter filter, TableScan scan)
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.