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.ast |
This package contains an Abstract Syntax Tree which provides an intermediate translation
target for SPARQL parsers.
|
com.bigdata.rdf.sparql.ast.optimizers |
Modifier and Type | Method and Description |
---|---|
protected ValueExpressionNode |
ValueExprBuilder.left(SimpleNode node) |
protected ValueExpressionNode |
ValueExprBuilder.right(SimpleNode node) |
ValueExpressionNode |
BigdataExprBuilder.visit(ASTBindingValue node,
Object data) |
ValueExpressionNode |
GroupGraphPatternBuilder.visit(ASTConstraint node,
Object data)
A FILTER.
|
Modifier and Type | Class and Description |
---|---|
class |
ConstantNode
Used to represent a constant in the AST.
|
class |
DummyConstantNode
The dummy constant node is used to represent constants in the AST that do not
actually exist in the database.
|
class |
ExistsNode
A special function node for modeling EXISTS.
|
class |
FunctionNode
AST node for anything which is neither a constant nor a variable, including
math operators, string functions, etc.
|
class |
NotExistsNode
A special function node for modeling NOT EXISTS.
|
class |
SubqueryFunctionNodeBase
A special function node for modeling value expression nodes which are
evaluated against an inner graph expression, such as EXISTS and NOT EXISTS.
|
class |
TermNode
Used to represent a variable or constant in the AST (a term in a statement
pattern for example).
|
class |
VarNode
Used to represent a variable in the AST.
|
Modifier and Type | Method and Description |
---|---|
ValueExpressionNode |
RangeNode.from() |
ValueExpressionNode |
RangeNode.to() |
Modifier and Type | Method and Description |
---|---|
static FunctionNode |
FunctionNode.add(ValueExpressionNode t1,
ValueExpressionNode t2)
Return
t1 + t2 (aka ADD). |
static FunctionNode |
FunctionNode.AND(ValueExpressionNode t1,
ValueExpressionNode t2)
Return
t1 AND t2 . |
static void |
FunctionRegistry.checkArgs(ValueExpressionNode[] args,
Class... types)
Verify type constraints.
|
IValueExpression<? extends IV> |
FunctionRegistry.Factory.create(BOpContextBase context,
GlobalAnnotations globals,
Map<String,Object> scalarValues,
ValueExpressionNode... args)
Create an
IValueExpression instance. |
IValueExpression<? extends IV> |
FunctionRegistry.CompareFactory.create(BOpContextBase context,
GlobalAnnotations globals,
Map<String,Object> scalarValues,
ValueExpressionNode... args) |
IValueExpression<? extends IV> |
FunctionRegistry.SameTermFactory.create(BOpContextBase context,
GlobalAnnotations globals,
Map<String,Object> scalarValues,
ValueExpressionNode... args) |
IValueExpression<? extends IV> |
FunctionRegistry.MathFactory.create(BOpContextBase context,
GlobalAnnotations globals,
Map<String,Object> scalarValues,
ValueExpressionNode... args) |
IValueExpression<? extends IV> |
FunctionRegistry.NumericFactory.create(BOpContextBase context,
GlobalAnnotations globals,
Map<String,Object> scalarValues,
ValueExpressionNode... args) |
IValueExpression<? extends IV> |
FunctionRegistry.DigestFactory.create(BOpContextBase context,
GlobalAnnotations globals,
Map<String,Object> scalarValues,
ValueExpressionNode... args) |
IValueExpression<? extends IV> |
FunctionRegistry.DateFactory.create(BOpContextBase context,
GlobalAnnotations globals,
Map<String,Object> scalarValues,
ValueExpressionNode... args) |
IValueExpression<? extends IV> |
FunctionRegistry.CastFactory.create(BOpContextBase context,
GlobalAnnotations globals,
Map<String,Object> scalarValues,
ValueExpressionNode... args) |
IValueExpression<? extends IV> |
FunctionRegistry.GroupConcatFactory.create(BOpContextBase context,
GlobalAnnotations globals,
Map<String,Object> scalarValues,
ValueExpressionNode... args) |
IValueExpression<? extends IV> |
FunctionRegistry.InFactory.create(BOpContextBase context,
GlobalAnnotations globals,
Map<String,Object> scalarValues,
ValueExpressionNode... args) |
IValueExpression<? extends IV> |
FunctionRegistry.ExistsFactory.create(BOpContextBase context,
GlobalAnnotations globals,
Map<String,Object> scalarValues,
ValueExpressionNode... args) |
static FunctionNode |
FunctionNode.EQ(ValueExpressionNode t1,
ValueExpressionNode t2)
Return
t1 = t2 (aka EQ aka RDFTERM-EQUALS). |
static FunctionNode |
FunctionNode.GE(ValueExpressionNode t1,
ValueExpressionNode t2)
Return
t1 >= t2 |
static FunctionNode |
FunctionNode.GT(ValueExpressionNode t1,
ValueExpressionNode t2)
Return
t1 > t2 |
static FunctionNode |
FunctionNode.LE(ValueExpressionNode t1,
ValueExpressionNode t2)
Return
t1 <= t2 |
static FunctionNode |
FunctionNode.LT(ValueExpressionNode t1,
ValueExpressionNode t2)
Return
t1 < t2 |
static FunctionNode |
FunctionNode.MAX(ValueExpressionNode v1,
ValueExpressionNode v2)
Return
max(v1,v2) |
static FunctionNode |
FunctionNode.MIN(ValueExpressionNode v1,
ValueExpressionNode v2)
Return
min(v1,v2) |
static FunctionNode |
FunctionNode.NE(ValueExpressionNode t1,
ValueExpressionNode t2)
Return
t1 != t2 |
static FunctionNode |
FunctionNode.NOT(ValueExpressionNode inner)
Return
t1 OR t2 . |
static FunctionNode |
FunctionNode.OR(ValueExpressionNode t1,
ValueExpressionNode t2)
Return
t1 OR t2 . |
static FunctionNode |
FunctionNode.sameTerm(ValueExpressionNode t1,
ValueExpressionNode t2)
Return
sameTerm(t1,t2) (aka EQ). |
void |
RangeNode.setFrom(ValueExpressionNode ve) |
void |
RangeNode.setTo(ValueExpressionNode ve) |
static FunctionNode |
FunctionNode.subtract(ValueExpressionNode t1,
ValueExpressionNode t2)
Return
t1 - t2 (aka SUBTRACT). |
static IValueExpression<? extends IV> |
FunctionRegistry.toVE(BOpContextBase context,
GlobalAnnotations globals,
org.openrdf.model.URI functionURI,
Map<String,Object> scalarValues,
ValueExpressionNode... args)
Convert a
FunctionNode into an IValueExpression . |
Constructor and Description |
---|
FunctionNode(org.openrdf.model.URI functionURI,
Map<String,Object> scalarValues,
ValueExpressionNode... args)
Construct a function node in the AST.
|
ValueExpressionNode(ValueExpressionNode op)
Constructor required for
com.bigdata.bop.BOpUtility#deepCopy(FilterNode) . |
Modifier and Type | Method and Description |
---|---|
protected IValueExpressionNode |
AbstractOptimizerTestCase.Helper.functionNode(String uri,
ValueExpressionNode... args)
Return a
FunctionNode |
protected IValueExpressionNode |
AbstractOptimizerTestCase.Helper.functionNode(org.openrdf.model.URI uri,
ValueExpressionNode... args)
Return a
FunctionNode |
protected FunctionNode |
AbstractOptimizerTestCase.Helper.or(ValueExpressionNode v1,
ValueExpressionNode v2)
Logical OR of two value expressions.
|
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.