Skip navigation links

Oracle® OLAP Java API Reference
11g Release 2 (11.2)

E10794-06


oracle.olapi.data.source
Interface SQLCursorManager


public interface SQLCursorManager

An interface for an object that gets the SQL statement that the Oracle OLAP SQL Generator generates for a Source that specifies a query. Before you create an instance of an implementation of SQLCursorManager, you must commit the current Transaction. You create an instance of a SQLCursorManager with the createSQLCursorManager or createSQLCursorManagers methods of a DataProvider.

See Also:
TransactionProvider

Method Summary
 void close()
          Closes the SQLCursorManager and releases the resources associated with it.
 java.lang.String generateSQL()
          Gets a String that contains the SQL statement that Oracle OLAP generates for the Source for this SQLCursorManager.
 void generateSQL(java.lang.StringBuffer buffer)
          Gets the SQL statement that Oracle OLAP generates for the Source for this SQLCursorManager and appends it to the specified StringBuffer.
 boolean isOpen()
          Indicates whether this SQLCursorManager is open.

 

Method Detail

isOpen

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

close

void close()
Closes the SQLCursorManager and releases the resources associated with it.

generateSQL

java.lang.String generateSQL()
Gets a String that contains the SQL statement that Oracle OLAP generates for the Source for this SQLCursorManager.
Returns:
A String that contains the SQL statement that Oracle OLAP generates for the Source for this SQLCursorManager.

generateSQL

void generateSQL(java.lang.StringBuffer buffer)
Gets the SQL statement that Oracle OLAP generates for the Source for this SQLCursorManager and appends it to the specified StringBuffer.
Parameters:
buffer - A StringBuffer that contains the SQL statement that Oracle OLAP generates for the Source for this SQLCursorManager.

Skip navigation links

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