Class DefaultBowl

java.lang.Object
org.pentaho.di.core.bowl.BaseBowl
org.pentaho.di.core.bowl.DefaultBowl
All Implemented Interfaces:
Bowl

public class DefaultBowl extends BaseBowl
The default/global Bowl. A singleton for standard behavior when there is no custom Bowl.
  • Method Details

    • getInstance

      public static DefaultBowl getInstance()
    • getExplicitMetastore

      public org.pentaho.metastore.api.IMetaStore getExplicitMetastore() throws org.pentaho.metastore.api.exceptions.MetaStoreException
      Description copied from interface: Bowl
      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
    • getMetastore

      public org.pentaho.metastore.api.IMetaStore getMetastore() throws org.pentaho.metastore.api.exceptions.MetaStoreException
      Description copied from interface: Bowl
      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
    • getConnectionManager

      public ConnectionManager getConnectionManager() throws org.pentaho.metastore.api.exceptions.MetaStoreException
      Description copied from interface: Bowl
      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()
      Specified by:
      getConnectionManager in interface Bowl
      Overrides:
      getConnectionManager in class BaseBowl
      Returns:
      ConnectionManager, never null.
      Throws:
      org.pentaho.metastore.api.exceptions.MetaStoreException
    • setMetastoreSupplier

      public void setMetastoreSupplier(Supplier<org.pentaho.metastore.api.IMetaStore> metastoreSupplier)