Package org.pentaho.di.core.bowl
Class DefaultBowl
java.lang.Object
org.pentaho.di.core.bowl.BaseBowl
org.pentaho.di.core.bowl.DefaultBowl
- All Implemented Interfaces:
Bowl
The default/global Bowl. A singleton for standard behavior when there is no custom Bowl.
-
Method Summary
Modifier and TypeMethodDescriptionGets a ConnectionManager for this Bowl.org.pentaho.metastore.api.IMetaStore
Gets a Metastore only for accessing any bowl-specific objects.static DefaultBowl
org.pentaho.metastore.api.IMetaStore
Gets a Read-Only Metastore that handles any defaulting required for execution-time handling of metastores, for the Bowl.void
setMetastoreSupplier
(Supplier<org.pentaho.metastore.api.IMetaStore> metastoreSupplier)
-
Method Details
-
getInstance
-
getExplicitMetastore
public org.pentaho.metastore.api.IMetaStore getExplicitMetastore() throws org.pentaho.metastore.api.exceptions.MetaStoreExceptionDescription 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.MetaStoreExceptionDescription 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.MetaStoreExceptionDescription 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 interfaceBowl
- Overrides:
getConnectionManager
in classBaseBowl
- Returns:
- ConnectionManager, never null.
- Throws:
org.pentaho.metastore.api.exceptions.MetaStoreException
-
setMetastoreSupplier
-