|
||||||||||
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 RowData
public byte[][] getAt(int atIndex)
getAt
in interface RowData
atIndex
- DOCUMENT ME!
public boolean isBeforeFirst()
isBeforeFirst
in interface RowData
public void setCurrentRow(int newIndex)
setCurrentRow
in interface RowData
newIndex
- DOCUMENT ME!public void setOwner(ResultSet rs)
RowData
setOwner
in interface RowData
rs
- the result set that 'owns' this RowDataRowData.setOwner(com.mysql.jdbc.ResultSet)
public ResultSet getOwner()
RowData
getOwner
in interface RowData
RowData.getOwner()
public int getCurrentRowNumber()
getCurrentRowNumber
in interface RowData
public boolean isDynamic()
isDynamic
in interface RowData
public boolean isEmpty()
isEmpty
in interface RowData
public boolean isFirst()
isFirst
in interface RowData
public boolean isLast()
isLast
in interface RowData
public void addRow(byte[][] row)
addRow
in interface RowData
row
- DOCUMENT ME!public void afterLast()
afterLast
in interface RowData
public void beforeFirst()
beforeFirst
in interface RowData
public void beforeLast()
beforeLast
in interface RowData
public void close()
close
in interface RowData
public boolean hasNext()
hasNext
in interface RowData
public void moveRowRelative(int rows)
moveRowRelative
in interface RowData
rows
- DOCUMENT ME!public byte[][] next()
next
in interface RowData
public void removeRow(int atIndex)
removeRow
in interface RowData
atIndex
- 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 |