Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods
Each row of a relation can be viewed as a node that has the column values as properties
static void
The context of this query which for example holds the PropertyResolver
for mapping properties to graph patterns.
Get the constraints that were placed on this relation
Returns the parent relation and a variable of it to which this relation connects.
org.aksw.jenax.path.core.FacetPath
org.aksw.jenax.path.core.FacetStep
The step by which this relation was reached from the parent node (null if there is no parent)
org.aksw.jenax.sparql.fragment.api.Fragment
Returns the relation on which this RelationQuery is based.
A name to use for prefixing variables of this node's relation
List <org.apache.jena.query.SortCondition>
static int
nodeFor (org.apache.jena.sparql.core.Var var)
of (Supplier <org.aksw.jenax.sparql.fragment.api.Fragment> relation)
of (org.aksw.jenax.sparql.fragment.api.Fragment relation)
of (org.apache.jena.sparql.core.Var startVar)
Create a new relation query with an empty graph pattern.
Return this relation's partitioning, null if not partitioned.
void
Declare this relation to be partitioned by the given paths.
Get the parent relation of this instance
Return each of the relation's columns as a QueryNode.
Method Details
getScopeBaseName
A name to use for prefixing variables of this node's relation
getParentNode
Returns the parent relation and a variable of it to which this relation connects.
Returns null if there is no parent
getReachingStep
org.aksw.jenax.path.core.FacetStep getReachingStep ()
The step by which this relation was reached from the parent node (null if there is no parent)
root
Get the parent relation of this instance
getSortConditions
List <org.apache.jena.query.SortCondition> getSortConditions ()
getRelation
org.aksw.jenax.sparql.fragment.api.Fragment getRelation ()
Returns the relation on which this RelationQuery is based.
getContext
The context of this query which for example holds the PropertyResolver
for mapping properties to graph patterns.
partition
Return this relation's partitioning, null if not partitioned.
getFacetConstraints
Get the constraints that were placed on this relation
partitionBy
Declare this relation to be partitioned by the given paths.
asNode
Each row of a relation can be viewed as a node that has the column values as properties
getPath
org.aksw.jenax.path.core.FacetPath getPath ()
Return the facet path.
By convention, a facet step with the targetComponent set to null refers to a relation.
The 'targetComponent' field is null for all steps
roots
Return each of the relation's columns as a QueryNode.
nodeFor
NodeQuery nodeFor (org.apache.jena.sparql.core.Var var)
of
static RelationQuery of (org.apache.jena.sparql.core.Var startVar)
Create a new relation query with an empty graph pattern. Further elements connect to the given startVar.
of
static RelationQuery of (org.aksw.jenax.sparql.fragment.api.Fragment relation)
doSort
static void doSort (RelationQuery relationQuery,
org.apache.jena.sparql.expr.Expr expr,
int sortDirection)
getSortDirection
static int getSortDirection (RelationQuery relationQuery,
org.apache.jena.sparql.expr.Expr expr)