本文整理了Java中org.apache.jena.query.Query.setReduced
方法的一些代码示例,展示了Query.setReduced
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.setReduced
方法的具体详情如下:
包路径:org.apache.jena.query.Query
类名称:Query
方法名:setReduced
暂无
代码示例来源:origin: apache/jena
/**
* Set the reduced flag. Set or unset the reduced flag. Will set the reduced
* flag if it was previously set.
*
* @param state
* the state to set the reduced flag to.
*/
public void setReduced(boolean state) {
query.setReduced(state);
if (state) {
query.setDistinct(false);
}
}
代码示例来源:origin: apache/jena
/**
* Set the distinct flag. Set or unset the distinct flag. Will set the
* reduced flag if it was previously set.
*
* @param state
* the state to set the distinct flag to.
*/
public void setDistinct(boolean state) {
query.setDistinct(state);
if (state) {
query.setReduced(false);
}
}
代码示例来源:origin: org.apache.jena/jena-querybuilder
/**
* Set the distinct flag. Set or unset the distinct flag. Will set the
* reduced flag if it was previously set.
*
* @param state
* the state to set the distinct flag to.
*/
public void setDistinct(boolean state) {
query.setDistinct(state);
if (state) {
query.setReduced(false);
}
}
代码示例来源:origin: org.apache.jena/jena-querybuilder
/**
* Set the reduced flag. Set or unset the reduced flag. Will set the reduced
* flag if it was previously set.
*
* @param state
* the state to set the reduced flag to.
*/
public void setReduced(boolean state) {
query.setReduced(state);
if (state) {
query.setDistinct(false);
}
}
代码示例来源:origin: SmartDataAnalytics/jena-sparql-api
@Override
public void visit(OpReduced opReduced)
{
query.setReduced(true) ;
opReduced.getSubOp().visit(this) ;
}
代码示例来源:origin: com.github.galigator.openllet/openllet-jena
q.setReduced( true );
代码示例来源:origin: Galigator/openllet
q.setReduced( true );
代码示例来源:origin: apache/jena
query.setDistinct(true) ;
if ( level.opReduced != null )
query.setReduced(true) ;
代码示例来源:origin: apache/jena
case REDUCED:
jj_consume_token(REDUCED);
getQuery().setReduced(true);
break;
default:
代码示例来源:origin: apache/jena
case REDUCED:
jj_consume_token(REDUCED);
getQuery().setReduced(true);
break;
default:
代码示例来源:origin: apache/jena
case REDUCED:
jj_consume_token(REDUCED);
getQuery().setReduced(true);
break;
default:
内容来源于网络,如有侵权,请联系作者删除!