|
MySQL Connector/J size='-1'>5.1.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mysql.jdbc.RowDataStatic
public class 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.List rows)
Creates a new RowDataStatic object. |
|
| Method Summary | |
|---|---|
void |
addRow(ResultSetRow row)
DOCUMENT ME! |
void |
afterLast()
Moves to after last. |
void |
beforeFirst()
Moves to before first. |
void |
beforeLast()
DOCUMENT ME! |
void |
close()
DOCUMENT ME! |
ResultSetRow |
getAt(int atIndex)
DOCUMENT ME! |
int |
getCurrentRowNumber()
DOCUMENT ME! |
ResultSetInternalMethods |
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 rowsToMove)
DOCUMENT ME! |
ResultSetRow |
next()
DOCUMENT ME! |
void |
removeRow(int atIndex)
DOCUMENT ME! |
void |
setCurrentRow(int newIndex)
DOCUMENT ME! |
void |
setMetadata(Field[] metadata)
Sometimes the driver doesn't have metadata until after the statement has the result set in-hand (because it's cached), so it can call this to set it after the fact. |
void |
setOwner(ResultSetImpl rs)
Set the result set that 'owns' this RowData |
int |
size()
DOCUMENT ME! |
boolean |
wasEmpty()
Did this result set have no rows? |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RowDataStatic(java.util.List rows)
rows - DOCUMENT ME!| Method Detail |
|---|
public void addRow(ResultSetRow 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 RowData
public ResultSetRow getAt(int atIndex)
throws java.sql.SQLException
getAt in interface RowDataatIndex - DOCUMENT ME!
java.sql.SQLException - if a database error occurspublic int getCurrentRowNumber()
getCurrentRowNumber in interface RowDatapublic ResultSetInternalMethods getOwner()
RowData
getOwner in interface RowDataRowData.getOwner()public boolean hasNext()
hasNext in interface RowDatapublic boolean isAfterLast()
isAfterLast in interface RowDatapublic boolean isBeforeFirst()
isBeforeFirst 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 moveRowRelative(int rowsToMove)
moveRowRelative in interface RowDatarows - DOCUMENT ME!
public ResultSetRow next()
throws java.sql.SQLException
next in interface RowDatajava.sql.SQLException - if a database error occurspublic void removeRow(int atIndex)
removeRow in interface RowDataatIndex - DOCUMENT ME!public void setCurrentRow(int newIndex)
setCurrentRow in interface RowDatanewIndex - DOCUMENT ME!public void setOwner(ResultSetImpl rs)
RowData
setOwner in interface RowDatars - the result set that 'owns' this RowDatacom.mysql.jdbc.RowData#setOwner(com.mysql.jdbc.ResultSetInternalMethods)public int size()
size in interface RowDatapublic boolean wasEmpty()
RowData
wasEmpty in interface RowDatapublic void setMetadata(Field[] metadata)
RowData
setMetadata in interface RowDatametadata - field-level metadata for the result set
|
MySQL Connector/J size='-1'>5.1.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||