Package | Description |
---|---|
com.bigdata.rdf.sparql.ast |
This package contains an Abstract Syntax Tree which provides an intermediate translation
target for SPARQL parsers.
|
com.bigdata.rdf.sparql.ast.eval | |
com.bigdata.rdf.sparql.ast.optimizers | |
com.bigdata.rdf.sparql.ast.service |
This package provides support for SPARQL 1.1 Federated Query, including the
special case of "service" end points which live within the same JVM and use
direct method calls rather than SPARQL Query and remote (HTTP) end points
for which we will generate an appropriate SPARQL query.
|
Modifier and Type | Class and Description |
---|---|
class |
JoinGroupNode
An optional or non-optional collection of query nodes that run together in
a group.
|
class |
PropertyPathUnionNode
This node is purely to trick the ASTJoinOrderByTypeOptimizer - we need to
keep the property path stuff in the right order, even the UNIONs.
|
class |
UnionNode
A special kind of group
IGroupNode that represents the sparql union
operator. |
Modifier and Type | Field and Description |
---|---|
GraphPatternGroup<IGroupMemberNode> |
JoinSetUtil.group
The group.
|
Modifier and Type | Method and Description |
---|---|
GraphPatternGroup<IGroupMemberNode> |
IGraphPatternContainer.getGraphPattern()
Return the graph pattern.
|
GraphPatternGroup<IGroupMemberNode> |
DeleteInsertGraph.getGraphPattern() |
GraphPatternGroup<IGroupMemberNode> |
QueryBase.getGraphPattern() |
GraphPatternGroup<IGroupMemberNode> |
SubqueryFunctionNodeBase.getGraphPattern() |
GraphPatternGroup<IGroupMemberNode> |
SubqueryBase.getParentGraphPatternGroup() |
GraphPatternGroup<IGroupMemberNode> |
IGroupMemberNode.getParentGraphPatternGroup()
Return the lowest
GraphPatternGroup which dominates this node. |
GraphPatternGroup<IGroupMemberNode> |
GroupMemberNodeBase.getParentGraphPatternGroup() |
GraphPatternGroup |
DeleteInsertGraph.getWhereClause()
Return the
GraphPatternGroup for the WHERE clause. |
GraphPatternGroup |
QueryBase.getWhereClause()
Return the
GraphPatternGroup for the WHERE clause. |
Modifier and Type | Method and Description |
---|---|
IQueryNode |
StaticAnalysis.findParent(GraphPatternGroup<?> group)
Return the parent of the
GraphPatternGroup . |
static IQueryNode |
StaticAnalysis.findParent(QueryRoot queryRoot,
GraphPatternGroup<?> group) |
static IQueryNode |
StaticAnalysis.findParent2(GraphPatternGroup<IGroupMemberNode> aGroup,
GraphPatternGroup<?> theGroup)
Search in aGroup for theGroup, peeking into
QueryBase.getWhereClause() , ServiceNode.getGraphPattern() ,
and all SubqueryFunctionNodeBase instances for any
FilterNode s. |
static IQueryNode |
StaticAnalysis.findParent2(GraphPatternGroup<IGroupMemberNode> aGroup,
GraphPatternGroup<?> theGroup)
Search in aGroup for theGroup, peeking into
QueryBase.getWhereClause() , ServiceNode.getGraphPattern() ,
and all SubqueryFunctionNodeBase instances for any
FilterNode s. |
JoinGroupNode |
StaticAnalysis.findParentJoinGroup(GraphPatternGroup<?> group)
Find and return the parent
JoinGroupNode which is the lowest such
JoinGroupNode dominating the given GraphPatternGroup . |
Set<IVariable<?>> |
StaticAnalysis.getProjectedVars(IGroupMemberNode proxy,
GraphPatternGroup<?> groupToLift,
QueryBase query,
Set<IVariable<?>> exogenousVars,
Set<IVariable<?>> projectedVars)
Return the set of variables which must be projected if the group is to be
converted into a sub-query.
|
void |
IGraphPatternContainer.setGraphPattern(GraphPatternGroup<IGroupMemberNode> graphPattern)
Set the graph pattern.
|
void |
DeleteInsertGraph.setGraphPattern(GraphPatternGroup<IGroupMemberNode> graphPattern) |
void |
QueryBase.setGraphPattern(GraphPatternGroup<IGroupMemberNode> graphPattern) |
void |
SubqueryFunctionNodeBase.setGraphPattern(GraphPatternGroup<IGroupMemberNode> graphPattern) |
void |
QueryBase.setWhereClause(GraphPatternGroup whereClause)
Set the
GraphPatternGroup for the WHERE clause. |
void |
DeleteInsertGraph.setWhereClause(GraphPatternGroup<IGroupMemberNode> whereClause)
Set the WHERE clause.
|
Constructor and Description |
---|
ExistsNode(VarNode anonvar,
GraphPatternGroup<IGroupMemberNode> graphPattern) |
GraphPatternGroup(GraphPatternGroup<E> op)
Constructor required for
com.bigdata.bop.BOpUtility#deepCopy(FilterNode) . |
JoinSetUtil(StaticAnalysis sa,
Set<IVariable<?>> knownBound,
GraphPatternGroup<IGroupMemberNode> group) |
NotExistsNode(VarNode anonvar,
GraphPatternGroup<IGroupMemberNode> graphPattern) |
SubqueryFunctionNodeBase(org.openrdf.model.URI functionURI,
VarNode anonvar,
GraphPatternGroup<IGroupMemberNode> graphPattern) |
Constructor and Description |
---|
ASTConstructIterator(AST2BOpContext context,
AbstractTripleStore tripleStore,
ConstructNode construct,
GraphPatternGroup<?> whereClause,
Map<String,BigdataBNode> bnodesIn,
info.aduna.iteration.CloseableIteration<org.openrdf.query.BindingSet,org.openrdf.query.QueryEvaluationException> src) |
Modifier and Type | Method and Description |
---|---|
protected void |
ASTPropertyPathOptimizer.addNegateds(GraphPatternGroup<? extends IGroupMemberNode> group,
ArrayList<ConstantNode> constants,
com.bigdata.rdf.sparql.ast.optimizers.ASTPropertyPathOptimizer.PropertyPathInfo ppInfo,
ArbitraryLengthPathNode alpNode,
PropertyPathNode ppNode) |
protected ExistsNode |
AbstractOptimizerTestCase.Helper.exists(VarNode v,
GraphPatternGroup<IGroupMemberNode> jg) |
protected int |
ASTPropertyPathOptimizer.getPositionOfNodeInGroup(PropertyPathNode node,
GraphPatternGroup<? extends IGroupMemberNode> group)
Returns the position in the group.
|
protected NotExistsNode |
AbstractOptimizerTestCase.Helper.notExists(VarNode v,
GraphPatternGroup<IGroupMemberNode> jg) |
protected void |
ASTPropertyPathOptimizer.optimize(AST2BOpContext ctx,
StaticAnalysis sa,
GraphPatternGroup<? extends IGroupMemberNode> group,
com.bigdata.rdf.sparql.ast.optimizers.ASTPropertyPathOptimizer.PropertyPathInfo ppInfo,
PathNode.PathAlternative pathAlt,
ArbitraryLengthPathNode alpNode,
Properties queryHints,
PropertyPathNode ppNode)
Optimize a PathAlternative using UNIONs.
|
protected void |
ASTPropertyPathOptimizer.optimize(AST2BOpContext ctx,
StaticAnalysis sa,
GraphPatternGroup<? extends IGroupMemberNode> group,
com.bigdata.rdf.sparql.ast.optimizers.ASTPropertyPathOptimizer.PropertyPathInfo ppInfo,
PathNode.PathElt pathElt,
ArbitraryLengthPathNode alpNode,
Properties queryHints,
PropertyPathNode ppNode)
Optimize a PathElt.
|
protected void |
ASTPropertyPathOptimizer.optimize(AST2BOpContext ctx,
StaticAnalysis sa,
GraphPatternGroup<? extends IGroupMemberNode> group,
com.bigdata.rdf.sparql.ast.optimizers.ASTPropertyPathOptimizer.PropertyPathInfo ppInfo,
PathNode.PathNegatedPropertySet pathNPS,
ArbitraryLengthPathNode alpNode,
PropertyPathNode ppNode)
Optimize a PathNegatedPropertySet.
|
protected void |
ASTPropertyPathOptimizer.optimize(AST2BOpContext ctx,
StaticAnalysis sa,
GraphPatternGroup<? extends IGroupMemberNode> group,
com.bigdata.rdf.sparql.ast.optimizers.ASTPropertyPathOptimizer.PropertyPathInfo ppInfo,
PathNode.PathSequence pathSeq,
ArbitraryLengthPathNode alpNode,
Properties queryHints,
PropertyPathNode ppNode)
Optimize a PathSequence.
|
protected void |
ASTPropertyPathOptimizer.optimize(AST2BOpContext ctx,
StaticAnalysis sa,
GraphPatternGroup<? extends IGroupMemberNode> group,
com.bigdata.rdf.sparql.ast.optimizers.ASTPropertyPathOptimizer.PropertyPathInfo ppInfo,
TermNode termNode,
PropertyPathNode ppNode)
Optimize a TermNode (add a statement pattern to the group).
|
protected void |
ASTPropertyPathOptimizer.optimize(AST2BOpContext ctx,
StaticAnalysis sa,
GraphPatternGroup<? extends IGroupMemberNode> group,
com.bigdata.rdf.sparql.ast.optimizers.ASTPropertyPathOptimizer.PropertyPathInfo ppInfo,
ZeroLengthPathNode zlpNode,
PropertyPathNode ppNode)
Optimize a ZeroLengthPathNode (add it to the group with the left and
right properly set).
|
protected ServiceNode |
AbstractOptimizerTestCase.Helper.service(TermNode serviceRef,
GraphPatternGroup<IGroupMemberNode> groupNode) |
Modifier and Type | Method and Description |
---|---|
GraphPatternGroup<IGroupMemberNode> |
ServiceNode.getGraphPattern() |
Modifier and Type | Method and Description |
---|---|
void |
ServiceNode.setGraphPattern(GraphPatternGroup<IGroupMemberNode> graphPattern) |
Constructor and Description |
---|
ServiceNode(TermNode serviceRef,
GraphPatternGroup<IGroupMemberNode> groupNode)
Construct a function node in the AST.
|
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.