|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.mvcsys.rsql.RsqlCursor
Offener Cursor.
Ein solches Objekt wird durchRsqlStatement.openCursor(java.lang.String, boolean)
erzeugt.
Field Summary | |
protected byte[] |
buffer
I/O-Puffer für Fetch |
protected RsqlConnection |
conn
Verbindung |
protected boolean |
declared
Ist der Cursor schon deklariert? |
protected boolean |
eof
Ist der Cursor schon am Ende? |
protected int |
fetchAhead
Puffer-Flag |
protected String |
name
Name des Cursors |
protected int |
offset
Aktueller Offset |
protected RsqlDescriptorList |
output
Output-Daten |
protected int |
rowCount
Anzahl der betroffenen Rows |
protected RsqlStatement |
statement
(SELECT-)Statement |
Method Summary | |
void |
close()
Gebe alle Resourcen frei |
boolean |
fetch()
FTECH |
void |
finalize()
Gebe alle Resourcen frei |
RsqlConnection |
getConnection()
Ermittle die Verbindung |
int |
getFetchAhead()
Ermittle das Puffer-Flag |
String |
getName()
Ermittle den Namen |
RsqlDescriptorList |
getOutput()
Ermittle die Ausgabe-Daten |
int |
getRowCount()
Ermittle den Row-Count |
protected void |
undeclare()
Undeclare, besonders nach Fehlern beim Open |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected byte[] buffer
protected RsqlConnection conn
protected boolean declared
protected boolean eof
protected int fetchAhead
protected String name
protected int offset
protected RsqlDescriptorList output
protected int rowCount
protected RsqlStatement statement
Method Detail |
public void close() throws IOException, RsqlException
public boolean fetch() throws IOException, RsqlException
public void finalize()
finalize
in class Object
public RsqlConnection getConnection()
public int getFetchAhead()
Rsql.FETCH_AHEAD
oder
Rsql.NO_FETCH_AHEAD
public String getName()
public RsqlDescriptorList getOutput()
public int getRowCount()
protected void undeclare()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |