Oracle OLAP Java API Reference
10g Release 1 (10.1)

B10994-01

oracle.express.olapi.data.full
Class ExpressDataCursorManager

java.lang.Object
  |
  +--oracle.express.olapi.data.full.BaseCursorManager
        |
        +--oracle.express.olapi.data.full.DataCursorManager
              |
              +--oracle.express.olapi.data.full.ExpressDataCursorManager

public class ExpressDataCursorManager
extends DataCursorManager

A CursorManager that manages Cursor objects for an Oracle OLAP application, which creates an ExpressDataCursorManager by calling the createCursorManager method of an ExpressDataProvider without using a CursorManagerSpecification. ExpressDataProvider methods such as createCursorManager(Source rootSource) and createCursorManagers(Source[] rootSource, int[] fetchSize, CursorInfoSpecification[] cursorInfoSpec) return an ExpressDataCursorManager.

See Also:
ExpressDataProvider

Method Summary
 Cursor createCursor()
          Creates a Cursor for the Source with which this ExpressDataCursorManager was created.
 Cursor createCursor(CursorInput[] cursorInputs)
          An ExpressDataCursorManager does not support creating a Cursor using CursorInput objects.
 int getFetchSize()
          Gets the fetch size for a Cursor created by this ExpressSpecifiedCursorManager.
 void setFetchSize(int fetchSize)
          Specifies the fetch size for Cursor objects created by this ExpressDataCursorManager.
 void updateSpecification(CursorInfoSpecification cursorInfoSpec)
          Replaces the CursorInfoSpecification for this ExpressDataCursorManager with the specified CursorInfoSpecification.

 

Methods inherited from class oracle.express.olapi.data.full.BaseCursorManager
close, isOpen

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

createCursor

public final Cursor createCursor()
                          throws SpecificationUpdateNeededException
Creates a Cursor for the Source with which this ExpressDataCursorManager was created.
Returns:
A Cursor.

updateSpecification

public final void updateSpecification(CursorInfoSpecification cursorInfoSpec)
                               throws java.lang.IllegalArgumentException
Replaces the CursorInfoSpecification for this ExpressDataCursorManager with the specified CursorInfoSpecification. When you change the structure of the Source for a ExpressDataCursorManager, the CursorInfoSpecification becomes outdated.

To continue to use this ExpressDataCursorManager, you must create a new CursorInfoSpecification, and call this method and pass in the new CursorInfoSpecification. You can then create new Cursor objects using the ExpressDataCursorManager.

Parameters:
cursorInfoSpec - The CursorInfoSpecification with which to replace the current CursorInfoSpecification for this ExpressDataCursorManager.

getFetchSize

public final int getFetchSize()
Gets the fetch size for a Cursor created by this ExpressSpecifiedCursorManager.
Returns:
An integer that is the fetch size for Cursor objects created by this ExpressDataCursorManager.

setFetchSize

public final void setFetchSize(int fetchSize)
Specifies the fetch size for Cursor objects created by this ExpressDataCursorManager.
Parameters:
fetchSize - An integer that is the fetch size you want to specify for Cursor objects created by this ExpressDataCursorManager.

createCursor

public final Cursor createCursor(CursorInput[] cursorInputs)
An ExpressDataCursorManager does not support creating a Cursor using CursorInput objects. It does support creating Cursor objects for Source objects that you derive using parameterized Source objects. You create a parameterized Source with one of the createParameterizedSource methods of a DataProvider.

If you are using CursorInput objects instead of Parameter objects and parameterized Source objects, use an ExpressSpecifiedCursorManager to create a Cursor.

See Also:
Parameter, DataProvider

Oracle OLAP Java API Reference
10g Release 1 (10.1)

B10994-01

Copyright © 2002, 2003, Oracle. All Rights Reserved.