Skip navigation links

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

E10794-05


oracle.olapi.metadata
Class BaseMetadataProvider

java.lang.Object
  extended by oracle.olapi.metadata.BaseMetadataProvider

Direct Known Subclasses:
MdmMetadataProvider

public abstract class BaseMetadataProvider
extends java.lang.Object

The base class for an object that gives access to the metadata for a data store. An application creates Oracle OLAP multidimensional model (MDM) metadata with classes in the oracle.olapi.metadata.mdm package. The MdmMetadataProvider subclass of BaseMetadataProvider provides access to Oracle OLAP metadata.


Method Summary
 void flushDeletedObjects()
          Frees the resources in an OLAP Java API client application for any objects that Oracle OLAP has deleted from cached metadata on the client.
 void flushMetadataObjectCache()
          Removes the cached metadata in an OLAP Java API client application for any objects that Oracle OLAP has previously fetched.
 DataProvider getDataProvider()
          Gets the DataProvider that is associated with this BaseMetadataProvider.
 java.lang.String getID()
          Gets the unique object identifier for the BaseMetadataProvider.

 

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

 

Method Detail

flushDeletedObjects

public final void flushDeletedObjects()
Frees the resources in an OLAP Java API client application for any objects that Oracle OLAP has deleted from cached metadata on the client. Oracle OLAP does not free the resources for deleted objects until the applications calls flushDeletedObjects or the application exits. Most applications do not need to use this method.

flushMetadataObjectCache

public final void flushMetadataObjectCache()
Removes the cached metadata in an OLAP Java API client application for any objects that Oracle OLAP has previously fetched. This allows the OLAP Java API client to pick up any metadata changes made through a different connection on the server.

getDataProvider

public DataProvider getDataProvider()
Gets the DataProvider that is associated with this BaseMetadataProvider. This is the DataProvider that was specified when this BaseMetadataProvider was created.
Returns:
The DataProvider that is associated with this BaseMetadataProvider.

getID

public java.lang.String getID()
Gets the unique object identifier for the BaseMetadataProvider. Object identifiers have the form objectName or ownerName.objectName. For example, the unique identifier for the MdmDatabaseSchema for the user GLOBAL is GLOBAL. For an MdmPrimaryDimension named PRODUCTS_AWJ, the ID is GLOBAL.PRODUCTS_AWJ. For an MdmLevelHierarchy named PRIMARY, the ID is GLOBAL.PRODUCTS_AWJ.PRIMARY.
Returns:
The unique identifier for this BaseMetadataProvider.

Skip navigation links

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