Purpose: The object is used as a wrapper to the CursoredStream object in the remote transaction (via RMI, CORBA, etc.)
Responsibilities: Wraps a database result set cursor to provide a stream to the remote client side on the resulting selected objects.
| Modifier and Type | Field and Description |
|---|---|
| protected ObjID | id
This is a unique id for remote cursored stream |
| protected boolean | isClosed
Return if the stream is closed. |
| protected int | pageSize
Return the cursored stream page size. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Overrides org. |
| protected int | getCursorSize()
Overrides org. |
| public ObjID | |
| public boolean | isClosed()
INTERNAL:
Return if the stream is closed.
|
| protected Object | retrieveNextPage()
Overrides org. |
| id | back to summary |
|---|---|
| protected ObjID id This is a unique id for remote cursored stream | |
| isClosed | back to summary |
|---|---|
| protected boolean isClosed Return if the stream is closed. | |
| pageSize | back to summary |
|---|---|
| protected int pageSize Return the cursored stream page size. | |
| RemoteCursoredStream | back to summary |
|---|---|
| public RemoteCursoredStream(CursoredStream serverCursoredStream) | |
| close | back to summary |
|---|---|
| public void close() throws DatabaseException Overrides org. Close the wrapped cursored stream This should be performed whenever the user has finished with the stream.
| |
| getCursorSize | back to summary |
|---|---|
| protected int getCursorSize() Overrides org. INTERNAL: Retreive the size of the wrapped cursored stream.
| |
| getID | back to summary |
|---|---|
| public ObjID getID() INTERNAL: Retrieve the OID of the wrapped cursored stream. | |
| isClosed | back to summary |
|---|---|
| public boolean isClosed() Overrides org. INTERNAL: Return if the stream is closed.
| |
| retrieveNextPage | back to summary |
|---|---|
| protected Object retrieveNextPage() throws DatabaseException Overrides org. Read the next page of objects from the server.
| |