本文整理了Java中com.hp.hpl.jena.query.Query.addOrderBy
方法的一些代码示例,展示了Query.addOrderBy
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.addOrderBy
方法的具体详情如下:
包路径:com.hp.hpl.jena.query.Query
类名称:Query
方法名:addOrderBy
暂无
代码示例来源:origin: com.hp.hpl.jena/arq
public void addOrderBy(Expr expr, int direction)
{
SortCondition sc = new SortCondition(expr, direction) ;
addOrderBy(sc) ;
}
代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-arq
public void addOrderBy(Expr expr, int direction)
{
SortCondition sc = new SortCondition(expr, direction) ;
addOrderBy(sc) ;
}
代码示例来源:origin: com.hp.hpl.jena/arq
public void addOrderBy(Node var, int direction)
{
if ( ! var.isVariable() )
throw new QueryException("Not a variable: "+var) ;
SortCondition sc = new SortCondition(var, direction) ;
addOrderBy(sc) ;
}
代码示例来源:origin: com.hp.hpl.jena/arq
public void visit(OpOrder opOrder)
{
List<SortCondition> x = opOrder.getConditions() ;
for ( SortCondition sc : x )
query.addOrderBy(sc);
opOrder.getSubOp().visit(this) ;
}
代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-arq
public void addOrderBy(Node var, int direction)
{
if ( ! var.isVariable() )
throw new QueryException("Not a variable: "+var) ;
SortCondition sc = new SortCondition(var, direction) ;
addOrderBy(sc) ;
}
代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-arq
@Override
public void visit(OpOrder opOrder)
{
List<SortCondition> x = opOrder.getConditions() ;
for ( SortCondition sc : x )
query.addOrderBy(sc);
opOrder.getSubOp().visit(this) ;
}
代码示例来源: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) ;
}
代码示例来源:origin: com.github.ansell.pellet/pellet-query
q.addOrderBy( expression54, Query.ORDER_ASCENDING );
q.addOrderBy( expression55, Query.ORDER_DESCENDING );
q.addOrderBy( expression56, Query.ORDER_DEFAULT );
代码示例来源:origin: com.hp.hpl.jena/arq
getQuery().addOrderBy(expr, direction) ;
else
getQuery().addOrderBy(v, direction) ;
代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-arq
getQuery().addOrderBy(expr, direction) ;
else
getQuery().addOrderBy(v, direction) ;
代码示例来源:origin: com.hp.hpl.jena/arq
getQuery().addOrderBy(expr, direction) ;
else
getQuery().addOrderBy(v, direction) ;
代码示例来源:origin: com.hp.hpl.jena/arq
getQuery().addOrderBy(expr, direction) ;
else
getQuery().addOrderBy(v, direction) ;
代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-arq
getQuery().addOrderBy(expr, direction) ;
else
getQuery().addOrderBy(v, direction) ;
代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-arq
getQuery().addOrderBy(expr, direction) ;
else
getQuery().addOrderBy(v, direction) ;
内容来源于网络,如有侵权,请联系作者删除!