|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthep.aida.ref.sql.SQLTupleCursor
public class SQLTupleCursor
SQLTupleCursor
extends FTupleCursor
with SQL backend.
$Log: SQLTupleCursor.java,v $
Revision 1.7 2007/05/23 16:38:44 hrivnac
logical connections for Plotter; better UML
Revision 1.6 2005/09/02 14:10:31 hrivnac
moved to JAS3 0.8.2
Revision 1.5 2004/10/29 22:27:25 hrivnac
imports corrected
Revision 1.4 2004/10/12 19:26:59 hrivnac
MySQL Connector 3.0.14
Revision 1.3 2004/05/22 15:12:59 hrivnac
class id reformated
Revision 1.2 2004/05/04 08:50:33 hrivnac
can run with JAS3
Revision 1.1 2004/05/03 19:22:30 hrivnac
basic support for JAS3
Field Summary | |
---|---|
private boolean |
_closed
|
private SQLTuple |
_tuple
|
private static Logger |
log
Logging . |
Constructor Summary | |
---|---|
SQLTupleCursor(SQLTuple tuple)
Create with reference to SQLTuple . |
Method Summary | |
---|---|
void |
close()
Close this cursor. |
boolean |
next()
Step to the next row. |
int |
row()
Give the current row number |
void |
setRow(int n)
Step to a specific row. |
void |
skip(int rows)
Skips rows. |
void |
start()
Rewind the Cursor to before the first row. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private SQLTuple _tuple
private boolean _closed
private static Logger log
Constructor Detail |
---|
public SQLTupleCursor(SQLTuple tuple)
SQLTuple
.
tuple
- The SQLTuple
containing requested column.Method Detail |
---|
public int row() throws IllegalStateException
row
in interface FTupleCursor
IllegalStateException
public void start() throws IllegalStateException
start
in interface FTupleCursor
IllegalStateException
public boolean next() throws IllegalStateException
next
in interface FTupleCursor
IllegalStateException
public void skip(int rows) throws IllegalStateException
skip
in interface FTupleCursor
rows
- The number of rows to skip, greater than 0.
IllegalStateException
public void setRow(int n) throws IllegalStateException
setRow
in interface FTupleCursor
n
- The row to move to.
IndexOutOfBoundsException
- if the index is < 0 or >= number of rows.
UnsupportedOperationException
- if the Tuple does not support random access.
IllegalStateException
public void close()
IllegalStateException
.
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |