Oracle9i OLAP Services Developer's Guide to the Oracle OLAP API Release 1 (9.0.1) Part Number A88756-01 |
|
Understanding Cursor Classes and Concepts, 4 of 9
A CursorManagerSpecification
for a Source
has one or more CursorSpecification
objects. The structure of those objects reflects the structure of the Source
. For example, a Source
that has outputs has a top-level, or root, CursorSpecification
for the Source
, a child CursorSpecification
for the values of the Source
, and a child CursorSpecification
for each output of the Source
.
A Source
that does not have any outputs has only one set of values. A CursorManagerSpecification
for that Source
therefore has only one CursorSpecification
. That CursorSpecification
is the root CursorSpecification
of the CursorManagerSpecification
.
The structure of a Cursor
reflects the structure of its CursorManagerSpecification
. A Cursor
can be a single Cursor
, for a Source
with no outputs, or a Cursor
with child Cursor
objects, for a Source
with outputs. Each Cursor
corresponds to a CursorSpecification
in the CursorManagerSpecification
. You use CursorSpecification
methods to specify aspects of the behavior of the corresponding Cursor
.
If your application uses Template
objects, and a change occurs in the state of a Template
so that the structure of the Source
produced by the Template
changes, then any CursorManagerSpecification
objects that the application created for the Source
expire. If a CursorManagerSpecification
expires, you must create a new CursorManagerSpecification
. You can then either use the new CursorManagerSpecification
to replace the old CursorManagerSpecification
of a CursorManager
or use it to create a new CursorManager
. You can discover if a CursorManagerSpecification
has expired by calling the isExpired
method on the CursorManagerSpecification
.
A
CursorManagerSpecification
has the following methods:
|
![]() Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|