| Modifier and Type | Field and Description |
|---|---|
| protected boolean | atEndOfCursor
Internal flag indicating if the end of the cursor has been reached |
| protected transient Object | |
| protected transient Object | |
| protected AbstractRecord | previousRow
Store the previous row, for 1-m joining. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public void | add(Object
the element to insert object)Implements java. |
| public void | |
| public void | |
| protected void | |
| protected void | |
| public int | |
| public boolean | |
| protected int | getCursorSize()
Implements abstract org. |
| protected int | |
| protected Object | |
| public int | Returns: the current row number; 0 if there is no current rowImplements abstract org. |
| protected Object | |
| public boolean | hasMoreElements()
Implements java. |
| public boolean | hasNext()
Implements java. |
| public boolean | |
| public boolean | hasPrevious()
Implements java. |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| protected void | |
| protected void | |
| public Object | Returns: - next object in streamImplements java. |
| public List | Returns: - vector containing next number of objects- number of objects to be returned number)PUBLIC: This method differs slightly from conventional read() operation on a Java stream. |
| public Object | Returns: next object in streamImplements java. |
| public int | nextIndex()
Implements java. |
| public Object | Returns: - previous object in streamImplements java. |
| public int | previousIndex()
Implements java. |
| public boolean | |
| protected Object | retrieveNextObject()
Implements abstract org. |
| protected Object | |
| public void | set(Object
the element with which to replace the last element returned by
object)next or previousImplements java. |
| protected void | |
| protected void |
| atEndOfCursor | back to summary |
|---|---|
| protected boolean atEndOfCursor Internal flag indicating if the end of the cursor has been reached | |
| nextObject | back to summary |
|---|---|
| protected transient Object nextObject | |
| previousObject | back to summary |
|---|---|
| protected transient Object previousObject | |
| previousRow | back to summary |
|---|---|
| protected AbstractRecord previousRow Store the previous row, for 1-m joining. | |
| ScrollableCursor | back to summary |
|---|---|
| public ScrollableCursor() INTERNAL: Default constructor. | |
| ScrollableCursor | back to summary |
|---|---|
| public ScrollableCursor(DatabaseCall call, ScrollableCursorPolicy policy) INTERNAL: constructor. | |
| absolute | back to summary |
|---|---|
| public boolean absolute(int rows) throws DatabaseException PUBLIC: Moves the cursor to the given row number in the result set | |
| add | back to summary |
|---|---|
| public void add(Object object) throws QueryException Implements java. PUBLIC: Add is not support for scrollable cursors.
| |
| afterLast | back to summary |
|---|---|
| public void afterLast() throws DatabaseException PUBLIC: Moves the cursor to the end of the result set, just after the last row. | |
| beforeFirst | back to summary |
|---|---|
| public void beforeFirst() throws DatabaseException PUBLIC: Moves the cursor to the front of the result set, just before the first row | |
| clearNextAndPrevious | back to summary |
|---|---|
| protected void clearNextAndPrevious() INTERNAL: Clear the cached next and previous object and row values. This must be called whenever the cursor is re-positioned. | |
| clearNextAndPreviousObject | back to summary |
|---|---|
| protected void clearNextAndPreviousObject() INTERNAL: Clear only the cached next and previous object values. Called by previous() and next() to maintain the cached next and previous row values. | |
| currentIndex | back to summary |
|---|---|
| public int currentIndex() throws DatabaseException PUBLIC: Retrieves the current row index number | |
| first | back to summary |
|---|---|
| public boolean first() throws DatabaseException PUBLIC: Moves the cursor to the first row in the result set | |
| getCursorSize | back to summary |
|---|---|
| protected int getCursorSize() throws DatabaseException Implements abstract org. INTERNAL: Retrieve the size of the open cursor by executing a count on the same query as the cursor.
| |
| getKnownCursorSize | back to summary |
|---|---|
| protected int getKnownCursorSize() | |
| getNextObject | back to summary |
|---|---|
| protected Object getNextObject() | |
| getPosition | back to summary |
|---|---|
| public int getPosition() throws DatabaseException Implements abstract org. PUBLIC: Retrieves the current cursor position (current row). The first row is number 1, the second number 2, and so on. Unlike java.sql.ResultSet.getRow(), 0 is not returned if afterLast. Instead size() + 1 is returned.
| |
| getPreviousObject | back to summary |
|---|---|
| protected Object getPreviousObject() | |
| hasMoreElements | back to summary |
|---|---|
| public boolean hasMoreElements() throws DatabaseException Implements java. PUBLIC: Indicates whether the cursor can move to the the next row
| |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() throws DatabaseException Implements java. PUBLIC: Indicates whether the cursor can move to the the next row
| |
| hasNextElement | back to summary |
|---|---|
| public boolean hasNextElement() throws DatabaseException PUBLIC: Indicates whether the cursor can move to the the next row | |
| hasPrevious | back to summary |
|---|---|
| public boolean hasPrevious() throws DatabaseException Implements java. PUBLIC: Indicates whether the cursor can move to the the previous row
| |
| isAfterLast | back to summary |
|---|---|
| public boolean isAfterLast() throws DatabaseException PUBLIC: Indicates whether the cursor is after the last row in the result set. | |
| isBeforeFirst | back to summary |
|---|---|
| public boolean isBeforeFirst() throws DatabaseException PUBLIC: Indicates whether the cursor is before the first row in the result set. | |
| isFirst | back to summary |
|---|---|
| public boolean isFirst() throws DatabaseException PUBLIC: Indicates whether the cursor is on the first row of the result set. | |
| isLast | back to summary |
|---|---|
| public boolean isLast() throws DatabaseException PUBLIC: Indicates whether the cursor is on the last row of the result set. | |
| last | back to summary |
|---|---|
| public boolean last() throws DatabaseException PUBLIC: Moves the cursor to the last row in the result set | |
| loadNext | back to summary |
|---|---|
| protected void loadNext() Load the next object | |
| loadPrevious | back to summary |
|---|---|
| protected void loadPrevious() Load the previous object. This is used solely for scrollable cursor support | |
| next | back to summary |
|---|---|
| public Object next() throws DatabaseException, QueryException Implements java. PUBLIC: This method differs slightly from conventional read() operation on a Java stream. This method return the next object in the collection rather than specifying the number of bytes to be read in. Return the next object from the collection, if beyond the read limit read from the cursor
| |
| next | back to summary |
|---|---|
| public List PUBLIC: This method differs slightly from conventional read() operation on a Java stream. This method returns the next number of objects in the collection in a vector. Return the next specified number of objects from the collection, if beyond the read limit read from the cursor
| |
| nextElement | back to summary |
|---|---|
| public Object nextElement() throws DatabaseException, QueryException Implements java. PUBLIC: Return the next object from the collection, if beyond the read limit read from the cursor. | |
| nextIndex | back to summary |
|---|---|
| public int nextIndex() throws DatabaseException Implements java. PUBLIC: Retrieves the next row index (against the current row)
| |
| previous | back to summary |
|---|---|
| public Object previous() throws DatabaseException, QueryException Implements java. PUBLIC: Return the previous object from the collection.
| |
| previousIndex | back to summary |
|---|---|
| public int previousIndex() throws DatabaseException Implements java. PUBLIC: Retrieves the previous row index (against the current row)
| |
| relative | back to summary |
|---|---|
| public boolean relative(int rows) throws DatabaseException PUBLIC: Moves the cursor a relative number of rows, either positive or negative. Attempting to move beyond the first/last row in the result set positions the cursor before/after the the first/last row | |
| retrieveNextObject | back to summary |
|---|---|
| protected Object retrieveNextObject() throws DatabaseException Implements abstract org. INTERNAL: Read the next row from the result set.
| |
| retrievePreviousObject | back to summary |
|---|---|
| protected Object retrievePreviousObject() throws DatabaseException INTERNAL: CR#4139 Read the previous row from the result set. It is used solely for scrollable cursor support. | |
| set | back to summary |
|---|---|
| public void set(Object object) throws QueryException Implements java. PUBLIC: Set is not supported for scrollable cursors.
| |
| setNextObject | back to summary |
|---|---|
| protected void setNextObject(Object nextObject) | |
| setPreviousObject | back to summary |
|---|---|
| protected void setPreviousObject(Object previousObject) | |