dsql.value
Interface Cursor
- All Superinterfaces:
- RecordHolder
- All Known Implementing Classes:
- TableResult, XmlRecordHolder
- public interface Cursor
- extends RecordHolder
A record holder that can iterate through its records
reset
public void reset()
throws ExecuteException
- Throws:
ExecuteException
currentRecord
public int currentRecord()
throws ExecuteException
- Throws:
ExecuteException
gotoRecord
public void gotoRecord(int pos)
throws ExecuteException
- Parameters:
pos
- is the record position: 1 is the first record,
0 is the record before first, -1 is after the last record
- Throws:
ExecuteException
nextRecord
public boolean nextRecord()
throws ExecuteException
- Throws:
ExecuteException
getRecord
public Value getRecord()
throws ExecuteException
- get current record; this could be the actual record,
as does XmlRecordHolder, or a "proxy" as does
TableResult
- Throws:
ExecuteException
printRecord
public void printRecord(ASTPrint printer)
throws ExecuteException
- Throws:
ExecuteException