Interface ISourceComputationExtension
public interface ISourceComputationExtension
Defines the contract for source computation extensions within the system. Source computation extensions are responsible for
executing internal data manipulation. Implementations of this interface must provide mechanisms to execute operations related to sources.
-
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) Executes a source operation based on the given source and configuration within the telemetry manager.
-
Method Details
-
processSource
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.- 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.
-