public class PushDown extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
logger |
static Map<String,org.aksw.sparqlify.compile.sparql.ExprPusher> |
userFuncToPusher |
| Constructor and Description |
|---|
PushDown() |
| Modifier and Type | Method and Description |
|---|---|
static SqlAggregator |
_pushDownAgg(com.hp.hpl.jena.sparql.expr.aggregate.Aggregator agg) |
static SqlExprList |
extractSqlExprs(Iterable<com.hp.hpl.jena.sparql.expr.Expr> exprs)
This method returns null - unless
all of list's items are instances of ExprSqlBridges.
|
static com.hp.hpl.jena.sparql.expr.Expr |
pushDown(com.hp.hpl.jena.sparql.expr.E_IsIRI expr) |
static com.hp.hpl.jena.sparql.expr.Expr |
pushDown(com.hp.hpl.jena.sparql.expr.E_Lang expr) |
static com.hp.hpl.jena.sparql.expr.Expr |
pushDown(com.hp.hpl.jena.sparql.expr.E_NotEquals expr) |
static com.hp.hpl.jena.sparql.expr.Expr |
pushDown(com.hp.hpl.jena.sparql.expr.Expr expr) |
static com.hp.hpl.jena.sparql.expr.Expr |
pushDown(com.hp.hpl.jena.sparql.expr.ExprAggregator expr) |
static com.hp.hpl.jena.sparql.expr.Expr |
pushDown(com.hp.hpl.jena.sparql.expr.ExprFunction expr)
A new attempt on the push down:
Rather than first calling pre-push, we first descend depth first, and invoke push recursively.
|
static com.hp.hpl.jena.sparql.expr.Expr |
pushDown(ExprSqlBridge expr) |
static com.hp.hpl.jena.sparql.expr.Expr |
pushDown(com.hp.hpl.jena.sparql.expr.NodeValue expr) |
static SqlAggregatorCount |
pushDownAgg(com.hp.hpl.jena.sparql.expr.aggregate.AggCount agg) |
static com.hp.hpl.jena.sparql.expr.ExprList |
pushDownArgs(Iterable<com.hp.hpl.jena.sparql.expr.Expr> exprs) |
static com.hp.hpl.jena.sparql.expr.Expr |
pushDownE(com.hp.hpl.jena.sparql.expr.NodeValue expr) |
static com.hp.hpl.jena.sparql.expr.Expr |
pushDownMM(com.hp.hpl.jena.sparql.expr.Expr expr)
Based on a expr, creates a new expr where the nodes that could be pushed down
are replaced with ExprSqrBridge objects.
|
static com.hp.hpl.jena.sparql.expr.Expr |
pushDownOld(com.hp.hpl.jena.sparql.expr.ExprFunction expr) |
public static com.hp.hpl.jena.sparql.expr.Expr pushDownMM(com.hp.hpl.jena.sparql.expr.Expr expr)
expr - public static com.hp.hpl.jena.sparql.expr.ExprList pushDownArgs(Iterable<com.hp.hpl.jena.sparql.expr.Expr> exprs)
public static com.hp.hpl.jena.sparql.expr.Expr pushDown(com.hp.hpl.jena.sparql.expr.Expr expr)
public static com.hp.hpl.jena.sparql.expr.Expr pushDown(com.hp.hpl.jena.sparql.expr.ExprAggregator expr)
public static SqlAggregator _pushDownAgg(com.hp.hpl.jena.sparql.expr.aggregate.Aggregator agg)
public static SqlAggregatorCount pushDownAgg(com.hp.hpl.jena.sparql.expr.aggregate.AggCount agg)
public static com.hp.hpl.jena.sparql.expr.Expr pushDown(com.hp.hpl.jena.sparql.expr.E_Lang expr)
public static com.hp.hpl.jena.sparql.expr.Expr pushDown(ExprSqlBridge expr)
public static SqlExprList extractSqlExprs(Iterable<com.hp.hpl.jena.sparql.expr.Expr> exprs)
expr - public static com.hp.hpl.jena.sparql.expr.Expr pushDown(com.hp.hpl.jena.sparql.expr.NodeValue expr)
public static com.hp.hpl.jena.sparql.expr.Expr pushDownE(com.hp.hpl.jena.sparql.expr.NodeValue expr)
throws Exception
Exceptionpublic static com.hp.hpl.jena.sparql.expr.Expr pushDown(com.hp.hpl.jena.sparql.expr.ExprFunction expr)
expr - public static com.hp.hpl.jena.sparql.expr.Expr pushDownOld(com.hp.hpl.jena.sparql.expr.ExprFunction expr)
public static com.hp.hpl.jena.sparql.expr.Expr pushDown(com.hp.hpl.jena.sparql.expr.E_IsIRI expr)
public static com.hp.hpl.jena.sparql.expr.Expr pushDown(com.hp.hpl.jena.sparql.expr.E_NotEquals expr)
Copyright © 2014. All rights reserved.