Interface Bowl

All Known Implementing Classes:
BaseBowl, DefaultBowl

public interface Bowl
A Bowl is a generic container/context/workspace concept. Different plugin implementations may implement this for additional features. All implementations of Bowl should implement equals() and hashcode()
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets a ConnectionManager for this Bowl.
    org.pentaho.metastore.api.IMetaStore
    Gets a Metastore only for accessing any bowl-specific objects.
    org.pentaho.metastore.api.IMetaStore
    Gets a Read-Only Metastore that handles any defaulting required for execution-time handling of metastores, for the Bowl.
  • Method Details

    • getMetastore

      org.pentaho.metastore.api.IMetaStore getMetastore() throws org.pentaho.metastore.api.exceptions.MetaStoreException
      Gets a Read-Only Metastore that handles any defaulting required for execution-time handling of metastores, for the Bowl.
      Returns:
      IMetaStore A metastore for execution with the Bowl. Never null.
      Throws:
      org.pentaho.metastore.api.exceptions.MetaStoreException
    • getExplicitMetastore

      org.pentaho.metastore.api.IMetaStore getExplicitMetastore() throws org.pentaho.metastore.api.exceptions.MetaStoreException
      Gets a Metastore only for accessing any bowl-specific objects.
      Returns:
      IMetaStore A metastore for the specified Bowl. Never null.
      Throws:
      org.pentaho.metastore.api.exceptions.MetaStoreException
    • getConnectionManager

      ConnectionManager getConnectionManager() throws org.pentaho.metastore.api.exceptions.MetaStoreException
      Gets a ConnectionManager for this Bowl. Uses a metastore from getMetastore(), so global connections will be returned as well. This ConnectionManager is effectively read-only. Since constructing and initializing ConnectionManagers can be expensive, and ConnectionManager instances don't share state, consumers should always use this method instead of ConnectionManager.getInstance()
      Returns:
      ConnectionManager, never null.
      Throws:
      org.pentaho.metastore.api.exceptions.MetaStoreException