Uses of Class
org.pentaho.di.core.database.DatabaseMeta
-
Packages that use DatabaseMeta Package Description org.pentaho.di.core org.pentaho.di.core.database Contains all the different database dialects as well as the DatabaseMeta class (definition) and the Database class (execution)org.pentaho.di.core.logging This package contains the Log4j Kettle appenders and Kettle layout as well as the Kettle Log Message.org.pentaho.di.core.row org.pentaho.di.core.row.value org.pentaho.di.metastore -
-
Uses of DatabaseMeta in org.pentaho.di.core
Methods in org.pentaho.di.core that return DatabaseMeta Modifier and Type Method Description DatabaseMeta
SQLStatement. getDatabase()
Get the database connection for this SQL StatementMethods in org.pentaho.di.core with parameters of type DatabaseMeta Modifier and Type Method Description void
SQLStatement. setDatabase(DatabaseMeta dbinfo)
Sets the database connection for this SQL StatementConstructors in org.pentaho.di.core with parameters of type DatabaseMeta Constructor Description SQLStatement(String stepname, DatabaseMeta dbinfo, String sql)
Creates a new SQLStatement -
Uses of DatabaseMeta in org.pentaho.di.core.database
Fields in org.pentaho.di.core.database with type parameters of type DatabaseMeta Modifier and Type Field Description static Comparator<DatabaseMeta>
DatabaseMeta. comparator
Methods in org.pentaho.di.core.database that return DatabaseMeta Modifier and Type Method Description static DatabaseMeta
DatabaseMeta. findDatabase(List<? extends SharedObjectInterface> databases, String dbname)
Find a database with a certain name in an arraylist of databases.static DatabaseMeta
DatabaseMeta. findDatabase(List<DatabaseMeta> databases, ObjectId id)
Find a database with a certain ID in an arraylist of databases.DatabaseMeta
Database. getDatabaseMeta()
DatabaseMeta
DatabaseMetaInformation. getDbInfo()
Methods in org.pentaho.di.core.database with parameters of type DatabaseMeta Modifier and Type Method Description protected 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)String
DatabaseFactory. getConnectionTestReport(DatabaseMeta databaseMeta)
String
DatabaseFactoryInterface. getConnectionTestReport(DatabaseMeta databaseMeta)
DatabaseTestResults
DatabaseFactory. getConnectionTestResults(DatabaseMeta databaseMeta)
DatabaseTestResults
DatabaseFactoryInterface. getConnectionTestResults(DatabaseMeta databaseMeta)
static DataSource
ConnectionPoolUtil. getDataSource(LogChannelInterface log, DatabaseMeta dbMeta, String partitionId)
static String
ConnectionPoolUtil. getDataSourceName(DatabaseMeta dbMeta, String partitionId)
String
BaseDatabaseMeta. getDataTablespaceDDL(VariableSpace variables, DatabaseMeta databaseMeta)
Returns the tablespace DDL fragment for a "Data" tablespace.String
DatabaseInterface. getDataTablespaceDDL(VariableSpace variables, DatabaseMeta databaseMeta)
Returns the tablespace DDL fragment for a "Data" tablespace.String
BaseDatabaseMeta. getIndexTablespaceDDL(VariableSpace variables, DatabaseMeta databaseMeta)
Returns the tablespace DDL fragment for a "Index" tablespace.String
DatabaseInterface. getIndexTablespaceDDL(VariableSpace variables, DatabaseMeta databaseMeta)
Returns the tablespace DDL fragment for a "Index" tablespace.Long
BaseDatabaseMeta. getNextBatchId(DatabaseMeta dbm, Database ldb, String schemaName, String tableName, String fieldName)
Long
DatabaseInterface. getNextBatchId(DatabaseMeta dbm, Database ldb, String schemaName, String tableName, String fieldName)
Get the next Batch ID from the logging tables.Long
BaseDatabaseMeta. getNextBatchIdUsingAutoIncSQL(String autoIncSQL, DatabaseMeta dbm, Database ldb)
Long
BaseDatabaseMeta. getNextBatchIdUsingLockTables(DatabaseMeta dbm, Database ldb, String schemaName, String tableName, String fieldName)
Long
MSSQLServerDatabaseMeta. getNextBatchIdUsingLockTables(DatabaseMeta dbm, Database ldb, String schemaName, String tableName, String fieldName)
Long
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)
ResultSet
SnowflakeHVDatabaseMeta. getSchemas(DatabaseMetaData databaseMetaData, DatabaseMeta dbMeta)
default String
DatabaseInterface. getSQLListOfSchemas(DatabaseMeta dbMeta)
String
SnowflakeHVDatabaseMeta. getSQLListOfSchemas(DatabaseMeta databaseMeta)
default ResultSet
DatabaseInterface. getTables(DatabaseMetaData databaseMetaData, DatabaseMeta dbMeta, String schemaPattern, String tableNamePattern, String[] tableTypes)
ResultSet
SnowflakeHVDatabaseMeta. getTables(DatabaseMetaData databaseMetaData, DatabaseMeta dbMeta, String schemaPattern, String tableNamePattern, String[] tableTypes)
String
BaseDatabaseMeta. getTablespaceDDL(VariableSpace variables, DatabaseMeta databaseMeta, String tablespaceName)
Returns an empty string as most databases do not support tablespaces.String
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)
Method parameters in org.pentaho.di.core.database with type arguments of type DatabaseMeta Modifier and Type Method Description static DatabaseMeta
DatabaseMeta. findDatabase(List<DatabaseMeta> databases, ObjectId id)
Find a database with a certain ID in an arraylist of databases.String
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.Constructors in org.pentaho.di.core.database with parameters of type DatabaseMeta Constructor Description Database(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
Methods in org.pentaho.di.core.logging that return DatabaseMeta Modifier and Type Method Description DatabaseMeta
LogTableCoreInterface. getDatabaseMeta()
-
Uses of DatabaseMeta in org.pentaho.di.core.row
Methods in org.pentaho.di.core.row with parameters of type DatabaseMeta Modifier and Type Method Description ValueMetaInterface
ValueMetaInterface. 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
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
Methods in org.pentaho.di.core.row.value with parameters of type DatabaseMeta Modifier and Type Method Description ValueMetaInterface
ValueMetaBase. getMetadataPreview(DatabaseMeta databaseMeta, ResultSet rs)
ValueMetaInterface
ValueMetaInternetAddress. getMetadataPreview(DatabaseMeta databaseMeta, ResultSet rs)
ValueMetaInterface
ValueMetaTimestamp. getMetadataPreview(DatabaseMeta databaseMeta, ResultSet rs)
ValueMetaInterface
ValueMetaBase. getValueFromSQLType(DatabaseMeta databaseMeta, String name, ResultSetMetaData rm, int index, boolean ignoreLength, boolean lazyConversion)
ValueMetaInterface
ValueMetaInternetAddress. getValueFromSQLType(DatabaseMeta databaseMeta, String name, ResultSetMetaData rm, int index, boolean ignoreLength, boolean lazyConversion)
ValueMetaInterface
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
Methods in org.pentaho.di.metastore that return DatabaseMeta Modifier and Type Method Description static DatabaseMeta
DatabaseMetaStoreUtil. loadDatabaseMetaFromDatabaseElement(org.pentaho.metastore.api.IMetaStore metaStore, org.pentaho.metastore.api.IMetaStoreElement element)
Methods in org.pentaho.di.metastore that return types with arguments of type DatabaseMeta Modifier and Type Method Description static List<DatabaseMeta>
DatabaseMetaStoreUtil. getDatabaseElements(org.pentaho.metastore.api.IMetaStore metaStore)
Methods in org.pentaho.di.metastore with parameters of type DatabaseMeta Modifier and Type Method Description static 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)
-