Deprecated API


Contents
Deprecated Classes
org.pentaho.di.ui.core.database.dialog.DatabaseExplorerDialogLegacy
           
org.pentaho.di.core.logging.Log4jStringAppender
          please use the centralized CentralLogStore to get your log lines from. Pass the log channel id of the parent object that you want the log for. 
 

Deprecated Fields
org.pentaho.di.trans.step.BaseStep.linesInput
          please use the supplied getters, setters and increment/decrement methods 
org.pentaho.di.trans.step.BaseStep.linesOutput
          please use the supplied getters, setters and increment/decrement methods 
org.pentaho.di.trans.step.BaseStep.linesRead
          please use the supplied getters, setters and increment/decrement methods 
org.pentaho.di.trans.step.BaseStep.linesRejected
          please use the supplied getters, setters and increment/decrement methods 
org.pentaho.di.trans.step.BaseStep.linesSkipped
          please use the supplied getters, setters and increment/decrement methods 
org.pentaho.di.trans.step.BaseStep.linesUpdated
          please use the supplied getters, setters and increment/decrement methods 
org.pentaho.di.trans.step.BaseStep.linesWritten
          please use the supplied getters, setters and increment/decrement methods 
org.pentaho.di.repository.RepositoryObject.STRING_OBJECT_TYPE_JOB
           
org.pentaho.di.repository.RepositoryObject.STRING_OBJECT_TYPE_TRANSFORMATION
           
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
            
org.pentaho.di.core.Const.USER_HOME_DIRECTORY
          Use Const.getUserHomeDirectory() instead. 
 

Deprecated Methods
org.pentaho.di.compatibility.Row.add(Object)
            
org.pentaho.di.core.database.Database.clearInsertBatch()
            
org.pentaho.di.trans.steps.textfileinput.TextFileInput.convertLineToRow(LogChannelInterface, TextFileLine, InputFileMetaInterface, RowMetaInterface, RowMetaInterface, String, long, String, FileErrorHandler, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, String, String, boolean, Date, String, String, String, long)
          Use #convertLineToRow(TextFileLine,InputFileMetaInterface,Object[],int,RowMetaInterface,RowMetaInterface,String,long, FileErrorHandler) instead 
org.pentaho.di.core.logging.LogWriter.createStringAppender()
          Please use CentralLogStore.getAppender() instead. This uses a central logging buffer in stead of a distributed one. It also supports incremental buffer gets, and much more. 
org.pentaho.di.trans.TransMeta.findNextStep(StepMeta, int)
          just get the next steps as an array 
org.pentaho.di.trans.TransMeta.findNrNextSteps(StepMeta)
          just get the next steps as an array 
org.pentaho.di.trans.TransMeta.findNrPrevSteps(StepMeta, boolean)
          please use method findPreviousSteps 
org.pentaho.di.trans.TransMeta.findNrPrevSteps(String)
            
org.pentaho.di.trans.TransMeta.findNrPrevSteps(String, boolean)
            
org.pentaho.di.trans.TransMeta.findPrevStep(StepMeta, int, boolean)
          please use method findPreviousSteps 
org.pentaho.di.trans.TransMeta.findPrevStep(String, int)
            
org.pentaho.di.trans.TransMeta.findPrevStep(String, int, boolean)
            
org.pentaho.di.compatibility.Row.get(int)
            
org.pentaho.di.ui.core.PropsUI.getBackupgroundRGB()
            
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.DatabaseMeta.getDatabaseTypeDesc()
          This is actually the plugin ID 
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.job.entries.job.JobEntryJob.getFileName()
          use getFilename() instead. 
org.pentaho.di.job.entries.trans.JobEntryTrans.getFileName()
          use getFilename() instead 
org.pentaho.di.trans.TransMeta.getNextSteps(StepMeta)
          use findNextSteps instead 
org.pentaho.di.trans.step.BaseStepMeta.getRequiredFields()
            
org.pentaho.di.core.database.DatabaseMeta.getSchemaTableCombination(String, String)
          please use getQuotedSchemaTableCombination() 
org.pentaho.di.job.entry.JobEntryBase.getTypeId()
          in favor of getPluginId() 
org.pentaho.di.job.entry.JobEntryInterface.getTypeId()
          in favor of getPluginId() 
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.row.ValueDataUtil.isSpace(char)
          Use Const.isSpace(char) instead 
org.pentaho.di.core.row.ValueDataUtil.leftTrim(String)
          Use Const.ltrim(String) instead 
org.pentaho.di.core.row.RowMetaInterface.oldXORHashCode(Object[])
            
org.pentaho.di.core.row.RowMeta.oldXORHashCode(Object[])
            
org.pentaho.di.ui.core.gui.GUIResource.reload()
          because you can't guarantee that all the disposed colors and fonts are no longer used in the GUI. 
org.pentaho.di.compatibility.Row.remove(int)
            
org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryDirectoryDelegate.renameRepositoryDirectory(RepositoryDirectory)
           
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.row.ValueDataUtil.rightTrim(String)
          Use Const.rtrim(String) instead 
org.pentaho.di.job.entry.JobEntryBase.setTypeId(String)
          in favor of setPluginId() 
org.pentaho.di.trans.step.BaseStep.stopRunning()
            
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.row.ValueDataUtilTest.testIsSpace()
          Use Const#isSpace(char) instead 
org.pentaho.di.core.row.ValueDataUtilTest.testLeftTrim()
          Use Const#ltrim(String) instead 
org.pentaho.di.core.row.ValueDataUtilTest.testRightTrim()
          Use Const#rtrim(String) instead 
org.pentaho.di.core.row.ValueDataUtilTest.testTrim()
          Use Const#trim(String) instead 
org.pentaho.di.core.row.ValueDataUtil.trim(String)
          Use Const.trim(String) instead 
 

Deprecated Constructors
org.pentaho.di.ui.spoon.wizards.CopyTableWizardPage1(String, PropsUI, List)
            
org.pentaho.di.ui.spoon.wizards.CopyTableWizardPage2(String, LogWriter, PropsUI)
            
org.pentaho.di.ui.spoon.wizards.CopyTableWizardPage3(String, LogWriter, PropsUI, Repository)
            
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.ui.core.dialog.EnterListDialog(Shell, int, LogWriter, PropsUI, String[])
          Use CT without log and props parameter 
org.pentaho.di.ui.core.dialog.EnterNumberDialog(Shell, PropsUI, int, String, String)
          Use the CT without the Props parameter (at 2nd position) 
org.pentaho.di.ui.core.dialog.EnterOptionsDialog(Shell, PropsUI)
          Use CT without props parameter instead 
org.pentaho.di.ui.core.dialog.EnterPasswordDialog(Shell, PropsUI, String, String, String)
          Use CT without the props parameter (at 2nd position) 
org.pentaho.di.ui.core.dialog.EnterSelectionDialog(Shell, PropsUI, String[], String, String)
          Use CT without props parameter 
org.pentaho.di.ui.spoon.dialog.GetSQLProgressDialog(LogWriter, Props, Shell, TransMeta)
          please use the constructor version without log or props 
org.pentaho.di.job.JobEntryResult(Result, String, String, JobEntryCopy)
           
org.pentaho.di.repository.RepositoriesMeta(LogWriter)
           
org.pentaho.di.ui.spoon.wizards.RipDatabaseWizardPage1(String, PropsUI, List)
            
org.pentaho.di.ui.core.dialog.SQLStatementsDialog(Shell, VariableSpace, int, LogWriter, PropsUI, List)
          Use CT without props parameter