com.hp.hpl.jena.sparql.engine
Interface QueryIterator

All Superinterfaces:
Closeable, Iterator<Binding>, Printable, PrintSerializable
All Known Implementing Classes:
QueryIter, QueryIter1, QueryIter2, QueryIter2LoopOnLeft, QueryIterAssign, QueryIterAssignVarValue, QueryIteratorBase, QueryIteratorCaching, QueryIteratorCheck, QueryIteratorCloseable, QueryIteratorLogging, QueryIteratorResultSet, QueryIteratorTiming, QueryIteratorWrapper, QueryIterBlockTriples, QueryIterBlockTriplesQH, QueryIterCommonParent, QueryIterConcat, QueryIterConvert, QueryIterDefaulting, QueryIterDiff, QueryIterDistinct, QueryIterDistinctReduced, QueryIterDistinguishedVars, QueryIterExtendByVar, QueryIterFilterExpr, QueryIterGraph, QueryIterGroup, QueryIterJoin, QueryIterJoinBase, QueryIterLeftJoin, QueryIterMinus, QueryIterNullIterator, QueryIterOptionalIndex, QueryIterPath, QueryIterPeek, QueryIterPlainWrapper, QueryIterProcedure, QueryIterProcessBinding, QueryIterProject, QueryIterProject2, QueryIterReduced, QueryIterRepeatApply, QueryIterRoot, QueryIterService, QueryIterSingleton, QueryIterSlice, QueryIterSort, QueryIterSub, QueryIterTopN, QueryIterTracked, QueryIterTriplePattern, QueryIterUnion, QueryIterYieldN

public interface QueryIterator
extends Closeable, Iterator<Binding>, PrintSerializable

Root of query iterators in ARQ.


Method Summary
 void abort()
          Deprecated. - Use cancel() which can be called asynchronously.
 void cancel()
          Cancels the query as soon as is possible for the given iterator
 Binding nextBinding()
          Get next binding
 
Methods inherited from interface org.openjena.atlas.lib.Closeable
close
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 
Methods inherited from interface com.hp.hpl.jena.sparql.util.PrintSerializable
output, toString
 
Methods inherited from interface org.openjena.atlas.io.Printable
output
 

Method Detail

nextBinding

Binding nextBinding()
Get next binding


abort

@Deprecated
void abort()
Deprecated. - Use cancel() which can be called asynchronously.

Abort a query - may not clearup properly


cancel

void cancel()
Cancels the query as soon as is possible for the given iterator



Licenced under the Apache License, Version 2.0