uk.ac.man.documentparser.input
Class DatabaseListIterator
java.lang.Object
uk.ac.man.documentparser.input.DatabaseListIterator
- All Implemented Interfaces:
- java.lang.Iterable<Document>, java.util.Iterator<Document>, DocumentIterator
public class DatabaseListIterator
- extends java.lang.Object
- implements DocumentIterator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rs
private java.sql.ResultSet rs
hasNext
private boolean hasNext
full
private boolean full
stmt
private java.sql.Statement stmt
myConn
private MyConnection myConn
conn
private java.sql.Connection conn
table
private java.lang.String table
id_exts_counter
private int id_exts_counter
id_exts
private java.util.List<java.lang.String> id_exts
DatabaseListIterator
public DatabaseListIterator(MyConnection myConn,
java.lang.String table,
java.util.List<java.lang.String> id_exts,
boolean full)
getDoc
private void getDoc()
skip
public void skip()
- Specified by:
skip
in interface DocumentIterator
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator<Document>
next
public Document next()
- Specified by:
next
in interface java.util.Iterator<Document>
convSource
private ExternalID.Source convSource(java.lang.String source)
convAuthors
private Author[] convAuthors(java.lang.String string)
convType
private Document.Type convType(java.lang.String type)
convTextRawType
private Document.Text_raw_type convTextRawType(java.lang.String type)
remove
public void remove()
- Specified by:
remove
in interface java.util.Iterator<Document>
iterator
public java.util.Iterator<Document> iterator()
- Specified by:
iterator
in interface java.lang.Iterable<Document>