Class DBTransform

java.lang.Object
  |
  +--DBTransform

public class DBTransform
extends java.lang.Object

DBTransform


Constructor Summary
DBTransform()
           
 
Method Summary
static java.util.Vector transform(java.lang.String fName, int nRows, int nCols, java.lang.StringBuffer output)
          transforms the database residing in the file fName into a collection of Partition objects
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBTransform

public DBTransform()
Method Detail

transform

public static java.util.Vector transform(java.lang.String fName,
                                         int nRows,
                                         int nCols,
                                         java.lang.StringBuffer output)
                                  throws java.io.IOException
transforms the database residing in the file fName into a collection of Partition objects

Parameters:
fName - name of the file containing the database
nRows - number of rows
nCols - number of columns
Returns:
a Vector containing an Integer representing the number of rows, an Integer representing the number of columns, and a number of Partition objects associated with every column in the database; throws an IOException
java.io.IOException