|
|||||||||
| Home >> All >> com >> mysql >> [ jdbc overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.mysql.jdbc
Class RowDataStatic

java.lang.Objectcom.mysql.jdbc.RowDataStatic
- All Implemented Interfaces:
- RowData
- public class RowDataStatic
- extends java.lang.Object
- implements RowData
- extends java.lang.Object
Represents an in-memory result set
- Version:
- $Id: RowDataStatic.java,v 1.10.2.5 2004/08/09 22:15:12 mmatthew Exp $
| Field Summary | |
private int |
index
|
private ResultSet |
owner
|
private java.util.List |
rows
|
| 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 |
| Field Detail |
rows
private java.util.List rows
index
private int index
owner
private ResultSet owner
| Constructor Detail |
RowDataStatic
public RowDataStatic(java.util.ArrayList rows)
- Creates a new RowDataStatic object.
| Method Detail |
isAfterLast
public boolean isAfterLast()
- Returns true if we got the last element.
- Specified by:
isAfterLastin interfaceRowData
getAt
public byte[][] getAt(int atIndex)
isBeforeFirst
public boolean isBeforeFirst()
- Returns if iteration has not occured yet.
- Specified by:
isBeforeFirstin interfaceRowData
setCurrentRow
public void setCurrentRow(int newIndex)
- DOCUMENT ME!
- Specified by:
setCurrentRowin interfaceRowData
setOwner
public void setOwner(ResultSet rs)
- Description copied from interface:
RowData - Set the result set that 'owns' this RowData
getOwner
public ResultSet getOwner()
- Description copied from interface:
RowData - Returns the result set that 'owns' this RowData
getCurrentRowNumber
public int getCurrentRowNumber()
- DOCUMENT ME!
- Specified by:
getCurrentRowNumberin interfaceRowData
isDynamic
public boolean isDynamic()
isEmpty
public boolean isEmpty()
isFirst
public boolean isFirst()
isLast
public boolean isLast()
addRow
public void addRow(byte[][] row)
afterLast
public void afterLast()
beforeFirst
public void beforeFirst()
- Moves to before first.
- Specified by:
beforeFirstin interfaceRowData
beforeLast
public void beforeLast()
- DOCUMENT ME!
- Specified by:
beforeLastin interfaceRowData
close
public void close()
hasNext
public boolean hasNext()
moveRowRelative
public void moveRowRelative(int rows)
- DOCUMENT ME!
- Specified by:
moveRowRelativein interfaceRowData
next
public byte[][] next()
removeRow
public void removeRow(int atIndex)
size
public int size()
|
|||||||||
| Home >> All >> com >> mysql >> [ jdbc overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.mysql.jdbc.RowDataStatic