All Packages Class Hierarchy This Package Previous Next Index
Class Iterators.FileScanIterator
java.lang.Object
|
+----Iterators.FileScanIterator
- public class FileScanIterator
- extends Object
- implements Iterator
FileScanIterator returns the stream of tuples from a ASCII file
whose name is given in "fileName" and whose content is described
by the array of type descriptors "types".
-
FileScanIterator(String, TypeDesc[])
-
-
getFirst()
- getFirst should be called before getNext
-
getNext()
- getNext returns a valid tuple object or null to signal the end of
iterator
FileScanIterator
public FileScanIterator(String fileName,
TypeDesc types[]) throws IOException
getFirst
public Tuple getFirst() throws IOException
- getFirst should be called before getNext
getNext
public Tuple getNext() throws IOException
- getNext returns a valid tuple object or null to signal the end of
iterator
All Packages Class Hierarchy This Package Previous Next Index