Class TextFileOutputLegacyMeta

All Implemented Interfaces:
Cloneable, StepAttributesInterface, StepMetaInterface

@Deprecated public class TextFileOutputLegacyMeta extends TextFileOutputMeta
Deprecated.
use TextFileOutputMeta instead.
This is deprecated version with capability run as command.
  • Constructor Details

    • TextFileOutputLegacyMeta

      public TextFileOutputLegacyMeta()
      Deprecated.
  • Method Details

    • isFileAsCommand

      public boolean isFileAsCommand()
      Deprecated.
      Overrides:
      isFileAsCommand in class BaseFileOutputMeta
      Returns:
      FileAsCommand
    • setFileAsCommand

      public void setFileAsCommand(boolean fileAsCommand)
      Deprecated.
      Overrides:
      setFileAsCommand in class BaseFileOutputMeta
      Parameters:
      fileAsCommand - The fileAsCommand to set
    • readData

      protected void readData(Node stepnode, org.pentaho.metastore.api.IMetaStore metastore) throws org.pentaho.di.core.exception.KettleXMLException
      Deprecated.
      Overrides:
      readData in class TextFileOutputMeta
      Throws:
      org.pentaho.di.core.exception.KettleXMLException
    • setDefault

      public void setDefault()
      Deprecated.
      Description copied from interface: StepMetaInterface
      Set default values
      Specified by:
      setDefault in interface StepMetaInterface
      Overrides:
      setDefault in class TextFileOutputMeta
    • saveFileOptions

      protected void saveFileOptions(StringBuilder retval)
      Deprecated.
      Overrides:
      saveFileOptions in class TextFileOutputMeta
    • readRep

      public void readRep(Repository rep, org.pentaho.metastore.api.IMetaStore metaStore, org.pentaho.di.repository.ObjectId id_step, List<org.pentaho.di.core.database.DatabaseMeta> databases) throws org.pentaho.di.core.exception.KettleException
      Deprecated.
      Description copied from interface: StepMetaInterface
      Read the steps information from a Kettle repository
      Specified by:
      readRep in interface StepMetaInterface
      Overrides:
      readRep in class TextFileOutputMeta
      Parameters:
      rep - The repository to read from
      metaStore - The MetaStore to read external information from
      id_step - The step ID
      databases - The databases to reference
      Throws:
      org.pentaho.di.core.exception.KettleException - When an unexpected error occurred (database, network, etc)
    • saveRep

      public void saveRep(Repository rep, org.pentaho.metastore.api.IMetaStore metaStore, org.pentaho.di.repository.ObjectId id_transformation, org.pentaho.di.repository.ObjectId id_step) throws org.pentaho.di.core.exception.KettleException
      Deprecated.
      Description copied from interface: StepMetaInterface
      Save the steps data into a Kettle repository
      Specified by:
      saveRep in interface StepMetaInterface
      Overrides:
      saveRep in class TextFileOutputMeta
      Parameters:
      rep - The Kettle repository to save to
      metaStore - the metaStore to optionally write to
      id_transformation - The transformation ID
      id_step - The step ID
      Throws:
      org.pentaho.di.core.exception.KettleException - When an unexpected error occurred (database, network, etc)
    • buildFilename

      public String buildFilename(String filename, String extension, org.pentaho.di.core.variables.VariableSpace space, int stepnr, String partnr, int splitnr, boolean ziparchive, TextFileOutputMeta meta)
      Deprecated.
      Overrides:
      buildFilename in class TextFileOutputMeta
    • getStep

      public StepInterface getStep(StepMeta stepMeta, StepDataInterface stepDataInterface, int cnr, TransMeta transMeta, Trans trans)
      Deprecated.
      Description copied from interface: StepMetaInterface
      Get the executing step, needed by Trans to launch a step.
      Specified by:
      getStep in interface StepMetaInterface
      Overrides:
      getStep in class TextFileOutputMeta
      Parameters:
      stepMeta - The step info
      stepDataInterface - the step data interface linked to this step. Here the step can store temporary data, database connections, etc.
      cnr - The copy nr to get
      transMeta - The transformation info
      trans - The launching transformation