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, 5 of 9
A CursorSpecification
specifies certain aspects of the behavior of the Cursor
that corresponds to it. You do not create a CursorSpecification
directly. You pass a Source
to the createCursorManagerSpecification
method of a DataProvider
and the CursorManagerSpecification
returned has a root CursorSpecification
for that Source
. If the Source
has outputs, the CursorManagerSpecification
also has a child CursorSpecification
for the values of the Source
and one for each output of the Source
.
With CursorSpecification
methods, you can do the following:
Source
that corresponds to the CursorSpecification
.
Cursor
.
CompoundCursorSpecification
, specify that the default fetch size is set on the children of the corresponding Cursor
.
Cursor
.
Cursor
in its parent Cursor
. If you know the starting and ending positions of a value in the parent, then you can determine how many faster varying elements the parent Cursor
has for that value.
Cursor
in its parent is specified.
CursorSpecificationVisitor
.
For more information, see "About Cursor Positions and Extent" and "About Fetch Sizes and Fetch Blocks".
The Oracle OLAP API defines the following three classes in the oracle.olapi.data.source
package:
A Cursor
has the same structure as its CursorManagerSpecification
. For every ValueCursorSpecification
or CompoundCursorSpecification
of a CursorManagerSpecification
, a Cursor
has a corresponding ValueCursor
or CompoundCursor
. To be able to get certain information or behavior from a Cursor
, your application must specify that it wants that information or behavior by calling methods on the corresponding CursorSpecification
before it creates the Cursor
.
All CursorSpecification
objects have the following methods. The set methods specify the behavior of the Cursor
that corresponds to the CursorSpecification
.
In addition to the methods it inherits from CursorSpecification
, a CompoundCursorSpecification
has the following methods:
In addition to the methods it inherits from CursorSpecification
, a ValueCursorSpecification
has an override of the following method:
Method |
Return Value |
---|---|
|
An |
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|