org.apache.jena.tdb.store.bulkloader3
Class TupleInputStream

java.lang.Object
  extended by org.apache.jena.tdb.store.bulkloader3.TupleInputStream
All Implemented Interfaces:
Iterator<Tuple<Long>>, Closeable

public class TupleInputStream
extends Object
implements Iterator<Tuple<Long>>, Closeable


Constructor Summary
TupleInputStream(InputStream in, int size)
           
 
Method Summary
 void close()
           
 boolean hasNext()
           
 Tuple<Long> next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TupleInputStream

public TupleInputStream(InputStream in,
                        int size)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<Tuple<Long>>

next

public Tuple<Long> next()
Specified by:
next in interface Iterator<Tuple<Long>>

remove

public void remove()
Specified by:
remove in interface Iterator<Tuple<Long>>

close

public void close()
Specified by:
close in interface Closeable


Licenced under the Apache License, Version 2.0