本文整理了Java中com.hp.hpl.jena.query.Query.isDistinct
方法的一些代码示例,展示了Query.isDistinct
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.isDistinct
方法的具体详情如下:
包路径:com.hp.hpl.jena.query.Query
类名称:Query
方法名:isDistinct
暂无
代码示例来源:origin: Quetzal-RDF/quetzal
public boolean isDistinct() {
return query.isDistinct();
}
public void setDistinct(boolean distinct) {
代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-arq
@Override
public void visitSelectResultForm(Query query1)
{
check("Not both SELECT queries", query2.isSelectType()) ;
check("DISTINCT modifier",
query1.isDistinct() == query2.isDistinct()) ;
check("SELECT *", query1.isQueryResultStar() == query2.isQueryResultStar()) ;
check("Result variables", query1.getProject(), query2.getProject() ) ;
}
代码示例来源:origin: com.hp.hpl.jena/arq
public void visitSelectResultForm(Query query1)
{
check("Not both SELECT queries", query2.isSelectType()) ;
check("DISTINCT modifier",
query1.isDistinct() == query2.isDistinct()) ;
check("SELECT *", query1.isQueryResultStar() == query2.isQueryResultStar()) ;
check("Result variables", query1.getProject(), query2.getProject() ) ;
}
代码示例来源:origin: com.github.ansell.pellet/pellet-query
return parse( triples, sparql.getResultVars(), kb, sparql.isDistinct() );
代码示例来源:origin: fr.inria.eventcloud/eventcloud-core
if (query.isDistinct()) {
atomicQuery.setDistinct(true);
代码示例来源:origin: com.hp.hpl.jena/arq
public void visitSelectResultForm(Query query)
{
out.print("SELECT ") ;
if ( query.isDistinct() )
out.print("DISTINCT ") ;
if ( query.isReduced() )
out.print("REDUCED ") ;
out.print(" ") ; //Padding
if ( query.isQueryResultStar() )
out.print("*") ;
else
appendNamedExprList(query, out, query.getProject()) ;
out.newline() ;
}
代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-arq
@Override
public void visitSelectResultForm(Query query)
{
out.print("SELECT ") ;
if ( query.isDistinct() )
out.print("DISTINCT ") ;
if ( query.isReduced() )
out.print("REDUCED ") ;
out.print(" ") ; //Padding
if ( query.isQueryResultStar() )
out.print("*") ;
else
appendNamedExprList(query, out, query.getProject()) ;
out.newline() ;
}
代码示例来源:origin: com.hp.hpl.jena/arq
if ( query.isDistinct() )
op = OpDistinct.create(op) ;
代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-arq
if ( query.isDistinct() )
op = OpDistinct.create(op) ;
内容来源于网络,如有侵权,请联系作者删除!