@Deprecated public class SqlTranslatorImpl extends Object implements SqlTranslator
| Constructor and Description |
|---|
SqlTranslatorImpl(TypeSystem datatypeSystem)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
containsTypeError(Iterable<SqlExpr> exprs)
Deprecated.
|
static List<TypeToken> |
getTypes(Collection<SqlExpr> sqlExprs)
Deprecated.
|
static boolean |
isConstantArgsOnly(com.hp.hpl.jena.sparql.expr.ExprFunction fn)
Deprecated.
|
static boolean |
isConstantsOnly(Iterable<com.hp.hpl.jena.sparql.expr.Expr> exprs)
Deprecated.
|
static boolean |
isConstantsOnlySql(Iterable<SqlExpr> exprs)
Deprecated.
|
SqlExpr |
translate(com.hp.hpl.jena.sparql.expr.ExprFunction fn,
Map<com.hp.hpl.jena.sparql.core.Var,com.hp.hpl.jena.sparql.expr.Expr> binding,
Map<String,TypeToken> typeMap)
Deprecated.
TODO How to pass the type error to SPARQL functions,
such as logical AND/OR/NOT, so they get a chance to deal with it?
Using the SPARQL level evaluator is not really possible anymore, because we already translated to the SQL level.
|
ExprSqlRewrite |
translate(com.hp.hpl.jena.sparql.expr.Expr expr,
Map<com.hp.hpl.jena.sparql.core.Var,com.hp.hpl.jena.sparql.expr.Expr> binding,
Map<String,TypeToken> typeMap)
Deprecated.
We use the same Expr object for translating expressions.
|
SqlExpr |
translate(com.hp.hpl.jena.sparql.expr.ExprVar expr,
Map<com.hp.hpl.jena.sparql.core.Var,com.hp.hpl.jena.sparql.expr.Expr> binding,
Map<String,TypeToken> typeMap)
Deprecated.
|
SqlExpr |
translate(com.hp.hpl.jena.sparql.expr.NodeValue expr)
Deprecated.
|
SqlExpr |
translateX(com.hp.hpl.jena.sparql.expr.Expr expr,
Map<com.hp.hpl.jena.sparql.core.Var,com.hp.hpl.jena.sparql.expr.Expr> binding,
Map<String,TypeToken> typeMap)
Deprecated.
|
public SqlTranslatorImpl(TypeSystem datatypeSystem)
public static List<TypeToken> getTypes(Collection<SqlExpr> sqlExprs)
public static boolean isConstantsOnly(Iterable<com.hp.hpl.jena.sparql.expr.Expr> exprs)
public static boolean isConstantArgsOnly(com.hp.hpl.jena.sparql.expr.ExprFunction fn)
public SqlExpr translate(com.hp.hpl.jena.sparql.expr.ExprFunction fn, Map<com.hp.hpl.jena.sparql.core.Var,com.hp.hpl.jena.sparql.expr.Expr> binding, Map<String,TypeToken> typeMap)
fn - binding - typeMap - public SqlExpr translate(com.hp.hpl.jena.sparql.expr.NodeValue expr)
public SqlExpr translate(com.hp.hpl.jena.sparql.expr.ExprVar expr, Map<com.hp.hpl.jena.sparql.core.Var,com.hp.hpl.jena.sparql.expr.Expr> binding, Map<String,TypeToken> typeMap)
public ExprSqlRewrite translate(com.hp.hpl.jena.sparql.expr.Expr expr, Map<com.hp.hpl.jena.sparql.core.Var,com.hp.hpl.jena.sparql.expr.Expr> binding, Map<String,TypeToken> typeMap)
SqlTranslatortranslate in interface SqlTranslatorbinding - A set of variable-expr mappings. May be null.Copyright © 2013. All Rights Reserved.