com.bigdata.rdf.sail
Class QueryEvaluationIterator<T>

java.lang.Object
  extended by com.bigdata.rdf.sail.QueryEvaluationIterator<T>
All Implemented Interfaces:
info.aduna.iteration.CloseableIteration<T,org.openrdf.query.QueryEvaluationException>, info.aduna.iteration.Iteration<T,org.openrdf.query.QueryEvaluationException>

public class QueryEvaluationIterator<T>
extends Object
implements info.aduna.iteration.CloseableIteration<T,org.openrdf.query.QueryEvaluationException>

Class exists to align exceptions thrown by Sesame 2 query evaluation with those thrown by the Sesame 2 SAIL.

Version:
$Id: QueryEvaluationIterator.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson

Constructor Summary
QueryEvaluationIterator(info.aduna.iteration.CloseableIteration<? extends T,org.openrdf.sail.SailException> src)
           
 
Method Summary
 void close()
           
 boolean hasNext()
           
 T next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryEvaluationIterator

public QueryEvaluationIterator(info.aduna.iteration.CloseableIteration<? extends T,org.openrdf.sail.SailException> src)
Method Detail

hasNext

public boolean hasNext()
                throws org.openrdf.query.QueryEvaluationException
Specified by:
hasNext in interface info.aduna.iteration.Iteration<T,org.openrdf.query.QueryEvaluationException>
Throws:
org.openrdf.query.QueryEvaluationException

next

public T next()
       throws org.openrdf.query.QueryEvaluationException
Specified by:
next in interface info.aduna.iteration.Iteration<T,org.openrdf.query.QueryEvaluationException>
Throws:
org.openrdf.query.QueryEvaluationException

remove

public void remove()
            throws org.openrdf.query.QueryEvaluationException
Specified by:
remove in interface info.aduna.iteration.Iteration<T,org.openrdf.query.QueryEvaluationException>
Throws:
org.openrdf.query.QueryEvaluationException

close

public void close()
           throws org.openrdf.query.QueryEvaluationException
Specified by:
close in interface info.aduna.iteration.CloseableIteration<T,org.openrdf.query.QueryEvaluationException>
Throws:
org.openrdf.query.QueryEvaluationException


Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.