本文整理了Java中org.apache.jena.query.Query.hasLimit
方法的一些代码示例,展示了Query.hasLimit
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.hasLimit
方法的具体详情如下:
包路径:org.apache.jena.query.Query
类名称:Query
方法名:hasLimit
暂无
代码示例来源:origin: apache/tinkerpop
orderingIndex.forEach((k, v) -> traversal = traversal.order().by(__.select(k), v));
if (query.hasLimit()) {
long limit = query.getLimit(), offset = 0;
代码示例来源:origin: apache/jena
@Override
public void visitLimit(Query query)
{
if ( query.hasLimit() )
{
out.print("LIMIT "+query.getLimit()) ;
out.newline() ;
}
}
代码示例来源:origin: com.github.galigator.openllet/openllet-jena
results = new SortedResultSet(results, sortConditions);
if (_query.hasOffset() || _query.hasLimit())
final long limit = _query.hasLimit() ? _query.getLimit() : Long.MAX_VALUE;
results = new SlicedResultSet(results, offset, limit);
代码示例来源:origin: Galigator/openllet
results = new SortedResultSet(results, sortConditions);
if (_query.hasOffset() || _query.hasLimit())
final long limit = _query.hasLimit() ? _query.getLimit() : Long.MAX_VALUE;
results = new SlicedResultSet(results, offset, limit);
代码示例来源:origin: Galigator/openllet
results = new SortedResultSet(results, sortConditions);
if (_query.hasOffset() || _query.hasLimit())
final long limit = _query.hasLimit() ? _query.getLimit() : Long.MAX_VALUE;
results = new SlicedResultSet(results, offset, limit);
代码示例来源:origin: apache/jena
if (!q.hasLimit() || q.getLimit() > this.maxRows) {
LOGGER.info("Enforced max rows on results by applying LIMIT {} to the query", this.maxRows);
q.setLimit(this.maxRows);
代码示例来源:origin: org.apache.jena/jena-jdbc-core
if (!q.hasLimit() || q.getLimit() > this.maxRows) {
LOGGER.info("Enforced max rows on results by applying LIMIT {} to the query", this.maxRows);
q.setLimit(this.maxRows);
代码示例来源:origin: com.marklogic/marklogic-jena
if (query.hasLimit()) {
limit = query.getLimit();
query.setLimit(Query.NOLIMIT);
代码示例来源:origin: apache/jena
if ( query.hasLimit() || query.hasOffset() )
op = new OpSlice(op, query.getOffset() /*start*/, query.getLimit()/*length*/) ;
代码示例来源:origin: rdfhdt/hdt-java
if(ag==null || !query.getHavingExprs().isEmpty() || !query.getGroupBy().isEmpty() || query.hasLimit() || query.hasOffset() || !( (ag instanceof AggCount) || (ag instanceof AggCountVar) || (ag instanceof AggCountDistinct) || (ag instanceof AggCountVarDistinct)) ) {
return null;
内容来源于网络,如有侵权,请联系作者删除!