public abstract class SubqueryBase extends QueryBase implements IGroupMemberNode
QueryBase.AnnotationsIQueryNode.AnnotationsDEFAULT_INITIAL_CAPACITY| Constructor and Description |
|---|
SubqueryBase(BOp[] args,
Map<String,Object> anns)
Shallow copy constructor.
|
SubqueryBase(QueryType queryType) |
SubqueryBase(SubqueryBase queryBase)
Deep copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
TermNode |
getContext()
Return the context for the group graph pattern dominating this node.
|
Set<IVariable<?>> |
getDesiredBound(StaticAnalysis sa)
Get variables that are not required to be bound, but desired in the
sense that we want them to be bound when evaluating the construct.
|
IGroupNode<IGroupMemberNode> |
getParent()
Return the group to which this node belongs.
|
GraphPatternGroup<IGroupMemberNode> |
getParentGraphPatternGroup()
Return the lowest
GraphPatternGroup which dominates this node. |
JoinGroupNode |
getParentJoinGroup()
Return the lowest
JoinGroupNode which dominates this node. |
Set<IVariable<?>> |
getRequiredBound(StaticAnalysis sa)
Return the variables used in the node that *must* be bound prior to
evaluating the node.
|
void |
setParent(IGroupNode<IGroupMemberNode> parent)
Set the group to which this bindings producer node belongs.
|
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, toStringgetQueryHints, 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, waittoStringannotations, argIterator, args, arity, clone, get, getEvaluationContext, getId, getProperty, getRequiredProperty, isController, setProperty, toArray, toArray, toShortString, toStringgetPropertypublic SubqueryBase(SubqueryBase queryBase)
public SubqueryBase(QueryType queryType)
public final IGroupNode<IGroupMemberNode> getParent()
IGroupMemberNodegetParent in interface IGroupMemberNodepublic final void setParent(IGroupNode<IGroupMemberNode> parent)
IGroupMemberNodesetParent in interface IGroupMemberNodepublic TermNode getContext()
IGroupMemberNodegetContext in interface IGroupMemberNodenull if there is no graph pattern
dominating this node.public JoinGroupNode getParentJoinGroup()
IGroupMemberNodeJoinGroupNode which dominates this node. Note
that some kinds of IGroupMemberNodes do not appear within a
JoinGroupNode context. For example, NamedSubqueryRoot and
ConstructNode.getParentJoinGroup in interface IGroupMemberNodeJoinGroupNode -or- null if there is no
such parent join group.public GraphPatternGroup<IGroupMemberNode> getParentGraphPatternGroup()
IGroupMemberNodeGraphPatternGroup which dominates this node.
Note that some kinds of IGroupMemberNodes do not appear within a
GraphPatternGroup context. For example, NamedSubqueryRoot
and ConstructNode.getParentGraphPatternGroup in interface IGroupMemberNodeGraphPatternGroup -or- null if there is
no such parent group.public Set<IVariable<?>> getRequiredBound(StaticAnalysis sa)
IVariableBindingRequirementsIVariableBindingRequirements#getRequiredBound()
interface cannot be satisified, the query may still be valid and return
results (for the SPARQL 1.1 service example mentioned above, it may not,
for the FILTER it may).
The set of these variables must be disjoint from
IVariableBindingRequirements#getRequiredUnound().getRequiredBound in interface IVariableBindingRequirementspublic Set<IVariable<?>> getDesiredBound(StaticAnalysis sa)
IVariableBindingRequirementsIVariableBindingRequirements.getRequiredBound(StaticAnalysis).getDesiredBound in interface IVariableBindingRequirementsCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.