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.
|
Constructor and Description |
---|
GroupNodeVarBindingInfo(IGroupMemberNode node,
StaticAnalysis sa,
ASTJoinGroupFilterExistsInfo fExInfo)
Constructor
|
GroupNodeVarBindingInfoMap(Iterable<IGroupMemberNode> nodes,
StaticAnalysis sa,
ASTJoinGroupFilterExistsInfo fExInfo)
Constructor, setting up an object given a list of
IGroupMemberNode
objects and the associated StaticAnalysis object as input. |
JoinSetUtil(StaticAnalysis sa,
Set<IVariable<?>> knownBound,
GraphPatternGroup<IGroupMemberNode> group) |
Modifier and Type | Method and Description |
---|---|
protected void |
ASTSearchInSearchOptimizer.optimize(AST2BOpContext ctx,
StaticAnalysis sa,
JoinGroupNode group,
FilterNode filterNode)
Optimize a single FilterNode.
|
protected void |
ASTSearchInSearchOptimizer.optimizeJoinGroup(AST2BOpContext ctx,
StaticAnalysis sa,
IBindingSet[] bSets,
JoinGroupNode group)
Optimize the join group.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ASTFilterNormalizationOptimizer.normalizeAndDecomposeFilters(AST2BOpContext ctx,
StaticAnalysis sa,
IBindingSet[] bSets,
JoinGroupNode group)
Bring all FILTERs into CNF and split them at top-level to contain
simpler FILTER expressions.
|
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 void |
ASTPropertyPathOptimizer.optimize(AST2BOpContext ctx,
StaticAnalysis sa,
JoinGroupNode group,
PropertyPathNode ppNode,
ArbitraryLengthPathNode alpNode)
Optimize a single PropertyPathNode.
|
protected void |
ASTCardinalityOptimizer.optimizeJoinGroup(AST2BOpContext ctx,
StaticAnalysis sa,
IBindingSet[] bSets,
JoinGroupNode group)
Calculate the estimated cardinality of a join group.
|
protected void |
ASTRangeCountOptimizer.optimizeJoinGroup(AST2BOpContext ctx,
StaticAnalysis sa,
IBindingSet[] bSets,
JoinGroupNode group)
Optimize the join group.
|
protected void |
ASTALPServiceOptimizer.optimizeJoinGroup(AST2BOpContext ctx,
StaticAnalysis sa,
IBindingSet[] bSets,
JoinGroupNode group)
Optimize the join group.
|
protected void |
ASTJoinGroupOrderOptimizer.optimizeJoinGroup(AST2BOpContext ctx,
StaticAnalysis sa,
IBindingSet[] bSets,
JoinGroupNode joinGroup) |
protected void |
ASTPropertyPathOptimizer.optimizeJoinGroup(AST2BOpContext ctx,
StaticAnalysis sa,
IBindingSet[] bSets,
JoinGroupNode group)
Optimize the join group.
|
protected void |
ASTRangeOptimizer.optimizeJoinGroup(AST2BOpContext ctx,
StaticAnalysis sa,
IBindingSet[] bSets,
JoinGroupNode group)
Optimize the join group, attach range nodes.
|
protected abstract void |
AbstractJoinGroupOptimizer.optimizeJoinGroup(AST2BOpContext ctx,
StaticAnalysis sa,
IBindingSet[] bSets,
JoinGroupNode op)
Subclasses can do the work of optimizing a join group here.
|
protected void |
ASTJoinOrderByTypeOptimizer.optimizeJoinGroup(AST2BOpContext ctx,
StaticAnalysis sa,
IBindingSet[] bSets,
JoinGroupNode joinGroup)
Deprecated.
Get the group member nodes into the right order:
|
protected void |
ASTFilterNormalizationOptimizer.optimizeJoinGroup(AST2BOpContext ctx,
StaticAnalysis sa,
IBindingSet[] bSets,
JoinGroupNode group) |
protected void |
ASTFilterNormalizationOptimizer.removeDuplicatesAndTautologies(AST2BOpContext ctx,
StaticAnalysis sa,
IBindingSet[] bSets,
JoinGroupNode group)
Remove duplicate FILTERs and tautologies
|
Modifier and Type | Method and Description |
---|---|
Set<IVariable<?>> |
ServiceNode.getDesiredBound(StaticAnalysis sa) |
Set<IVariable<?>> |
ServiceNode.getRequiredBound(StaticAnalysis sa) |
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.