public enum QueryHintScope extends Enum<QueryHintScope>
URI for each
scope is plus the name of the enumeration
value. For example, http://www.bigdata.com/queryHints#Group
would apply to the entire group in which that query hint was found.QueryHints,
ASTQueryHintOptimizer| Enum Constant and Description |
|---|
Group
The group in which the query hint appears and any direct non-group
children within that group.
|
GroupAndSubGroups
The group in which the query hint appears and any children of that group.
|
Prior
The query hint binds on the previous non-query hint AST node which is not
itself a query hint.
|
Query
The entire query.
|
SubQuery
The query or subquery in which the query hint appears (any of the
QueryBase instances). |
| Modifier and Type | Method and Description |
|---|---|
org.openrdf.model.URI |
getURI() |
static QueryHintScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryHintScope |
valueOf(org.openrdf.model.URI uri) |
static QueryHintScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryHintScope Query
public static final QueryHintScope SubQuery
QueryBase instances).QueryRoot,
SubqueryRoot,
NamedSubqueryRootpublic static final QueryHintScope Group
public static final QueryHintScope GroupAndSubGroups
ServiceNodes or
SubqueryRoots.public static final QueryHintScope Prior
StatementPatternNode, a JoinGroupNode, a
UnionNode, a ServiceNode, etc. This DOES NOT bind the
query hint on the children of that AST node.public static QueryHintScope[] values()
for (QueryHintScope c : QueryHintScope.values()) System.out.println(c);
public static QueryHintScope valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic org.openrdf.model.URI getURI()
public static QueryHintScope valueOf(org.openrdf.model.URI uri)
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.