public abstract class AbstractJoinGroupOptimizer extends Object implements IASTOptimizer
Modifier | Constructor and Description |
---|---|
|
AbstractJoinGroupOptimizer() |
protected |
AbstractJoinGroupOptimizer(boolean childFirst,
boolean optimizeServiceNodes) |
Modifier and Type | Method and Description |
---|---|
QueryNodeWithBindingSet |
optimize(AST2BOpContext context,
QueryNodeWithBindingSet input)
Top-level optimize method.
|
protected abstract void |
optimizeJoinGroup(AST2BOpContext ctx,
StaticAnalysis sa,
IBindingSet[] bSets,
JoinGroupNode op)
Subclasses can do the work of optimizing a join group here.
|
public AbstractJoinGroupOptimizer()
protected AbstractJoinGroupOptimizer(boolean childFirst, boolean optimizeServiceNodes)
public QueryNodeWithBindingSet optimize(AST2BOpContext context, QueryNodeWithBindingSet input)
GraphPatternGroup
nodes (where clause, named subqueries) and
delegate to the
#optimize(AST2BOpContext, StaticAnalysis, GraphPatternGroup)
method.optimize
in interface IASTOptimizer
context
- The evaluation context.input
- The input to the optimizer, consisting of a queryNode and
input binding set.protected abstract void optimizeJoinGroup(AST2BOpContext ctx, StaticAnalysis sa, IBindingSet[] bSets, JoinGroupNode op)
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.