Class Join

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, EnvironmentHandler, BeanCommon, DataSource, DataSourceListener, EventConstraints, InstanceListener, StructureProducer, TestSetListener, TrainingSetListener, Visible

Version:
$Revision: 11251 $
Author:
Mark Hall (mhall{[at]}pentaho{[dot]}com)
See Also:
  • Constructor Details

    • Join

      public Join()
      Constructor
  • Method Details

    • globalInfo

      public String globalInfo()
      Global info for the method
      Returns:
      the global help info
    • setKeySpec

      public void setKeySpec(String ks)
      Set the key specification (in internal format - k11,k12,...,k1nKEY_SPEC_SEPARATORk21,k22,...,k2n)
      Parameters:
      ks - the keys specification
    • getKeySpec

      public String getKeySpec()
      Get the key specification (in internal format - k11,k12,...,k1nKEY_SPEC_SEPARATORk21,k22,...,k2n)
      Returns:
      the keys specification
    • eventGeneratable

      public boolean eventGeneratable(String eventName)
      Description copied from interface: EventConstraints
      Returns true if, at the current time, the named event could be generated.
      Specified by:
      eventGeneratable in interface EventConstraints
      Parameters:
      eventName - the name of the event in question
      Returns:
      true if the named event could be generated
    • acceptInstance

      public void acceptInstance(InstanceEvent e)
      Description copied from interface: InstanceListener
      Accept and process an instance event
      Specified by:
      acceptInstance in interface InstanceListener
      Parameters:
      e - an InstanceEvent value
    • acceptTestSet

      public void acceptTestSet(TestSetEvent e)
      Accept and process a test set
      Specified by:
      acceptTestSet in interface TestSetListener
      Parameters:
      e - the test set event encapsulating the test set
    • acceptTrainingSet

      public void acceptTrainingSet(TrainingSetEvent e)
      Accept and process a training set
      Specified by:
      acceptTrainingSet in interface TrainingSetListener
      Parameters:
      e - the training set event encapsulating the training set
    • acceptDataSet

      public void acceptDataSet(DataSetEvent e)
      Accept and process a data set
      Specified by:
      acceptDataSet in interface DataSourceListener
      Parameters:
      e - the data set event encapsulating the data set
    • addDataSourceListener

      public void addDataSourceListener(DataSourceListener dsl)
      Add a data source listener
      Specified by:
      addDataSourceListener in interface DataSource
      Parameters:
      dsl - the data source listener to add
    • removeDataSourceListener

      public void removeDataSourceListener(DataSourceListener dsl)
      Remove a data souce listener
      Specified by:
      removeDataSourceListener in interface DataSource
      Parameters:
      dsl - the data source listener to remove
    • addInstanceListener

      public void addInstanceListener(InstanceListener dsl)
      Add an instance listener
      Specified by:
      addInstanceListener in interface DataSource
      Parameters:
      dsl - the instance listener to add
    • removeInstanceListener

      public void removeInstanceListener(InstanceListener dsl)
      Remove an instance listener
      Specified by:
      removeInstanceListener in interface DataSource
      Parameters:
      dsl - the instance listener to remove
    • useDefaultVisual

      public void useDefaultVisual()
      Use the default visual for this step
      Specified by:
      useDefaultVisual in interface Visible
    • setVisual

      public void setVisual(BeanVisual newVisual)
      Set the visual for this step
      Specified by:
      setVisual in interface Visible
      Parameters:
      newVisual - the visual to use
    • getVisual

      public BeanVisual getVisual()
      Get the visual for this step
      Specified by:
      getVisual in interface Visible
      Returns:
      the visual (icon)
    • setCustomName

      public void setCustomName(String name)
      Set a custom name for this step
      Specified by:
      setCustomName in interface BeanCommon
      Parameters:
      name - the custom name to use
    • getCustomName

      public String getCustomName()
      Get the custom name of this step
      Specified by:
      getCustomName in interface BeanCommon
      Returns:
      the custom name of this step
    • stop

      public void stop()
      Attempt to stop processing
      Specified by:
      stop in interface BeanCommon
    • isBusy

      public boolean isBusy()
      Returns true if we are doing something
      Specified by:
      isBusy in interface BeanCommon
      Returns:
      true if processing is occurring
    • setLog

      public void setLog(Logger logger)
      Set a log to use
      Specified by:
      setLog in interface BeanCommon
      Parameters:
      logger - the log to use
    • connectionAllowed

      public boolean connectionAllowed(EventSetDescriptor esd)
      Returns true if the named connection can be made at this time
      Specified by:
      connectionAllowed in interface BeanCommon
      Parameters:
      esd - the event set descriptor of the connection
      Returns:
      true if the connection is allowed
    • connectionAllowed

      public boolean connectionAllowed(String eventName)
      Returns true if the named connection can be made at this time
      Specified by:
      connectionAllowed in interface BeanCommon
      Parameters:
      eventName - the name of the connection
      Returns:
      true if the connection is allowed
    • connectionNotification

      public void connectionNotification(String eventName, Object source)
      Deals with a new connection
      Specified by:
      connectionNotification in interface BeanCommon
      Parameters:
      eventName - the event type of the connection
      source - the source step
    • disconnectionNotification

      public void disconnectionNotification(String eventName, Object source)
      Handles cleanup when an upstream step disconnects
      Specified by:
      disconnectionNotification in interface BeanCommon
      Parameters:
      eventName - the event type of the connection
      source - the source step
    • getStructure

      public Instances getStructure(String eventName)
      Get the output instances structure given an input event type
      Specified by:
      getStructure in interface StructureProducer
      Parameters:
      eventName - the name of the input event type
      Returns:
      the output instances structure (or null)
    • setEnvironment

      public void setEnvironment(Environment env)
      Set environment variables to use
      Specified by:
      setEnvironment in interface EnvironmentHandler
      Parameters:
      env - the environment variables to use