Class BaseDatabaseStep

    • Method Detail

      • beforeStartProcessing

        public boolean beforeStartProcessing​(StepMetaInterface smi,
                                             StepDataInterface sdi)
                                      throws org.pentaho.di.core.exception.KettleException
        Description copied from interface: StepInterface
        This method is executed by Trans right before starting processing rows.
        Specified by:
        beforeStartProcessing in interface StepInterface
        Overrides:
        beforeStartProcessing in class BaseStep
        Parameters:
        smi - The steps metadata to work with
        sdi - The steps temporary working data to work with (database connections, result sets, caches, temporary variables, etc.)
        Throws:
        org.pentaho.di.core.exception.KettleException
      • connectToDatabaseOrInitDataSource

        public boolean connectToDatabaseOrInitDataSource​(BaseDatabaseStepMeta meta,
                                                         BaseDatabaseStepData data)
                                                  throws org.pentaho.di.core.exception.KettleDatabaseException
        Throws:
        org.pentaho.di.core.exception.KettleDatabaseException
      • connectToDatabase

        protected boolean connectToDatabase​(BaseDatabaseStepData data)
                                     throws org.pentaho.di.core.exception.KettleDatabaseException
        Throws:
        org.pentaho.di.core.exception.KettleDatabaseException
      • getPKG

        protected abstract Class<?> getPKG()
        Returns the specific step class needed for logging
        Returns:
        the specific step class needed for logging
      • isConnectToDatabaseOnInit

        protected boolean isConnectToDatabaseOnInit()
      • getStepExecutionId

        public String getStepExecutionId()