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 |
description, operands| Modifier | Constructor and Description |
|---|---|
protected |
FilterTableScanRule(RelOptRuleOperand operand,
String description)
Creates a FilterTableRule.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
apply(RelOptRuleCall call,
Filter filter,
TableScan scan) |
any, convert, convert, convertList, equals, equals, getOperand, getOperands, getOutConvention, getOutTrait, hashCode, matches, none, onMatch, operand, operand, operand, operand, operand, some, toString, unorderedpublic static final com.google.common.base.Predicate<TableScan> PREDICATE
public static final FilterTableScanRule INSTANCE
public static final FilterTableScanRule INTERPRETER
protected FilterTableScanRule(RelOptRuleOperand operand, String description)
protected void apply(RelOptRuleCall call, Filter filter, TableScan scan)
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.