| Modifier | Constructor and Description |
|---|---|
private |
TableScanNode(Compiler compiler,
TableScan rel,
Enumerable<Row> enumerable) |
| Modifier and Type | Method and Description |
|---|---|
(package private) static TableScanNode |
create(Compiler compiler,
TableScan rel,
com.google.common.collect.ImmutableList<RexNode> filters,
ImmutableIntList projects)
Creates a TableScanNode.
|
private static TableScanNode |
createEnumerable(Compiler compiler,
TableScan rel,
Enumerable<Row> enumerable,
ImmutableIntList acceptedProjects,
List<RexNode> rejectedFilters,
ImmutableIntList rejectedProjects) |
private static TableScanNode |
createFilterable(Compiler compiler,
TableScan rel,
com.google.common.collect.ImmutableList<RexNode> filters,
ImmutableIntList projects,
FilterableTable filterableTable) |
private static TableScanNode |
createProjectableFilterable(Compiler compiler,
TableScan rel,
com.google.common.collect.ImmutableList<RexNode> filters,
ImmutableIntList projects,
ProjectableFilterableTable pfTable) |
private static TableScanNode |
createQueryable(Compiler compiler,
TableScan rel,
com.google.common.collect.ImmutableList<RexNode> filters,
ImmutableIntList projects,
QueryableTable queryableTable) |
private static TableScanNode |
createScannable(Compiler compiler,
TableScan rel,
com.google.common.collect.ImmutableList<RexNode> filters,
ImmutableIntList projects,
ScannableTable scannableTable) |
void |
run() |
private TableScanNode(Compiler compiler, TableScan rel, Enumerable<Row> enumerable)
static TableScanNode create(Compiler compiler, TableScan rel, com.google.common.collect.ImmutableList<RexNode> filters, ImmutableIntList projects)
Tries various table SPIs, and negotiates with the table which filters and projects it can implement. Adds to the Enumerable implementations of any filters and projects that cannot be implemented by the table.
private static TableScanNode createScannable(Compiler compiler, TableScan rel, com.google.common.collect.ImmutableList<RexNode> filters, ImmutableIntList projects, ScannableTable scannableTable)
private static TableScanNode createQueryable(Compiler compiler, TableScan rel, com.google.common.collect.ImmutableList<RexNode> filters, ImmutableIntList projects, QueryableTable queryableTable)
private static TableScanNode createFilterable(Compiler compiler, TableScan rel, com.google.common.collect.ImmutableList<RexNode> filters, ImmutableIntList projects, FilterableTable filterableTable)
private static TableScanNode createProjectableFilterable(Compiler compiler, TableScan rel, com.google.common.collect.ImmutableList<RexNode> filters, ImmutableIntList projects, ProjectableFilterableTable pfTable)
private static TableScanNode createEnumerable(Compiler compiler, TableScan rel, Enumerable<Row> enumerable, ImmutableIntList acceptedProjects, List<RexNode> rejectedFilters, ImmutableIntList rejectedProjects)
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.