OmniSciDB
a5dc49c757
|
Classes | |
class | CompletionResult |
Public Member Functions | |
HeavyDBPlanner (FrameworkConfig config) | |
void | advanceToValidate () |
void | ready () |
CompletionResult | getCompletionHints (final String sql, final int cursor, final List< String > visibleTables) |
RelRoot | rel (SqlNode sql) |
RelRoot | getRelRoot (SqlNode sqlNode) |
RelNode | optimizeRATree (RelNode rootNode, boolean viewOptimizationEnabled, boolean foundView) |
RelRoot | buildRATreeAndPerformQueryOptimization (String query, HeavyDBSchema schema) throws IOException |
void | setFilterPushDownInfo (final List< HeavyDBParserOptions.FilterPushDownInfo > filterPushDownInfo) |
void | setRestrictions (List< Restriction > restrictions) |
Static Public Member Functions | |
static HepPlanner | getHepPlanner (HepProgram hepProgram, boolean doNotEliminateSharedNodesInQueryPlanDag) |
Package Attributes | |
FrameworkConfig | config |
Static Package Attributes | |
static final Logger | HEAVYDBLOGGER = LoggerFactory.getLogger(HeavyDBPlanner.class) |
Private Member Functions | |
CalciteCatalogReader | createCatalogReader () |
RelRoot | applyInjectFilterRule (RelRoot root, List< Restriction > restrictions) |
RelRoot | applyFilterPushdown (RelRoot root) |
RelRoot | applyOptimizationsRules (RelRoot root, ImmutableSet< RelOptRule > rules) |
Static Private Member Functions | |
static SchemaPlus | rootSchema (SchemaPlus schema) |
Private Attributes | |
List < HeavyDBParserOptions.FilterPushDownInfo > | filterPushDownInfo |
List< Restriction > | restrictions = null |
Customised version of the PlannerImpl for HEAVY.AI. Used to be a copy of PlannerImpl, refactored now to use inheritance to minimize maintenance efforts. Implementation of org.apache.calcite.tools.Planner.
Definition at line 69 of file HeavyDBPlanner.java.
|
inline |
Definition at line 76 of file HeavyDBPlanner.java.
References org.apache.calcite.prepare.HeavyDBPlanner.config.
|
inline |
Definition at line 120 of file HeavyDBPlanner.java.
|
inlineprivate |
Definition at line 265 of file HeavyDBPlanner.java.
References org.apache.calcite.prepare.HeavyDBPlanner.filterPushDownInfo, and setup.root.
Referenced by org.apache.calcite.prepare.HeavyDBPlanner.buildRATreeAndPerformQueryOptimization().
|
inlineprivate |
Definition at line 251 of file HeavyDBPlanner.java.
References org.apache.calcite.prepare.HeavyDBPlanner.restrictions.
Referenced by org.apache.calcite.prepare.HeavyDBPlanner.buildRATreeAndPerformQueryOptimization().
|
inlineprivate |
Definition at line 282 of file HeavyDBPlanner.java.
Referenced by org.apache.calcite.prepare.HeavyDBPlanner.buildRATreeAndPerformQueryOptimization().
|
inline |
Definition at line 292 of file HeavyDBPlanner.java.
References org.apache.calcite.prepare.HeavyDBPlanner.applyFilterPushdown(), org.apache.calcite.prepare.HeavyDBPlanner.applyInjectFilterRule(), org.apache.calcite.prepare.HeavyDBPlanner.applyOptimizationsRules(), org.apache.calcite.prepare.HeavyDBPlanner.createCatalogReader(), com.mapd.calcite.parser.ProjectProjectRemoveRule.INSTANCE, org.apache.calcite.prepare.HeavyDBPlanner.ready(), and org.apache.calcite.prepare.HeavyDBPlanner.restrictions.
|
inlineprivate |
Definition at line 100 of file HeavyDBPlanner.java.
References org.apache.calcite.prepare.HeavyDBPlanner.config, and org.apache.calcite.prepare.HeavyDBPlanner.rootSchema().
Referenced by org.apache.calcite.prepare.HeavyDBPlanner.buildRATreeAndPerformQueryOptimization(), and org.apache.calcite.prepare.HeavyDBPlanner.getCompletionHints().
|
inline |
Definition at line 147 of file HeavyDBPlanner.java.
References org.apache.calcite.prepare.HeavyDBPlanner.config, org.apache.calcite.prepare.HeavyDBPlanner.createCatalogReader(), and org.apache.calcite.prepare.HeavyDBPlanner.ready().
|
inlinestatic |
Definition at line 169 of file HeavyDBPlanner.java.
|
inline |
Definition at line 184 of file HeavyDBPlanner.java.
|
inline |
Definition at line 188 of file HeavyDBPlanner.java.
References org.apache.calcite.prepare.HeavyDBPlanner.filterPushDownInfo, com.mapd.calcite.parser.ProjectProjectRemoveRule.INSTANCE, and org.apache.calcite.prepare.HeavyDBPlanner.restrictions.
|
inline |
Definition at line 129 of file HeavyDBPlanner.java.
Referenced by org.apache.calcite.prepare.HeavyDBPlanner.buildRATreeAndPerformQueryOptimization(), and org.apache.calcite.prepare.HeavyDBPlanner.getCompletionHints().
|
inline |
Definition at line 180 of file HeavyDBPlanner.java.
|
inlinestaticprivate |
Definition at line 81 of file HeavyDBPlanner.java.
Referenced by org.apache.calcite.prepare.HeavyDBPlanner.createCatalogReader().
|
inline |
Definition at line 323 of file HeavyDBPlanner.java.
References org.apache.calcite.prepare.HeavyDBPlanner.filterPushDownInfo.
|
inline |
Definition at line 328 of file HeavyDBPlanner.java.
References org.apache.calcite.prepare.HeavyDBPlanner.restrictions.
|
package |
Definition at line 70 of file HeavyDBPlanner.java.
Referenced by org.apache.calcite.prepare.HeavyDBPlanner.createCatalogReader(), org.apache.calcite.prepare.HeavyDBPlanner.getCompletionHints(), and org.apache.calcite.prepare.HeavyDBPlanner.HeavyDBPlanner().
|
private |
Definition at line 71 of file HeavyDBPlanner.java.
Referenced by org.apache.calcite.prepare.HeavyDBPlanner.applyFilterPushdown(), org.apache.calcite.prepare.HeavyDBPlanner.optimizeRATree(), and org.apache.calcite.prepare.HeavyDBPlanner.setFilterPushDownInfo().
|
staticpackage |
Definition at line 74 of file HeavyDBPlanner.java.
|
private |
Definition at line 73 of file HeavyDBPlanner.java.
Referenced by org.apache.calcite.prepare.HeavyDBPlanner.applyInjectFilterRule(), org.apache.calcite.prepare.HeavyDBPlanner.buildRATreeAndPerformQueryOptimization(), org.apache.calcite.prepare.HeavyDBPlanner.optimizeRATree(), and org.apache.calcite.prepare.HeavyDBPlanner.setRestrictions().