com.bigdata.rdf.sail
Class Bigdata2SesameIteration<T,E extends Exception>

java.lang.Object
  extended by com.bigdata.rdf.sail.Bigdata2SesameIteration<T,E>
Type Parameters:
T - The generic type of the visited elements.
E - The generic type of the exceptions thrown by the Sesame 2 CloseableIteration.
All Implemented Interfaces:
info.aduna.iteration.CloseableIteration<T,E>, info.aduna.iteration.Iteration<T,E>

public class Bigdata2SesameIteration<T,E extends Exception>
extends Object
implements info.aduna.iteration.CloseableIteration<T,E>

Class aligns a bigdata ICloseableIterator with a Sesame 2 CloseableIteration.

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

Constructor Summary
Bigdata2SesameIteration(ICloseableIterator<? extends T> 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

Bigdata2SesameIteration

public Bigdata2SesameIteration(ICloseableIterator<? extends T> src)
Method Detail

close

public void close()
           throws E extends Exception
Specified by:
close in interface info.aduna.iteration.CloseableIteration<T,E extends Exception>
Throws:
E extends Exception

hasNext

public boolean hasNext()
                throws E extends Exception
Specified by:
hasNext in interface info.aduna.iteration.Iteration<T,E extends Exception>
Throws:
E extends Exception

next

public T next()
       throws E extends Exception
Specified by:
next in interface info.aduna.iteration.Iteration<T,E extends Exception>
Throws:
E extends Exception

remove

public void remove()
            throws E extends Exception
Specified by:
remove in interface info.aduna.iteration.Iteration<T,E extends Exception>
Throws:
E extends Exception


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