public static interface NamedSubqueryRoot.Annotations extends INamedSolutionSet.Annotations
Modifier and Type | Field and Description |
---|---|
static String |
DEPENDS_ON
The
String [] of the named solution sets on which this named
subquery has a dependency. |
static String |
DONE_SET
The set of variables which are known to have been materialized once
this named subquery is evaluated.
|
static String |
JOIN_VARS
A
VarNode [] specifying the join variables that will be used
when the named result set is join with the query. |
NAMED_SET
static final String DEPENDS_ON
String
[] of the named solution sets on which this named
subquery has a dependency. This is computed by the
ASTNamedSubqueryOptimizer
.static final String JOIN_VARS
VarNode
[] specifying the join variables that will be used
when the named result set is join with the query. The join variables
MUST be bound for a solution to join.
Note: This can be different for each context in the query in which a given named result set is included. When there are different join variables for different INCLUDEs, then we need to build a hash index for each set of join variable context that will be consumed within the query.
Note: If no join variables are specified, then the join will consider the N x M cross product, filtering for solutions which join. This is very expensive. Whenever possible you should identify one or more variables which must be bound for the join and specify those as the join variables.
static final String DONE_SET
NamedSubqueryRoot
is evaluated and then referenced by the
NamedSubqueryInclude
.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.