Uses of Class
org.pentaho.di.core.database.DatabaseMeta
Package
Description
Contains all the different database dialects as well as the DatabaseMeta class (definition) and the Database class (execution)
This package contains the Log4j Kettle appenders and Kettle layout as well as the Kettle Log Message.
-
Uses of DatabaseMeta in org.pentaho.di.core
Modifier and TypeMethodDescriptionSQLStatement.getDatabase()
Get the database connection for this SQL StatementModifier and TypeMethodDescriptionvoid
SQLStatement.setDatabase
(DatabaseMeta dbinfo) Sets the database connection for this SQL StatementModifierConstructorDescriptionSQLStatement
(String stepname, DatabaseMeta dbinfo, String sql) Creates a new SQLStatement -
Uses of DatabaseMeta in org.pentaho.di.core.database
Modifier and TypeMethodDescriptionstatic final DatabaseMeta
DatabaseMeta.findDatabase
(List<? extends SharedObjectInterface> databases, String dbname) Find a database with a certain name in an arraylist of databases.static final DatabaseMeta
DatabaseMeta.findDatabase
(List<DatabaseMeta> databases, ObjectId id) Find a database with a certain ID in an arraylist of databases.Database.getDatabaseMeta()
DatabaseMetaInformation.getDbInfo()
Modifier and TypeMethodDescriptionprotected static String
ConnectionPoolUtil.buildPoolName
(DatabaseMeta dbMeta, String partitionId) static Connection
ConnectionPoolUtil.getConnection
(LogChannelInterface log, DatabaseMeta dbMeta, String partitionId) Deprecated.(Please use on init the step and then just get the connection when needed)DatabaseFactory.getConnectionTestReport
(DatabaseMeta databaseMeta) DatabaseFactoryInterface.getConnectionTestReport
(DatabaseMeta databaseMeta) DatabaseFactory.getConnectionTestResults
(DatabaseMeta databaseMeta) DatabaseFactoryInterface.getConnectionTestResults
(DatabaseMeta databaseMeta) static DataSource
ConnectionPoolUtil.getDataSource
(LogChannelInterface log, DatabaseMeta dbMeta, String partitionId) static String
ConnectionPoolUtil.getDataSourceName
(DatabaseMeta dbMeta, String partitionId) BaseDatabaseMeta.getDataTablespaceDDL
(VariableSpace variables, DatabaseMeta databaseMeta) Returns the tablespace DDL fragment for a "Data" tablespace.DatabaseInterface.getDataTablespaceDDL
(VariableSpace variables, DatabaseMeta databaseMeta) Returns the tablespace DDL fragment for a "Data" tablespace.BaseDatabaseMeta.getIndexTablespaceDDL
(VariableSpace variables, DatabaseMeta databaseMeta) Returns the tablespace DDL fragment for a "Index" tablespace.DatabaseInterface.getIndexTablespaceDDL
(VariableSpace variables, DatabaseMeta databaseMeta) Returns the tablespace DDL fragment for a "Index" tablespace.BaseDatabaseMeta.getNextBatchId
(DatabaseMeta dbm, Database ldb, String schemaName, String tableName, String fieldName) DatabaseInterface.getNextBatchId
(DatabaseMeta dbm, Database ldb, String schemaName, String tableName, String fieldName) Get the next Batch ID from the logging tables.BaseDatabaseMeta.getNextBatchIdUsingAutoIncSQL
(String autoIncSQL, DatabaseMeta dbm, Database ldb) BaseDatabaseMeta.getNextBatchIdUsingLockTables
(DatabaseMeta dbm, Database ldb, String schemaName, String tableName, String fieldName) MSSQLServerDatabaseMeta.getNextBatchIdUsingLockTables
(DatabaseMeta dbm, Database ldb, String schemaName, String tableName, String fieldName) BaseDatabaseMeta.getNextBatchIdUsingSequence
(String sequenceName, String schemaName, DatabaseMeta dbm, Database ldb) default DataSource
DataSourceProviderInterface.getPooledDataSourceFromMeta
(DatabaseMeta dbMeta, DataSourceProviderInterface.DatasourceType type) Returns the specified data source of respecting itstype
default ResultSet
DatabaseInterface.getSchemas
(DatabaseMetaData databaseMetaData, DatabaseMeta dbMeta) SnowflakeHVDatabaseMeta.getSchemas
(DatabaseMetaData databaseMetaData, DatabaseMeta dbMeta) default String
DatabaseInterface.getSQLListOfSchemas
(DatabaseMeta dbMeta) SnowflakeHVDatabaseMeta.getSQLListOfSchemas
(DatabaseMeta databaseMeta) default ResultSet
DatabaseInterface.getTables
(DatabaseMetaData databaseMetaData, DatabaseMeta dbMeta, String schemaPattern, String tableNamePattern, String[] tableTypes) SnowflakeHVDatabaseMeta.getTables
(DatabaseMetaData databaseMetaData, DatabaseMeta dbMeta, String schemaPattern, String tableNamePattern, String[] tableTypes) BaseDatabaseMeta.getTablespaceDDL
(VariableSpace variables, DatabaseMeta databaseMeta, String tablespaceName) Returns an empty string as most databases do not support tablespaces.OracleDatabaseMeta.getTablespaceDDL
(VariableSpace variables, DatabaseMeta databaseMeta, String tablespace) Returns an empty string as most databases do not support tablespaces.static boolean
ConnectionPoolUtil.hasOldConfig
(DatabaseMeta dbMeta, String partitionId) void
DatabaseMeta.replaceMeta
(DatabaseMeta databaseMeta) void
DatabaseMeta.replaceMeta
(DatabaseMeta databaseMeta, boolean cloneUpdateFlag) void
DatabaseMetaInformation.setDbInfo
(DatabaseMeta value) void
DatabaseMeta.setValues
(DatabaseMeta info) Modifier and TypeMethodDescriptionstatic final DatabaseMeta
DatabaseMeta.findDatabase
(List<DatabaseMeta> databases, ObjectId id) Find a database with a certain ID in an arraylist of databases.DatabaseMeta.verifyAndModifyDatabaseName
(List<DatabaseMeta> databases, String oldname) Verify the name of the database and if required, change it if it already exists in the list of databases.ModifierConstructorDescriptionDatabase
(DatabaseMeta databaseMeta) Deprecated.Please specify the parent object so that we can see which object is initiating a database connectionDatabase
(LoggingObjectInterface parentObject, DatabaseMeta databaseMeta) Construct a new Database ConnectionDatabaseMetaInformation
(DatabaseMeta databaseMeta) Create a new DatabaseMetaData object for the given database connection -
Uses of DatabaseMeta in org.pentaho.di.core.logging
-
Uses of DatabaseMeta in org.pentaho.di.core.row
Modifier and TypeMethodDescriptionValueMetaInterface.getMetadataPreview
(DatabaseMeta databaseMeta, ResultSet rs) This is a similar method to getValueFromSQLType, but it uses a ResultSet from a call to DatabaseMetaData#getColumns(String, String, String, String) The ResultSet must be positioned correctly on the row to read.ValueMetaInterface.getValueFromSQLType
(DatabaseMeta databaseMeta, String name, ResultSetMetaData rm, int index, boolean ignoreLength, boolean lazyConversion) Investigate JDBC result set metadata at the specified index.void
ValueMetaInterface.setPreparedStatementValue
(DatabaseMeta databaseMeta, PreparedStatement preparedStatement, int index, Object data) Set a value on a JDBC prepared statement on the specified position -
Uses of DatabaseMeta in org.pentaho.di.core.row.value
Modifier and TypeMethodDescriptionValueMetaBase.getMetadataPreview
(DatabaseMeta databaseMeta, ResultSet rs) ValueMetaInternetAddress.getMetadataPreview
(DatabaseMeta databaseMeta, ResultSet rs) ValueMetaTimestamp.getMetadataPreview
(DatabaseMeta databaseMeta, ResultSet rs) ValueMetaBase.getValueFromSQLType
(DatabaseMeta databaseMeta, String name, ResultSetMetaData rm, int index, boolean ignoreLength, boolean lazyConversion) ValueMetaInternetAddress.getValueFromSQLType
(DatabaseMeta databaseMeta, String name, ResultSetMetaData rm, int index, boolean ignoreLength, boolean lazyConversion) ValueMetaTimestamp.getValueFromSQLType
(DatabaseMeta databaseMeta, String name, ResultSetMetaData rm, int index, boolean ignoreLength, boolean lazyConversion) void
ValueMetaBase.setPreparedStatementValue
(DatabaseMeta databaseMeta, PreparedStatement preparedStatement, int index, Object data) void
ValueMetaInternetAddress.setPreparedStatementValue
(DatabaseMeta databaseMeta, PreparedStatement preparedStatement, int index, Object data) void
ValueMetaTimestamp.setPreparedStatementValue
(DatabaseMeta databaseMeta, PreparedStatement preparedStatement, int index, Object data) -
Uses of DatabaseMeta in org.pentaho.di.metastore
Modifier and TypeMethodDescriptionstatic DatabaseMeta
DatabaseMetaStoreUtil.loadDatabaseMetaFromDatabaseElement
(org.pentaho.metastore.api.IMetaStore metaStore, org.pentaho.metastore.api.IMetaStoreElement element) Modifier and TypeMethodDescriptionstatic List<DatabaseMeta>
DatabaseMetaStoreUtil.getDatabaseElements
(org.pentaho.metastore.api.IMetaStore metaStore) Modifier and TypeMethodDescriptionstatic void
DatabaseMetaStoreUtil.createDatabaseElement
(org.pentaho.metastore.api.IMetaStore metaStore, DatabaseMeta databaseMeta) static org.pentaho.metastore.api.IMetaStoreElement
DatabaseMetaStoreUtil.populateDatabaseElement
(org.pentaho.metastore.api.IMetaStore metaStore, DatabaseMeta databaseMeta)