本文整理了Java中org.apache.jena.query.Query.hasOffset
方法的一些代码示例,展示了Query.hasOffset
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.hasOffset
方法的具体详情如下:
包路径:org.apache.jena.query.Query
类名称:Query
方法名:hasOffset
暂无
代码示例来源:origin: apache/tinkerpop
long limit = query.getLimit(), offset = 0;
if (query.hasOffset())
offset = query.getOffset();
代码示例来源:origin: apache/jena
@Override
public void visitOffset(Query query)
{
if ( query.hasOffset() )
{
out.print("OFFSET "+query.getOffset()) ;
out.newline() ;
}
}
代码示例来源:origin: com.github.galigator.openllet/openllet-jena
results = new SortedResultSet(results, sortConditions);
if (_query.hasOffset() || _query.hasLimit())
final long offset = _query.hasOffset() ? _query.getOffset() : 0;
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 offset = _query.hasOffset() ? _query.getOffset() : 0;
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 offset = _query.hasOffset() ? _query.getOffset() : 0;
final long limit = _query.hasLimit() ? _query.getLimit() : Long.MAX_VALUE;
results = new SlicedResultSet(results, offset, limit);
代码示例来源:origin: com.marklogic/marklogic-jena
query.setLimit(Query.NOLIMIT);
if (query.hasOffset()) {
代码示例来源: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;
内容来源于网络,如有侵权,请联系作者删除!