public static interface AST2BOpBase.Annotations
IPredicate
s. Rather than attaching a named or default graph
expander, we annotate the predicate with the metadata for the access path
and then convert that annotation to the appropriate pipeline operators.Modifier and Type | Field and Description |
---|---|
static String |
AUTO_COMMIT
Boolean indicating whether the AST2BOpUpdate should autocommit.
|
static String |
COST_SCAN
The estimated cost of a SCAN + FILTER approach to a default graph or
named graph query.
|
static String |
COST_SUBQUERY
A
SubqueryCostReport on the estimated cost of a SUBQUERY
approach to a default graph or named graph query. |
static String |
DATASET
The
Dataset associated with the access path (quads mode
only). |
static boolean |
DEFAULT_QUADS |
static String |
ESTIMATED_CARDINALITY
The estimated cardinality of an access path as determined during
static query optimization.
|
static String |
NKNOWN
The #of known graphs in the
Dataset for a default graph or
named graph query. |
static String |
ORIGINAL_INDEX
The original index assigned to the access path by the static query
optimizer.
|
static String |
QUADS
Boolean flag indicates that the database is operating in quads mode.
|
static String |
SCOPE
The
StatementPattern.Scope of the access path (quads mode only). |
static String |
SIMPLE_JOIN
Boolean annotation indicates whether the generated JOIN is simple (a
single JOIN operator with optional constraints but without any
variable materialization requirements) or complex (a JOIN operator
associated with at least one constraint which requires the
materialization of variables that are not already known to be
materialized).
|
static final String QUADS
static final boolean DEFAULT_QUADS
static final String DATASET
Dataset
associated with the access path (quads mode
only). The Dataset
is only provided by openrdf when FROM or
FROM NAMED was used in the query. Otherwise the Dataset
will
be null
and is not attached as an annotation.
Note: This annotation MUST be stripped from the query plan to prevent
an attempt to serialized it for RMI in scale-out (the Dataset
is not Serializable
, can be quite large, and is captured by
other constructions in the generated query plan).
static final String SCOPE
StatementPattern.Scope
of the access path (quads mode only). In quads mode
the StatementPattern.Scope
is always provided by openrdf.StatementPattern.Scope.NAMED_CONTEXTS
,
StatementPattern.Scope.DEFAULT_CONTEXTS
static final String SIMPLE_JOIN
static final String ORIGINAL_INDEX
Note: The actual index will be chosen at runtime based on the asBound predicate. In scale-out, the binding sets are send to the node having the shard on which the asBound predicate would read. TODO It would make sense to lift this annotation into a different AST optimizer so it is always present. An optimization for index locality for as-bound evaluation depends on the presence of this annotation.
static final String ESTIMATED_CARDINALITY
Long.MAX_VALUE
if the predicate is part of an
optional join (this is used by the query optimized to order the
optional joins to the end since they can not increase the selectivity
of the query).static final String COST_SCAN
static final String COST_SUBQUERY
SubqueryCostReport
on the estimated cost of a SUBQUERY
approach to a default graph or named graph query.static final String NKNOWN
Dataset
for a default graph or
named graph query.static final String AUTO_COMMIT
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.