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

B10994-01

oracle.olapi.data.source
Interface SpecifiedCursorManager

All Known Implementing Classes:
ExpressSpecifiedCursorManager

public abstract interface SpecifiedCursorManager
extends CursorManager

A CursorManager with methods for determining whether the SpecifiedCursorManager is open, for getting and setting the input Source objects associated with this SpecifiedCursorManager, and for updating the CursorManagerSpecification for the SpecifiedCursorManager.


Method Summary
 Source[] getInputSources()
          Returns an array that has the input Source objects associated with this SpecifiedCursorManager.
 boolean isOpen()
          Indicates whether this SpecifiedCursorManager is still open.
 void setInputSources(Source[] newInputSources)
          Replaces the existing input SourceSource objects specified by the newInputSources array.
 void updateSpecification(CursorManagerSpecification cursorManagerSpecification)
          Replaces the CursorManagerSpecification for the SpecifiedCursorManager with the specified CursorManagerSpecification.

 

Methods inherited from interface oracle.olapi.data.cursor.CursorManager
addCursorManagerUpdateListener, close, createCursor, createCursor, getFetchSize, getSource, isSpecificationUpdateNeeded, removeCursorManagerUpdateListener, setFetchSize, updateSpecification

 

Method Detail

updateSpecification

public void updateSpecification(CursorManagerSpecification cursorManagerSpecification)
Replaces the CursorManagerSpecification for the SpecifiedCursorManager with the specified CursorManagerSpecification. When you change the structure of the Source for a CursorManagerSpecification, the CursorManagerSpecification becomes outdated. To continue to use a SpecifiedCursorManager that you created using the CursorManagerSpecification, you must create a new CursorManagerSpecification and call this method to pass it to the SpecifiedCursorManager. You can then create new Cursor objects using the SpecifiedCursorManager. The Source produced by a Template is the only OLAP API Source that can change.
Parameters:
cursorManagerSpecification - The CursorManagerSpecification with which you want to replace the existing CursorManagerSpecification for this SpecifiedCursorManager.

isOpen

public boolean isOpen()
Indicates whether this SpecifiedCursorManager is still open.
Returns:
true if the SpecifiedCursorManager is open and false if it is closed.

getInputSources

public Source[] getInputSources()
Returns an array that has the input Source objects associated with this SpecifiedCursorManager.
Returns:
An array of Source objects that are the input Source objects of this SpecifiedCursorManager.

setInputSources

public void setInputSources(Source[] newInputSources)
Replaces the existing input SourceSource objects specified by the newInputSources array.
Parameters:
newInputSources - An array of SourceSource objects of the SpecifiedCursorManager.

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

B10994-01

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