public class ExprIndex extends Object
| Constructor and Description |
|---|
ExprIndex() |
ExprIndex(ExprIndex parent) |
ExprIndex(ExprIndex parent,
Iterable<com.hp.hpl.jena.sparql.expr.Expr> exprs) |
ExprIndex(Set<Dnf> dnfs) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAll(Iterable<com.hp.hpl.jena.sparql.expr.Expr> exprs) |
Set<Clause> |
calcEffectiveClauses()
This method is an ugly hack right, but I don't know
where to better calculate it
|
void |
calcEffectiveClauses(List<Dnf> dnfs,
int index,
Set<Clause> blacklist,
Clause parentClause,
Set<Clause> result)
I use this method for getting constraints for finding view candidates
|
ExprIndex |
filterByVars(Set<com.hp.hpl.jena.sparql.core.Var> requiredVars) |
Set<Clause> |
getAllClausesWith(com.hp.hpl.jena.sparql.core.Var var)
Any clause containing a var means, that in order for the clause to evaluate
to true, the expression it is involved must be true.
|
Set<Clause> |
getAllSingleVarExprs(com.hp.hpl.jena.sparql.core.Var var) |
Collection<Dnf> |
getDnf() |
Set<Clause> |
getEffectiveClauses() |
void |
getEffectiveDnf(Collection<com.hp.hpl.jena.sparql.core.Var> vars) |
ExprIndex |
getParent() |
Set<com.hp.hpl.jena.sparql.core.Var> |
getVarsMentioned() |
String |
toString() |
public ExprIndex()
public ExprIndex(ExprIndex parent)
public void getEffectiveDnf(Collection<com.hp.hpl.jena.sparql.core.Var> vars)
public void calcEffectiveClauses(List<Dnf> dnfs, int index, Set<Clause> blacklist, Clause parentClause, Set<Clause> result)
dnfs - index - dnfIndex - blacklist - depth - parentClause - result - public Set<Clause> calcEffectiveClauses()
public ExprIndex getParent()
public Collection<Dnf> getDnf()
public Set<com.hp.hpl.jena.sparql.core.Var> getVarsMentioned()
public Set<Clause> getAllClausesWith(com.hp.hpl.jena.sparql.core.Var var)
var - public void addAll(Iterable<com.hp.hpl.jena.sparql.expr.Expr> exprs)
Copyright © 2014. All Rights Reserved.