public class ASTWildcardProjectionOptimizer extends Object implements IASTOptimizer
ProjectionNode
with a wild card into the set of
variables visible to the QueryBase
having that projection. This is
done first for the NamedSubqueriesNode
and then depth-first for the
WHERE clause. Only variables projected by a subquery will be projected by the
parent query.Constructor and Description |
---|
ASTWildcardProjectionOptimizer() |
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.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.