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
Constructors Constructor Description DatabaseMetaStoreUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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)
-
-
-
Method Detail
-
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
-
-