Package | Description |
---|---|
com.bigdata.rdf.sail.sparql |
This package was imported from the
org.openrdf.query.parser.sparql
package of the openrdf distribution. |
com.bigdata.rdf.sparql | |
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 |
Modifier and Type | Method and Description |
---|---|
protected VarNode |
BigdataASTContext.createAnonVar(String varName)
Create an anonymous variable.
|
protected VarNode |
BigdataASTContext.createSidVar()
Return a new variable for a SID (Statement Identifier)
|
VarNode |
TriplePatternExprBuilder.visit(ASTBlankNodePropertyList node,
Object data) |
VarNode |
TriplePatternExprBuilder.visit(ASTCollection node,
Object data)
Handle the RDF Collection syntax.
|
VarNode |
UpdateExprBuilder.visit(ASTSolutionsRef node,
Object data)
Solution set names get modeled as variables which report
true for isSolutionSet() . |
VarNode |
BigdataASTVisitorBase.visit(ASTVar node,
Object data)
Note: openrdf uses the
BlankNodeVarProcessor create anonymous
variables from blank nodes and then flags those as anonymous variables in
this step. |
Modifier and Type | Method and Description |
---|---|
protected VarNode |
AbstractBigdataExprBuilderTestCase.makeAnon(VarNode v)
Marks the variable as anonymous.
|
protected VarNode |
AbstractBigdataExprBuilderTestCase.mockAnonVar(String varname)
Return an anonymous variable having exactly the given variable name.
|
Modifier and Type | Method and Description |
---|---|
protected VarNode |
AbstractBigdataExprBuilderTestCase.makeAnon(VarNode v)
Marks the variable as anonymous.
|
Modifier and Type | Method and Description |
---|---|
static VarNode[] |
ASTUtil.convert(IVariable[] a)
|
VarNode |
ArbitraryLengthPathNode.edgeVar()
Return the (optional) edge var.
|
static VarNode |
VarNode.freshVarNode() |
VarNode |
StatementPatternNode.getDistinctTermScanVar()
Return the variable that will be bound by the
DistinctTermAdvancer pattern. |
VarNode |
StatementPatternNode.getFastRangeCountVar()
Return the
VarNode associated with the optional
StatementPatternNode.Annotations.FAST_RANGE_COUNT_VAR property. |
VarNode[] |
NamedSubqueryInclude.getJoinVars()
The join variables to be used when the named result set is included into
the query.
|
VarNode[] |
NamedSubqueryRoot.getJoinVars()
The join variables to be used when the named result set is included into
the query.
|
VarNode |
AssignmentNode.getVarNode()
The variable onto which the assignment is bound (as a
VarNode ). |
VarNode |
StatementPatternNode.sid()
The statement identifier variable for triples which match this statement
pattern (optional).
|
VarNode |
ArbitraryLengthPathNode.tVarLeft()
Return the left transitivity var.
|
VarNode |
ArbitraryLengthPathNode.tVarRight()
Return the right transitivity var.
|
VarNode |
RangeNode.var() |
Modifier and Type | Method and Description |
---|---|
protected static Set<VarNode> |
AbstractASTEvaluationTestCase.asSet(VarNode[] a) |
Set<VarNode> |
ArbitraryLengthPathNode.dropVars()
Get the vars that should be dropped after each round.
|
Modifier and Type | Method and Description |
---|---|
void |
ArbitraryLengthPathNode.addDropVar(VarNode dropVar)
Add a var that should be dropped after each round.
|
void |
GroupByNode.addGroupByVar(VarNode var) |
void |
ProjectionNode.addProjectionVar(VarNode var)
Adds a variable to be projected.
|
protected static Set<VarNode> |
AbstractASTEvaluationTestCase.asSet(VarNode[] a) |
static IVariable[] |
ASTUtil.convert(VarNode[] a)
|
void |
StatementPatternNode.setDistinctTermScanVar(VarNode var) |
void |
ArbitraryLengthPathNode.setEdgeVar(VarNode edgeVar,
TermNode middle)
Set the edge var and middle term.
|
void |
StatementPatternNode.setFastRangeCount(VarNode var) |
void |
NamedSubqueryInclude.setJoinVars(VarNode[] joinVars)
Set the join variables.
|
void |
NamedSubqueryRoot.setJoinVars(VarNode[] joinVars)
Set the join variables.
|
void |
StatementPatternNode.setSid(VarNode sid)
Set the SID variable.
|
Modifier and Type | Method and Description |
---|---|
void |
ArbitraryLengthPathNode.setDropVars(Set<VarNode> dropVars)
Set the vars that should be dropped after each round.
|
Constructor and Description |
---|
ArbitraryLengthPathNode(TermNode left,
TermNode right,
VarNode tVarLeft,
VarNode tVarRight,
long lowerBound,
long upperBound)
Fully construct an arbitrary length path node with all required
annotations.
|
ArbitraryLengthPathNode(TermNode left,
TermNode right,
VarNode tVarLeft,
VarNode tVarRight,
PathNode.PathMod mod)
Fully construct an arbitrary length path node with all required
annotations.
|
AssignmentNode(VarNode var,
IValueExpressionNode ve) |
ExistsNode(VarNode anonvar,
GraphPatternGroup<IGroupMemberNode> graphPattern) |
NotExistsNode(VarNode anonvar,
GraphPatternGroup<IGroupMemberNode> graphPattern) |
RangeNode(VarNode var)
Set the bounds later.
|
RangeNode(VarNode var,
IValueExpressionNode from,
IValueExpressionNode to)
Set the bounds now.
|
SubqueryFunctionNodeBase(org.openrdf.model.URI functionURI,
VarNode anonvar,
GraphPatternGroup<IGroupMemberNode> graphPattern) |
VarNode(VarNode op)
Constructor required for
com.bigdata.bop.BOpUtility#deepCopy(FilterNode) . |
Modifier and Type | Method and Description |
---|---|
PipelineOp |
IExternalAST2BOp.fastRangeCountJoin(PipelineOp left,
List<NV> anns,
Predicate<?> pred,
DatasetNode dataset,
Long cutoffLimitIsIgnored,
VarNode fastRangeCountVar,
Properties queryHints,
AST2BOpContext ctx)
Use a
FastRangeCountOp . |
Modifier and Type | Method and Description |
---|---|
protected VarNode |
AbstractOptimizerTestCase.ASTPropertyPathOptimizerInTest.anonVar(String anon) |
protected VarNode |
ASTPropertyPathOptimizer.anonVar(String anon)
Override during testing to give predictable results
|
protected VarNode |
AbstractOptimizerTestCase.Helper.leftVar() |
protected VarNode |
AbstractOptimizerTestCase.Helper.rightVar() |
protected VarNode |
AbstractOptimizerTestCase.Helper.varNode(String varName) |
protected VarNode[] |
AbstractOptimizerTestCase.Helper.varNodes(String... names) |
protected VarNode |
AbstractOptimizerTestCase.Helper.wildcard() |
Modifier and Type | Method and Description |
---|---|
protected SubqueryRoot |
AbstractOptimizerTestCase.Helper.ask(VarNode varNode,
JoinGroupNode where)
Return an ASK subquery.
|
protected AssignmentNode |
AbstractOptimizerTestCase.Helper.bind(IValueExpressionNode valueNode,
VarNode varNode)
BIND(expression AS variable) |
protected FunctionNode |
AbstractOptimizerTestCase.Helper.bound(VarNode varNode) |
protected ExistsNode |
AbstractOptimizerTestCase.Helper.exists(VarNode v,
GraphPatternGroup<IGroupMemberNode> jg) |
protected AbstractOptimizerTestCase.ApplyAnnotation |
AbstractOptimizerTestCase.Helper.joinOn(VarNode... joinVars) |
protected FunctionNode |
AbstractOptimizerTestCase.Helper.knownUnbound(VarNode varNode) |
protected boolean |
ASTFastRangeCountOptimizer.markForFastRangeCount(AST2BOpContext context,
StatementPatternNode sp,
VarNode fastRangeCountVariable)
Marks the triple pattern for fast range count, if supported.
|
protected NamedSubqueryRoot |
AbstractOptimizerTestCase.Helper.namedSubQuery(String name,
VarNode varNode,
JoinGroupNode where,
AbstractOptimizerTestCase.ApplyAnnotation... annotations)
Return a named subquery.
|
protected NotExistsNode |
AbstractOptimizerTestCase.Helper.notExists(VarNode v,
GraphPatternGroup<IGroupMemberNode> jg) |
protected ProjectionNode |
AbstractOptimizerTestCase.Helper.projection(VarNode... varNodes)
Return a PROJECTION node.
|
protected QueryRoot |
AbstractOptimizerTestCase.Helper.select(VarNode[] varNodes,
JoinGroupNode where,
com.bigdata.rdf.sparql.ast.optimizers.AbstractOptimizerTestCase.HelperFlag... flags) |
protected QueryRoot |
AbstractOptimizerTestCase.Helper.select(VarNode[] varNodes,
NamedSubqueryRoot namedSubQuery,
JoinGroupNode where,
com.bigdata.rdf.sparql.ast.optimizers.AbstractOptimizerTestCase.HelperFlag... flags)
Create a top-level SELECT query.
|
protected QueryRoot |
AbstractOptimizerTestCase.Helper.select(VarNode varNode,
JoinGroupNode where,
com.bigdata.rdf.sparql.ast.optimizers.AbstractOptimizerTestCase.HelperFlag... flags) |
protected QueryRoot |
AbstractOptimizerTestCase.Helper.select(VarNode varNode,
NamedSubqueryRoot namedSubQuery,
JoinGroupNode where,
com.bigdata.rdf.sparql.ast.optimizers.AbstractOptimizerTestCase.HelperFlag... flags) |
protected IVariable<? extends IV> |
AbstractOptimizerTestCase.Helper.toValueExpression(VarNode v) |
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.