public class DGExpander extends Object implements IAccessPathExpander<ISPO>
Modifier and Type | Field and Description |
---|---|
protected static org.apache.log4j.Logger |
log |
Constructor and Description |
---|
DGExpander(int maxParallel,
Collection<IV> graphs,
long estimatedRangeCount) |
Modifier and Type | Method and Description |
---|---|
boolean |
backchain()
Add the backchainer on top of the expander.
|
IAccessPath<ISPO> |
getAccessPath(IAccessPath<ISPO> accessPath)
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.
|
String |
toString() |
public DGExpander(int maxParallel, Collection<IV> graphs, long estimatedRangeCount)
maxParallel
- graphs
- A dense ordered array of IV
s.estimatedRangeCount
- The estimated range count for the subquery operation across
those graphs.public boolean backchain()
IAccessPathExpander
backchain
in interface IAccessPathExpander<ISPO>
public boolean runFirst()
IAccessPathExpander
runFirst
in interface IAccessPathExpander<ISPO>
public IAccessPath<ISPO> getAccessPath(IAccessPath<ISPO> accessPath)
IAccessPathExpander
IAccessPath
that will be used to evaluate the
IPredicate
.getAccessPath
in interface IAccessPathExpander<ISPO>
accessPath
- 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
.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.