public class NamedSubqueryRoot extends SubqueryBase implements INamedSolutionSet
NamedSubqueryInclude,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
static interface |
NamedSubqueryRoot.Annotations |
DEFAULT_INITIAL_CAPACITY| Constructor and Description |
|---|
NamedSubqueryRoot(BOp[] args,
Map<String,Object> anns)
Shallow copy constructor.
|
NamedSubqueryRoot(NamedSubqueryRoot queryBase)
Deep copy constructor.
|
NamedSubqueryRoot(QueryType queryType,
String name) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getDependsOn()
Return the set of named solution sets on which this named subquery
depends.
|
VarNode[] |
getJoinVars()
The join variables to be used when the named result set is included into
the query.
|
String |
getName()
Return the name of the solution set.
|
void |
setDependsOn(String[] dependsOn) |
void |
setJoinVars(VarNode[] joinVars)
Set the join variables.
|
void |
setName(String name)
Set the name of the solution set.
|
String |
toString(int indent)
The contract of this method at this level is under-specified.
|
getContext, getDesiredBound, getParent, getParentGraphPatternGroup, getParentJoinGroup, getRequiredBound, setParentgetBindingsClause, getConstruct, getGraphPattern, getGroupBy, getHaving, getIncludeInferred, getOrderBy, getProjectedVars, getProjection, getQueryType, getSelectExprVars, getSlice, getTimeout, getWhereClause, hasSlice, hasWhereClause, setBindingsClause, setConstruct, setGraphPattern, setGroupBy, setHaving, setIncludeInferred, setOrderBy, setProjection, setQueryType, setSlice, setTimeout, setWhereClausegetQueryHints, toStringaddExplainHint, getExplainHints, getQueryHint, getQueryHint, getQueryHintAsBoolean, getQueryHintAsBoolean, getQueryHintAsInteger, replaceAllWith, setQueryHint, setQueryHintsaddArg, addArg, addArgIfAbsent, annotations, annotationsEqual, argIterator, args, arity, clearProperty, copyAll, get, getProperty, indexOf, removeArg, replaceWith, setArg, setArgs, setId, setProperty, setUnboundProperty, toArray, toArrayannotationsEqual, annotationsToString, annotationsToString, annotationValueToString, checkArgs, clone, equals, getEvaluationContext, getId, getProperty, getRequiredProperty, hashCode, indent, isController, mutation, shortenName, toShortStringfinalize, getClass, notify, notifyAll, wait, wait, waitannotations, argIterator, args, arity, clone, get, getEvaluationContext, getId, getProperty, getRequiredProperty, isController, setProperty, toArray, toArray, toShortString, toStringgetPropertypublic NamedSubqueryRoot(NamedSubqueryRoot queryBase)
public NamedSubqueryRoot(BOp[] args, Map<String,Object> anns)
public String getName()
INamedSolutionSetgetName in interface INamedSolutionSetpublic void setName(String name)
INamedSolutionSetsetName in interface INamedSolutionSetname - The name of the solution set.public VarNode[] getJoinVars()
public void setJoinVars(VarNode[] joinVars)
joinVars - The join variables.public final String[] getDependsOn()
Note: This is currently set by the ASTNamedSubqueryOptimizer.
However, it could also be computed dynamically by scanning for
NamedSubqueryIncludes within the WHERE clause of the named
subquery.
public final void setDependsOn(String[] dependsOn)
public String toString(int indent)
CoreBaseBOpCoreBaseBOp.toString()
Or:
- return a pretty-print representation of the object with indent
Note that the former contract may or may not include recursive descent through a tree-like
object, whereas the latter almost certainly does.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.