|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mysql.jdbc.RowDataStatic
Represents an in-memory result set
| Field Summary |
| Fields inherited from interface com.mysql.jdbc.RowData |
RESULT_SET_SIZE_UNKNOWN |
| Constructor Summary | |
RowDataStatic(java.util.ArrayList rows)
Creates a new RowDataStatic object. |
|
| Method Summary | |
void |
addRow(byte[][] row)
DOCUMENT ME! |
void |
afterLast()
Moves to after last. |
void |
beforeFirst()
Moves to before first. |
void |
beforeLast()
DOCUMENT ME! |
void |
close()
DOCUMENT ME! |
byte[][] |
getAt(int atIndex)
DOCUMENT ME! |
int |
getCurrentRowNumber()
DOCUMENT ME! |
ResultSet |
getOwner()
Returns the result set that 'owns' this RowData |
boolean |
hasNext()
DOCUMENT ME! |
boolean |
isAfterLast()
Returns true if we got the last element. |
boolean |
isBeforeFirst()
Returns if iteration has not occured yet. |
boolean |
isDynamic()
DOCUMENT ME! |
boolean |
isEmpty()
DOCUMENT ME! |
boolean |
isFirst()
DOCUMENT ME! |
boolean |
isLast()
DOCUMENT ME! |
void |
moveRowRelative(int rows)
DOCUMENT ME! |
byte[][] |
next()
DOCUMENT ME! |
void |
removeRow(int atIndex)
DOCUMENT ME! |
void |
setCurrentRow(int newIndex)
DOCUMENT ME! |
void |
setOwner(ResultSet rs)
Set the result set that 'owns' this RowData |
int |
size()
DOCUMENT ME! |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RowDataStatic(java.util.ArrayList rows)
rows - DOCUMENT ME!| Method Detail |
public boolean isAfterLast()
isAfterLast in interface RowDatapublic byte[][] getAt(int atIndex)
getAt in interface RowDataatIndex - DOCUMENT ME!
public boolean isBeforeFirst()
isBeforeFirst in interface RowDatapublic void setCurrentRow(int newIndex)
setCurrentRow in interface RowDatanewIndex - DOCUMENT ME!public void setOwner(ResultSet rs)
RowData
setOwner in interface RowDatars - the result set that 'owns' this RowDataRowData.setOwner(com.mysql.jdbc.ResultSet)public ResultSet getOwner()
RowData
getOwner in interface RowDataRowData.getOwner()public int getCurrentRowNumber()
getCurrentRowNumber in interface RowDatapublic boolean isDynamic()
isDynamic in interface RowDatapublic boolean isEmpty()
isEmpty in interface RowDatapublic boolean isFirst()
isFirst in interface RowDatapublic boolean isLast()
isLast in interface RowDatapublic void addRow(byte[][] row)
addRow in interface RowDatarow - DOCUMENT ME!public void afterLast()
afterLast in interface RowDatapublic void beforeFirst()
beforeFirst in interface RowDatapublic void beforeLast()
beforeLast in interface RowDatapublic void close()
close in interface RowDatapublic boolean hasNext()
hasNext in interface RowDatapublic void moveRowRelative(int rows)
moveRowRelative in interface RowDatarows - DOCUMENT ME!public byte[][] next()
next in interface RowDatapublic void removeRow(int atIndex)
removeRow in interface RowDataatIndex - DOCUMENT ME!public int size()
size in interface RowData
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||