com.mysql.jdbc
Modifier and Type | Field and Description |
---|---|
(package private) ResultSetImpl |
owner |
RESULT_SET_SIZE_UNKNOWN
Constructor and Description |
---|
RowDataStatic(java.util.List<ResultSetRow> rows)
Creates a new RowDataStatic object.
|
Modifier and Type | Method and Description |
---|---|
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?
|
ResultSetImpl owner
public RowDataStatic(java.util.List<ResultSetRow> rows)
rows
- DOCUMENT ME!public void addRow(ResultSetRow row)
public void beforeFirst()
beforeFirst
in interface RowData
public void beforeLast()
beforeLast
in interface RowData
public ResultSetRow getAt(int atIndex) throws java.sql.SQLException
public int getCurrentRowNumber()
getCurrentRowNumber
in interface RowData
public ResultSetInternalMethods getOwner()
RowData
getOwner
in interface RowData
RowData.getOwner()
public boolean hasNext()
public boolean isAfterLast()
isAfterLast
in interface RowData
public boolean isBeforeFirst()
isBeforeFirst
in interface RowData
public boolean isDynamic()
public boolean isEmpty()
public boolean isFirst()
public boolean isLast()
public void moveRowRelative(int rowsToMove)
moveRowRelative
in interface RowData
rows
- DOCUMENT ME!public ResultSetRow next() throws java.sql.SQLException
public void removeRow(int atIndex)
public void setCurrentRow(int newIndex)
setCurrentRow
in interface RowData
newIndex
- DOCUMENT ME!public void setOwner(ResultSetImpl rs)
RowData
public boolean wasEmpty()
RowData
public void setMetadata(Field[] metadata)
RowData
setMetadata
in interface RowData
metadata
- field-level metadata for the result set