public class ASTNamedSubqueryOptimizer extends Object implements IASTOptimizer
NamedSubqueryRoot
,
NamedSubqueryInclude
Constructor and Description |
---|
ASTNamedSubqueryOptimizer() |
Modifier and Type | Method and Description |
---|---|
QueryNodeWithBindingSet |
optimize(AST2BOpContext context,
QueryNodeWithBindingSet input)
Optimize the AST.
|
public QueryNodeWithBindingSet optimize(AST2BOpContext context, QueryNodeWithBindingSet input)
IASTOptimizer
optimize
in interface IASTOptimizer
context
- The evaluation context.input
- The input to the optimizer, consisting of a queryNode and
input binding set.RuntimeException
- if there is an NamedSubqueryInclude
for a named
solution set which is not generated by the query.RuntimeException
- if there is an NamedSubqueryRoot
for a named solution
set which is not consumed by the query.RuntimeException
- if there is more than one NamedSubqueryRoot
for a
given named solution set.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.