Package org.pentaho.di.metastore
Class DatabaseMetaStoreUtil
java.lang.Object
org.pentaho.metastore.util.MetaStoreUtil
org.pentaho.di.metastore.DatabaseMetaStoreUtil
public class DatabaseMetaStoreUtil
extends org.pentaho.metastore.util.MetaStoreUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
createDatabaseElement
(org.pentaho.metastore.api.IMetaStore metaStore, DatabaseMeta databaseMeta) static List<DatabaseMeta>
getDatabaseElements
(org.pentaho.metastore.api.IMetaStore metaStore) static DatabaseMeta
loadDatabaseMetaFromDatabaseElement
(org.pentaho.metastore.api.IMetaStore metaStore, org.pentaho.metastore.api.IMetaStoreElement element) static org.pentaho.metastore.api.IMetaStoreElement
populateDatabaseElement
(org.pentaho.metastore.api.IMetaStore metaStore, DatabaseMeta databaseMeta) static org.pentaho.metastore.api.IMetaStoreElementType
populateDatabaseElementType
(org.pentaho.metastore.api.IMetaStore metaStore) Methods inherited from class org.pentaho.metastore.util.MetaStoreUtil
copy, copy, executeLockedOperation, executeLockedOperationQuietly, getAttributeBoolean, getAttributeString, getChildString, getElementNames, verifyNamespaceCreated
-
Constructor Details
-
DatabaseMetaStoreUtil
public DatabaseMetaStoreUtil()
-
-
Method Details
-
getDatabaseElements
public static List<DatabaseMeta> getDatabaseElements(org.pentaho.metastore.api.IMetaStore metaStore) throws org.pentaho.metastore.api.exceptions.MetaStoreException - Throws:
org.pentaho.metastore.api.exceptions.MetaStoreException
-
createDatabaseElement
public static void createDatabaseElement(org.pentaho.metastore.api.IMetaStore metaStore, DatabaseMeta databaseMeta) throws org.pentaho.metastore.api.exceptions.MetaStoreException - Throws:
org.pentaho.metastore.api.exceptions.MetaStoreException
-
populateDatabaseElementType
public static org.pentaho.metastore.api.IMetaStoreElementType populateDatabaseElementType(org.pentaho.metastore.api.IMetaStore metaStore) throws org.pentaho.metastore.api.exceptions.MetaStoreException - Throws:
org.pentaho.metastore.api.exceptions.MetaStoreException
-
populateDatabaseElement
public static org.pentaho.metastore.api.IMetaStoreElement populateDatabaseElement(org.pentaho.metastore.api.IMetaStore metaStore, DatabaseMeta databaseMeta) throws org.pentaho.metastore.api.exceptions.MetaStoreException - Throws:
org.pentaho.metastore.api.exceptions.MetaStoreException
-
loadDatabaseMetaFromDatabaseElement
public static DatabaseMeta loadDatabaseMetaFromDatabaseElement(org.pentaho.metastore.api.IMetaStore metaStore, org.pentaho.metastore.api.IMetaStoreElement element) throws KettlePluginException - Throws:
KettlePluginException
-