dsql.value
Interface RecordHolder
- All Known Subinterfaces:
- Cursor
- All Known Implementing Classes:
- List, RangeValue, TableResult, XmlRecordHolder
- public interface RecordHolder
A container for records, such as TableResult or XmlDataValue
getRecordCount
public int getRecordCount()
throws ExecuteException
- this function should be called with care as it can be computationaly
expensive for SQL Cursors!
- Returns:
- number of records
- Throws:
ExecuteException
getRecord
public Value getRecord(int i)
throws ExecuteException
- Returns:
- record at position i (first record is 1). For SQL cursors,
the returned Value can be a ProxyRecord
- Throws:
ExecuteException
setRecord
public void setRecord(int i,
Value val)
throws ExecuteException
- Throws:
ExecuteException