Skip navigation links

Oracle® OLAP Java API Reference
11g Release 1 (11.1)

B28128-03


oracle.olapi.data.source
Interface SpecifiedCursorManager

All Superinterfaces:
CursorManager
All Known Implementing Classes:
ExpressSpecifiedCursorManager

public 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

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

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

getInputSources

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

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.

Skip navigation links

Copyright © 2002, 2008, Oracle. All rights reserved.