Class LastByDisScriptUpdate

java.lang.Object
com.illumon.iris.console.events.LastByDisScriptUpdate
All Implemented Interfaces:
InWorkerServiceScriptUpdate

public class LastByDisScriptUpdate extends Object implements InWorkerServiceScriptUpdate
InWorkerServiceScriptUpdate implementation for in-worker DIS scripts. This starts the script with a comment that indicates the last-by table map variable name and how to use it.
  • Constructor Details

    • LastByDisScriptUpdate

      public LastByDisScriptUpdate()
  • Method Details

    • getNewScriptText

      @Nullable public String getNewScriptText(@Nullable String scriptLanguage)
      Description copied from interface: InWorkerServiceScriptUpdate
      Given the script language, return the new script.
      Specified by:
      getNewScriptText in interface InWorkerServiceScriptUpdate
      Parameters:
      scriptLanguage - the script language
      Returns:
      the script to be used for a new query, or null if no starting script is needed