|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dvrun.rtList
public class rtList
Calls the list runtime via JNI. For the most part the methods correspond to the list_xxxx() functions in TRIMpl where xxxx is the method name. The exceptions (because of typing) are list_curr() and list_read(). They are now called currTYPE and readTYPE where currently TYPE can be Int or String.
Constructor Summary | |
---|---|
rtList(rtDV rt)
Allocate and initialize. |
Method Summary | |
---|---|
void |
close()
Close the list. |
java.lang.String |
colnam(int column)
Return column name. |
int |
cols()
Return number of columns. |
int |
colwid(int column)
Return column width. |
int |
currInt(int column)
Return data from current item (row). |
java.lang.Object |
currObj(int column)
Return data from current item (row). |
java.lang.Object[] |
currRow()
Return a row of data from current item (row). |
java.lang.String |
currString(int column)
Return data from current item (row). |
void |
dup()
Duplicate the current item (row). |
int |
eos()
Return End-Of-Scan status. |
protected void |
finalize()
|
void |
mod(int action,
java.lang.Object[] valueArray)
Modify (insert/update/delete) current row. |
void |
modcol(int column,
java.lang.Object value)
Modify a column. |
void |
more(int maxRows,
int resetFirst)
Load more data. |
int |
next()
Advance one position. |
void |
open(java.lang.String openString,
int maxRows)
Open a list. |
int |
pos()
Return current position. |
int |
prev()
Backup one position. |
int |
readInt(int column)
Return data from current item (row) and advance. |
java.lang.Object |
readObj(int column)
Return data from current item (row) and advance. |
java.lang.Object[] |
readRow()
Return a row of data from current item (row) and advance. |
java.lang.String |
readString(int column)
Return data from current item (row) and advance. |
int |
rows()
Return number of rows. |
void |
seek(int row)
Seek to a new position. |
java.lang.String |
toString()
Returns a string with some basic list information. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public rtList(rtDV rt) throws rtException
rtException
Method Detail |
---|
public void open(java.lang.String openString, int maxRows) throws rtException
rtException
public void close()
public int rows() throws rtException
rtException
public int cols() throws rtException
rtException
public int pos() throws rtException
rtException
public int eos() throws rtException
rtException
public int next() throws rtException
rtException
public int prev() throws rtException
rtException
public java.lang.String colnam(int column) throws rtException
rtException
public int colwid(int column) throws rtException
rtException
public java.lang.Object currObj(int column) throws rtException
rtException
public int currInt(int column) throws rtException
rtException
public java.lang.String currString(int column) throws rtException
rtException
public java.lang.Object[] currRow() throws rtException
rtException
public java.lang.Object readObj(int column) throws rtException
rtException
public int readInt(int column) throws rtException
rtException
public java.lang.String readString(int column) throws rtException
rtException
public java.lang.Object[] readRow() throws rtException
rtException
public void more(int maxRows, int resetFirst) throws rtException
rtException
public void seek(int row) throws rtException
rtException
public void mod(int action, java.lang.Object[] valueArray) throws rtException
rtException
public void modcol(int column, java.lang.Object value) throws rtException
rtException
public void dup() throws rtException
rtException
public java.lang.String toString()
toString
in class java.lang.Object
protected void finalize()
finalize
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |