public class NamedSubqueryRoot extends SubqueryBase implements INamedSolutionSet
NamedSubqueryInclude
,
Serialized FormModifier 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, setParent
getBindingsClause, 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, setWhereClause
getQueryHints, toString
addExplainHint, getExplainHints, getQueryHint, getQueryHint, getQueryHintAsBoolean, getQueryHintAsBoolean, getQueryHintAsInteger, replaceAllWith, setQueryHint, setQueryHints
addArg, addArg, addArgIfAbsent, annotations, annotationsEqual, argIterator, args, arity, clearProperty, copyAll, get, getProperty, indexOf, removeArg, replaceWith, setArg, setArgs, setId, setProperty, setUnboundProperty, toArray, toArray
annotationsEqual, annotationsToString, annotationsToString, annotationValueToString, checkArgs, clone, equals, getEvaluationContext, getId, getProperty, getRequiredProperty, hashCode, indent, isController, mutation, shortenName, toShortString
finalize, getClass, notify, notifyAll, wait, wait, wait
annotations, argIterator, args, arity, clone, get, getEvaluationContext, getId, getProperty, getRequiredProperty, isController, setProperty, toArray, toArray, toShortString, toString
getProperty
public NamedSubqueryRoot(NamedSubqueryRoot queryBase)
public NamedSubqueryRoot(BOp[] args, Map<String,Object> anns)
public String getName()
INamedSolutionSet
getName
in interface INamedSolutionSet
public void setName(String name)
INamedSolutionSet
setName
in interface INamedSolutionSet
name
- 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
NamedSubqueryInclude
s within the WHERE clause of the named
subquery.
public final void setDependsOn(String[] dependsOn)
public String toString(int indent)
CoreBaseBOp
CoreBaseBOp.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.