Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Interfaces
  • Classes
  • Fields
  • Methods
  • Constructors
  • Enum Constants
  • Terminally Deprecated Elements
    Element
    Description
    org.pentaho.di.connections.vfs.BaseVFSConnectionProvider.setConnectionManagerSupplier(Supplier<ConnectionManager>)
     
  • Deprecated Interfaces
    Interface
    Description
    org.pentaho.di.core.database.DatabaseInterfaceExtended
    As of release 6.1. The methods will be added to the existing interface at the next major release. DatabaseMeta.getDropTableIfExistsStatement(String) which is using those new methods can be freely used, because it contains fallbacks in case of existing interface (DatabaseInterface) using.
  • Deprecated Classes
    Class
    Description
    org.pentaho.di.core.database.SqlCommentScrubber
    Use SqlScriptParser instead.
    org.pentaho.di.core.date.DateCache
    This class is not used within PDI
    org.pentaho.di.core.row.ValueMeta
  • Deprecated Fields
    Field
    Description
    org.pentaho.di.core.Const.USER_HOME_DIRECTORY
    Use Const.getUserHomeDirectory() instead.
    org.pentaho.di.core.Const.VERSION
    Use BuildVersion.getVersion() instead
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_ACCESS
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_AS400
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_CACHE
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_DB2
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_DBASE
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_DERBY
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_EXTENDB
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_FIREBIRD
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_GENERIC
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_GREENPLUM
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_GUPTA
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_H2
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_HYPERSONIC
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_INFOBRIGHT
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_INFORMIX
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_INGRES
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_INTERBASE
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_KINGBASEES
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_LUCIDDB
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_MONETDB
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_MSSQL
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_MYSQL
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_NEOVIEW
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_NETEZZA
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_NONE
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_ORACLE
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_ORACLE_RDB
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_PALO
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_POSTGRES
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_REMEDY_AR_SYSTEM
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_SAPDB
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_SAPR3
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_SQLITE
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_SYBASE
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_SYBASEIQ
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_TERADATA
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_UNIVERSE
     
    org.pentaho.di.core.database.DatabaseMeta.TYPE_DATABASE_VERTICA
     
  • Deprecated Methods
    Method
    Description
    org.pentaho.di.compatibility.Row.add(Object)
     
    org.pentaho.di.compatibility.Row.get(int)
     
    org.pentaho.di.compatibility.Row.remove(int)
     
    org.pentaho.di.connections.ConnectionProvider.getConnectionDetails()
    use getNames( ConnectionManager )
    org.pentaho.di.connections.ConnectionProvider.getNames()
    use getNames( ConnectionManager )
    org.pentaho.di.connections.vfs.BaseVFSConnectionProvider.setConnectionManagerSupplier(Supplier<ConnectionManager>)
     
    org.pentaho.di.connections.vfs.VFSHelper.getOpts(String, String, VariableSpace)
    , use the version with the Bowl
    org.pentaho.di.core.Const.isEmpty(CharSequence)
     
    org.pentaho.di.core.Const.isEmpty(CharSequence[])
     
    org.pentaho.di.core.Const.isEmpty(Object[])
     
    org.pentaho.di.core.Const.isEmpty(String)
     
    org.pentaho.di.core.Const.isEmpty(String[])
     
    org.pentaho.di.core.Const.isEmpty(StringBuffer)
     
    org.pentaho.di.core.Const.isEmpty(List<?>)
     
    org.pentaho.di.core.Const.replEnv(String)
    use StringUtil.environmentSubstitute(): handles both Windows and unix conventions
    org.pentaho.di.core.Const.replEnv(String[])
    please use StringUtil.environmentSubstitute now.
    org.pentaho.di.core.database.BaseDatabaseMeta.getBackwardsCompatibleSchemaTableCombination(String, String)
    we should phase this out in 5.0, but it's there to keep backwards compatibility in the 4.x releases.
    org.pentaho.di.core.database.BaseDatabaseMeta.getBackwardsCompatibleTable(String)
    we should phase this out in 5.0, but it's there to keep backwards compatibility in the 4.x releases.
    org.pentaho.di.core.database.ConnectionPoolUtil.getConnection(LogChannelInterface, DatabaseMeta, String)
    (Please use on init the step and then just get the connection when needed)
    org.pentaho.di.core.database.Database.checkColumnExists(String, String)
    Deprecated in favor of the smarter Database.checkColumnExists(String, String, String)
    org.pentaho.di.core.database.Database.checkTableExists(String)
    Deprecated in favor of Database.checkTableExists(String, String)
    org.pentaho.di.core.database.Database.checkTableExistsByDbMeta(String, String)
    Deprecated in favor of Database.checkTableExists(String, String)
    org.pentaho.di.core.database.Database.clearInsertBatch()
     
    org.pentaho.di.core.database.Database.insertFinished(PreparedStatement, boolean)
    use emptyAndCommit() instead (pass in the number of rows left in the batch)
    org.pentaho.di.core.database.DatabaseInterface.addDefaultOptions()
    No longer works with the UI, Use getDefaultOptions, instead
    org.pentaho.di.core.database.DatabaseMeta.getDatabaseTypeDesc()
    This is actually the plugin ID
    org.pentaho.di.core.database.DatabaseMeta.getSchemaTableCombination(String, String)
    please use getQuotedSchemaTableCombination()
    org.pentaho.di.core.database.DatabaseMeta.supportsTransactions()
    because the same database can support transactions or not. It all depends on the database setup. Therefor, we look at the database metadata DatabaseMetaData.supportsTransactions() in stead of this.
    org.pentaho.di.core.database.map.DatabaseConnectionMap.getDatabase(String, String, Database)
    use DatabaseConnectionMap.getOrStoreIfAbsent(String, String, Database) instead
    org.pentaho.di.core.database.map.DatabaseConnectionMap.storeDatabase(String, String, Database)
    use DatabaseConnectionMap.getOrStoreIfAbsent(String, String, Database) instead
    org.pentaho.di.core.encryption.Encr.checkSignatureShort(String, String)
     
    org.pentaho.di.core.encryption.Encr.getSignatureShort(String)
     
    org.pentaho.di.core.encryption.Encr.init()
    org.pentaho.di.core.encryption.KettleTwoWayPasswordEncoder.decryptPassword(String)
     
    org.pentaho.di.core.encryption.KettleTwoWayPasswordEncoder.decryptPasswordOptionallyEncrypted(String)
    - Use the instance method through Encr instead of this directly
    org.pentaho.di.core.encryption.KettleTwoWayPasswordEncoder.encryptPassword(String)
    - use the instance method through Encr instead of this directly
    org.pentaho.di.core.encryption.KettleTwoWayPasswordEncoder.encryptPasswordIfNotUsingVariables(String)
    - Use the instance method through Encr instead of this directly
    org.pentaho.di.core.fileinput.FileInputList.createFileList(VariableSpace, String[], String[], String[], boolean[])
    , use the version with the Bowl
    org.pentaho.di.core.fileinput.FileInputList.createFileList(VariableSpace, String[], String[], String[], String[])
    , use the version with the Bowl
    org.pentaho.di.core.fileinput.FileInputList.createFileList(VariableSpace, String[], String[], String[], String[], boolean[])
    , use the version with the Bowl
    org.pentaho.di.core.fileinput.FileInputList.createFileList(VariableSpace, String[], String[], String[], String[], boolean[], FileInputList.FileTypeFilter[])
    , use the version with the Bowl
    org.pentaho.di.core.fileinput.FileInputList.createFilePathList(VariableSpace, String[], String[], String[])
    , use the version with the Bowl
    org.pentaho.di.core.fileinput.FileInputList.createFilePathList(VariableSpace, String[], String[], String[], String[])
    , use the version with the Bowl
    org.pentaho.di.core.fileinput.FileInputList.createFilePathList(VariableSpace, String[], String[], String[], String[], boolean[])
    , use the version with the Bowl
    org.pentaho.di.core.fileinput.FileInputList.createFilePathList(VariableSpace, String[], String[], String[], String[], boolean[], FileInputList.FileTypeFilter[])
    , use the version with the Bowl
    org.pentaho.di.core.fileinput.FileInputList.createFolderList(VariableSpace, String[], String[])
    , use the version with the Bowl
    org.pentaho.di.core.logging.LoggingBuffer.dump()
    org.pentaho.di.core.logging.LoggingBuffer.getBufferIterator()
    org.pentaho.di.core.logging.LoggingBuffer.getBufferLinesBefore(long)
    in favor of LoggingBuffer.removeBufferLinesBefore(long).
    org.pentaho.di.core.logging.LoggingBuffer.removeBufferLines(List<BufferLine>)
    in favor of LoggingBuffer.removeBufferLinesBefore(long).
    org.pentaho.di.core.logging.LoggingRegistry.getMap()
    This is unsafe call and references to this method will be removed.
    org.pentaho.di.core.logging.LogMessage.setArguments(Object[])
    org.pentaho.di.core.logging.LogMessage.setLevel(LogLevel)
    org.pentaho.di.core.logging.LogMessage.setLogChannelId(String)
    org.pentaho.di.core.logging.LogMessage.setMessage(String)
    org.pentaho.di.core.logging.LogMessage.setSubject(String)
    org.pentaho.di.core.logging.LogMessage.toString()
    org.pentaho.di.core.osgi.api.NamedClusterOsgi.addSiteFile(String, String)
    org.pentaho.di.core.row.RowMeta.oldXORHashCode(Object[])
     
    org.pentaho.di.core.row.RowMetaInterface.mergeRowMeta(RowMetaInterface)
    org.pentaho.di.core.row.RowMetaInterface.oldXORHashCode(Object[])
     
    org.pentaho.di.core.row.value.ValueMetaBase.getConversionMask()
    org.pentaho.di.core.row.value.ValueMetaBase.setType(int)
     
    org.pentaho.di.core.row.ValueDataUtil.ChecksumAdler32(ValueMetaInterface, Object)
    Use ValueDataUtil.checksumAdler32(ValueMetaInterface, Object, boolean) instead
    org.pentaho.di.core.row.ValueDataUtil.ChecksumCRC32(ValueMetaInterface, Object)
    Use ValueDataUtil.checksumCRC32(ValueMetaInterface, Object, boolean) instead
    org.pentaho.di.core.row.ValueDataUtil.createChecksum(ValueMetaInterface, Object, String)
    Use ValueDataUtil.createChecksum(ValueMetaInterface, Object, String, boolean) instead
    org.pentaho.di.core.row.ValueDataUtil.divide(ValueMetaInterface, Object, ValueMetaInterface, Object)
    org.pentaho.di.core.row.ValueDataUtil.divideBigDecimals(BigDecimal, BigDecimal, MathContext)
    org.pentaho.di.core.row.ValueDataUtil.getFileEncoding(ValueMetaInterface, Object)
    Use ValueDataUtil.getFileEncoding(ValueMetaInterface, Object, boolean) instead
    org.pentaho.di.core.row.ValueDataUtil.isSpace(char)
    Use Const.isSpace(char) instead
    org.pentaho.di.core.row.ValueDataUtil.isXMLFileWellFormed(ValueMetaInterface, Object)
    Use ValueDataUtil.isXMLFileWellFormed(ValueMetaInterface, Object, boolean) instead
    org.pentaho.di.core.row.ValueDataUtil.leftTrim(String)
    Use Const.ltrim(String) instead
    org.pentaho.di.core.row.ValueDataUtil.loadFileContentInBinary(ValueMetaInterface, Object)
    Use ValueDataUtil.loadFileContentInBinary(ValueMetaInterface, Object, boolean) instead
    org.pentaho.di.core.row.ValueDataUtil.percent1(ValueMetaInterface, Object, ValueMetaInterface, Object)
    org.pentaho.di.core.row.ValueDataUtil.percent2(ValueMetaInterface, Object, ValueMetaInterface, Object)
    org.pentaho.di.core.row.ValueDataUtil.percent3(ValueMetaInterface, Object, ValueMetaInterface, Object)
    org.pentaho.di.core.row.ValueDataUtil.rightTrim(String)
    Use Const.rtrim(String) instead
    org.pentaho.di.core.row.ValueDataUtil.trim(String)
    Use Const.trim(String) instead
    org.pentaho.di.core.row.ValueMeta.setType(int)
     
    org.pentaho.di.core.row.ValueMetaInterface.setType(int)
    This method is deprecated. The same code is still used underneath.
    org.pentaho.di.core.vfs.IKettleVFS.getTextFileContent(String, String)
    use getInstance( Bowl )
    org.pentaho.di.core.vfs.KettleVFS.createTempFile(String, String, String)
    use getInstance( Bowl )
    org.pentaho.di.core.vfs.KettleVFS.createTempFile(String, String, String, VariableSpace)
    use getInstance( Bowl )
    org.pentaho.di.core.vfs.KettleVFS.createTempFile(String, KettleVFS.Suffix)
    use getInstance( Bowl )
    org.pentaho.di.core.vfs.KettleVFS.createTempFile(String, KettleVFS.Suffix, String)
    use getInstance( Bowl )
    org.pentaho.di.core.vfs.KettleVFS.createTempFile(String, KettleVFS.Suffix, String, VariableSpace)
    use getInstance( Bowl )
    org.pentaho.di.core.vfs.KettleVFS.createTempFile(String, KettleVFS.Suffix, VariableSpace)
    use getInstance( Bowl )
    org.pentaho.di.core.vfs.KettleVFS.fileExists(String)
    use getInstance( Bowl )
    org.pentaho.di.core.vfs.KettleVFS.fileExists(String, VariableSpace)
    use getInstance( Bowl )
    org.pentaho.di.core.vfs.KettleVFS.getFileInputStream(FileObject)
    because of API change in Apache VFS. As a workaround use FileObject.getName().getPathDecoded(); Then use a regular File() object to create a File Input stream.
    org.pentaho.di.core.vfs.KettleVFS.getFileObject(String)
    use getInstance( Bowl )
    org.pentaho.di.core.vfs.KettleVFS.getFileObject(String, FileSystemOptions)
    use getInstance( Bowl )
    org.pentaho.di.core.vfs.KettleVFS.getFileObject(String, VariableSpace)
    use getInstance( Bowl )
    org.pentaho.di.core.vfs.KettleVFS.getFileObject(String, VariableSpace, FileSystemOptions)
    use getInstance( Bowl )
    org.pentaho.di.core.vfs.KettleVFS.getFriendlyURI(String)
    use getInstance( Bowl )
    org.pentaho.di.core.vfs.KettleVFS.getFriendlyURI(String, VariableSpace)
    use getInstance( Bowl )
    org.pentaho.di.core.vfs.KettleVFS.getInputStream(String)
    use getInstance( Bowl )
    org.pentaho.di.core.vfs.KettleVFS.getInputStream(String, VariableSpace)
    use getInstance( Bowl )
    org.pentaho.di.core.vfs.KettleVFS.getOutputStream(String, boolean)
    use getInstance( Bowl )
    org.pentaho.di.core.vfs.KettleVFS.getOutputStream(String, VariableSpace, boolean)
    use getInstance( Bowl )
    org.pentaho.di.core.vfs.KettleVFS.getOutputStream(String, VariableSpace, FileSystemOptions, boolean)
    use getInstance( Bowl )
    org.pentaho.di.core.vfs.KettleVFS.getOutputStream(FileObject, boolean)
    use getInstance( Bowl )
    org.pentaho.di.core.vfs.KettleVFS.getTextFileContent(String, String)
    use getInstance( Bowl )
    org.pentaho.di.core.vfs.KettleVFS.getTextFileContent(String, VariableSpace, String)
    use getInstance( Bowl )
  • Deprecated Constructors
    Constructor
    Description
    org.pentaho.di.core.database.Database(DatabaseMeta)
    Please specify the parent object so that we can see which object is initiating a database connection
    org.pentaho.di.core.osgi.impl.NamedClusterSiteFileImpl(String, String)
    org.pentaho.di.core.row.value.ValueMetaBase(DataInputStream)
    in favor of a combination of ValueMetaFactory.createValueMeta() and the loadMetaData() method.
    org.pentaho.di.core.row.value.ValueMetaBase(String, int, int)
    use ValueMetaBase(String, int) and ValueMetaBase.setStorageType(int) instead
    org.pentaho.di.core.row.ValueMeta(DataInputStream)
     
    org.pentaho.di.core.row.ValueMeta(String)
    org.pentaho.di.core.row.ValueMeta(String, int, int)
    org.pentaho.di.core.row.ValueMeta(Node)
     
  • Deprecated Enum Constants
    Enum Constant
    Description
    org.pentaho.di.core.ObjectLocationSpecificationMethod.REPOSITORY_BY_REFERENCE

Copyright © 2024 Hitachi Vantara. All rights reserved.