unity.operators
Class TextFileScan

java.lang.Object
  extended by unity.operators.Operator
      extended by unity.operators.TextFileScan

public class TextFileScan
extends Operator


Constructor Summary
TextFileScan(java.lang.String inName, Relation r)
           
 
Method Summary
 void close()
           
 boolean hasNext()
           
 void init()
           
 Tuple next()
           
 java.lang.String toString()
           
 
Methods inherited from class unity.operators.Operator
getOutputRelation, getPageIOs, getPagesRead, getTupleIOs, getTuplesOutput, getTuplesRead, isBuffered, printTree, setOutputRelation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextFileScan

public TextFileScan(java.lang.String inName,
                    Relation r)
Method Detail

init

public void init()
          throws java.io.FileNotFoundException,
                 java.io.IOException
Specified by:
init in class Operator
Throws:
java.io.FileNotFoundException
java.io.IOException

next

public Tuple next()
           throws java.io.IOException
Specified by:
next in class Operator
Throws:
java.io.IOException

hasNext

public boolean hasNext()
                throws java.io.IOException
Overrides:
hasNext in class Operator
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Overrides:
close in class Operator
Throws:
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object