Interface ICompositeSourceScriptExtension


public interface ICompositeSourceScriptExtension
Contract for composite source script extensions.
Implementations of this interface are responsible for processing sources using scripts such as AWK.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Check if a Source is of the right sub type of source to be processed through the extension.
    processSource(Source source, String connectorId, TelemetryManager telemetryManager, SourceProcessor sourceProcessor)
    Executes a source operation based on the given source and configuration within the telemetry manager.
  • Method Details

    • processSource

      SourceTable processSource(Source source, String connectorId, TelemetryManager telemetryManager, SourceProcessor sourceProcessor)
      Executes a source operation based on the given source and configuration within the telemetry manager.
      Parameters:
      source - The source to execute.
      connectorId - The connector Identifier.
      telemetryManager - The telemetry manager to use for monitoring.
      sourceProcessor - The SourceProcessor that will be used to execute requests and commands.
      Returns:
      A SourceTable object representing the result of the source execution.
    • isValidSource

      boolean isValidSource(Source source)
      Check if a Source is of the right sub type of source to be processed through the extension.
      Parameters:
      source - The source to check.
      Returns:
      True if the Source is of the right subtype of source, false if it's not.