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.
Implementations of this interface are responsible for processing sources using scripts such as AWK.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisValidSource(Source source) Check if aSourceis 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- TheSourceProcessorthat will be used to execute requests and commands.- Returns:
- A
SourceTableobject representing the result of the source execution.
-
isValidSource
Check if aSourceis of the right sub type of source to be processed through the extension.- Parameters:
source- The source to check.- Returns:
- True if the
Sourceis of the right subtype of source, false if it's not.
-