Class BaseFileMeta

java.lang.Object
org.pentaho.di.trans.step.BaseStepMeta
org.pentaho.di.trans.steps.file.BaseFileMeta
All Implemented Interfaces:
Cloneable, StepAttributesInterface, StepMetaInterface
Direct Known Subclasses:
BaseFileInputMeta, BaseFileOutputMeta

public abstract class BaseFileMeta extends BaseStepMeta implements StepMetaInterface
A base parent class for all file based metas.
  • Field Details

    • servletOutput

      protected boolean servletOutput
      Whether to push the output into the output of a servlet with the executeTrans Carte/DI-Server servlet
  • Constructor Details

    • BaseFileMeta

      public BaseFileMeta()
  • Method Details

    • getFilePaths

      public abstract String[] getFilePaths(boolean showSamples)
      Parameters:
      showSamples - determines whether the paths being returned are dummy samples or the "template" representation. The samples woulc include things like sample step number, partition number etc ( filename_0_1.txt) , while the non-sample path would include a token ( filename_<step>_<partition>.<extension>)
      Returns:
      An array of file paths
    • passDataToServletOutput

      public boolean passDataToServletOutput()
      True if the step passes it's result data straight to the servlet output. See exposing Kettle data over a web service http://wiki.pentaho.com/display/EAI/PDI+data+over+web+services
      Specified by:
      passDataToServletOutput in interface StepMetaInterface
      Returns:
      True if the step passes it's result data straight to the servlet output, false otherwise
    • writesToFile

      public boolean writesToFile()
      Returns true if the given step writes to a file, and false otherwise.
      Returns:
      true if the given step writes to a file, and false otherwise