vortex.sql
Class vortexRecord

java.lang.Object
  |
  +--vortex.sql.vortexRecord

public class vortexRecord
extends java.lang.Object

Object containing the results of a select query.


Constructor Summary
vortexRecord(dbChannel db, dbCursor cur, int maxFieldSize)
          Constructor - Accepts Db Channel and Db Cursor as arguments
 
Method Summary
 dbDescriptor[] colDescriptor()
          Return reference to array of column descriptions.
 void colSeek(int col)
          Column Seek
 java.lang.Object[] getCurrentRow()
          Return the current record from the table
 int getDid()
          Get DID
 java.lang.Object getNextCol()
          Fetch the field from the table
 java.lang.Object[] getRecord()
          Fetch the next record from the table
 int numCols()
          Return number of fields in table
 boolean recordEOF()
          End of the record
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

vortexRecord

public vortexRecord(dbChannel db,
                    dbCursor cur,
                    int maxFieldSize)
Constructor - Accepts Db Channel and Db Cursor as arguments
Parameters:
db - instance of dbChannel representing the db connection.
cur - instance of dbCursor respresenting the cursor info.
Method Detail

recordEOF

public boolean recordEOF()
End of the record
Returns:
boolean of end of record

getCurrentRow

public java.lang.Object[] getCurrentRow()
Return the current record from the table
Returns:
an array of Strings representing the columns of the row.

getRecord

public java.lang.Object[] getRecord()
                             throws java.sql.SQLException
Fetch the next record from the table
Returns:
an array of Strings representing the columns of the row.

getNextCol

public java.lang.Object getNextCol()
Fetch the field from the table
Returns:
an array of Strings representing the columns of the row.

colDescriptor

public dbDescriptor[] colDescriptor()
Return reference to array of column descriptions.
Returns:
an array of dbDescriptor

numCols

public int numCols()
Return number of fields in table
Returns:
the number of columns in this data set.

colSeek

public void colSeek(int col)
Column Seek
Parameters:
col - the index of the field to be retrieved.

getDid

public int getDid()
Get DID