本文整理了Java中com.hp.hpl.jena.sparql.core.Var.canonical()
方法的一些代码示例,展示了Var.canonical()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Var.canonical()
方法的具体详情如下:
包路径:com.hp.hpl.jena.sparql.core.Var
类名称:Var
方法名:canonical
暂无
代码示例来源:origin: com.hp.hpl.jena/arq
public void add(String name, RDFNode node)
{ map.put(Var.canonical(name), node) ; }
代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-arq
public void add(String name, RDFNode node)
{ map.put(Var.canonical(name), node) ; }
代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-arq
/** Add a projection variable to a SELECT query */
public void addResultVar(String varName)
{
varName = Var.canonical(varName) ;
_addResultVar(varName) ;
}
代码示例来源:origin: com.hp.hpl.jena/arq
/** Add a projection variable to a SELECT query */
public void addResultVar(String varName)
{
varName = Var.canonical(varName) ;
_addResultVar(varName) ;
}
代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-arq
@Override
public RDFNode get(String varName) { return _get(Var.canonical(varName)) ; }
代码示例来源:origin: com.hp.hpl.jena/arq
public RDFNode get(String varName) { return _get(Var.canonical(varName)) ; }
代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-arq
@Override
public boolean contains(String varName) { return _contains(Var.canonical(varName)) ; }
代码示例来源:origin: com.hp.hpl.jena/arq
public boolean contains(String varName) { return _contains(Var.canonical(varName)) ; }
代码示例来源:origin: com.hp.hpl.jena/arq
public void addGroupBy(String varName)
{
varName = Var.canonical(varName) ;
addGroupBy(Var.alloc(varName)) ;
}
代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-arq
public void addGroupBy(String varName)
{
varName = Var.canonical(varName) ;
addGroupBy(Var.alloc(varName)) ;
}
代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-arq
/** Add a named expression to a SELECT query */
public void addResultVar(String varName, Expr expr)
{
Var var = null ;
if ( varName == null )
var = allocInternVar() ;
else
{
varName = Var.canonical(varName) ;
var = Var.alloc(varName) ;
}
_addVarExpr(projectVars, var, expr) ;
}
代码示例来源:origin: com.hp.hpl.jena/arq
/** Add a named expression to a SELECT query */
public void addResultVar(String varName, Expr expr)
{
Var var = null ;
if ( varName == null )
var = allocInternVar() ;
else
{
varName = Var.canonical(varName) ;
var = Var.alloc(varName) ;
}
_addVarExpr(projectVars, var, expr) ;
}
代码示例来源:origin: com.hp.hpl.jena/arq
public void addOrderBy(String varName, int direction)
{
varName = Var.canonical(varName) ;
SortCondition sc = new SortCondition(new ExprVar(varName), direction) ;
addOrderBy(sc) ;
}
代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-arq
public void addOrderBy(String varName, int direction)
{
varName = Var.canonical(varName) ;
SortCondition sc = new SortCondition(new ExprVar(varName), direction) ;
addOrderBy(sc) ;
}
内容来源于网络,如有侵权,请联系作者删除!