|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bigdata.rdf.spo.NamedGraphSolutionExpander
public class NamedGraphSolutionExpander
Solution expander provides an efficient merged access path for SPARQL named graphs. The expander applies the access path to the graph associated with each specified URI, visiting the all (s,p,o,c) quads found in those graph(s).
DefaultGraphSolutionExpander
concerning scale-out joins.| Field Summary | |
|---|---|
protected static org.apache.log4j.Logger |
log
|
| Constructor Summary | |
|---|---|
NamedGraphSolutionExpander(Iterable<? extends URI> namedGraphs)
If the caller can identify that some graph URIs are not known to the database, then they may be safely removed from the namedGraphs (and query will proceed as if they had been removed). |
|
| Method Summary | |
|---|---|
boolean |
backchain()
Add the backchainer on top of the expander. |
IAccessPath<ISPO> |
getAccessPath(IAccessPath<ISPO> accessPath1)
Return the IAccessPath that will be used to evaluate the
IPredicate. |
boolean |
runFirst()
If true, the predicate for this expander will be given priority in the join order. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static transient org.apache.log4j.Logger log
| Constructor Detail |
|---|
public NamedGraphSolutionExpander(Iterable<? extends URI> namedGraphs)
namedGraphs - The set of named graphs in the SPARQL DATASET (optional). A
runtime exception will be thrown during evaluation of the if
the URIs are not BigdataURIs. If this is
null, then the set of named graphs is understood
to be ALL graphs in the quad store.| Method Detail |
|---|
public boolean backchain()
ISolutionExpander
backchain in interface ISolutionExpander<ISPO>public boolean runFirst()
ISolutionExpander
runFirst in interface ISolutionExpander<ISPO>public IAccessPath<ISPO> getAccessPath(IAccessPath<ISPO> accessPath1)
ISolutionExpanderIAccessPath that will be used to evaluate the
IPredicate.
getAccessPath in interface ISolutionExpander<ISPO>accessPath1 - The IAccessPath that will be used by default.
IAccessPath that will be used. You can return the
given accessPath or you can layer additional semantics
onto or otherwise override the given IAccessPath.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||