Class KNetSourceConnector<TSourceConnector, TTask>
An implementation of KNetConnector<TConnector> for source connectors
public abstract class KNetSourceConnector<TSourceConnector, TTask> : KNetConnector<TSourceConnector>, IKNetConnector, IConnector, IVersion, IKNetConnectLogging where TSourceConnector : KNetSourceConnector<TSourceConnector, TTask> where TTask : KNetSourceTask<TTask>
Type Parameters
TSourceConnector
The connector class inherited from KNetSinkConnector<TSinkConnector, TTask>
TTask
The task class inherited from KNetSourceTask<TTask>
- Inheritance
-
KNetConnector<TSourceConnector>KNetSourceConnector<TSourceConnector, TTask>
- Implements
- Derived
- Inherited Members
Properties
Context
public SourceConnectorContext Context { get; }
Property Value
ExactlyOnceSupport
Implement the method to return the ExactlyOnceSupport value
public virtual ExactlyOnceSupport ExactlyOnceSupport { get; }
Property Value
ReflectedConnectorClassName
Set the ReflectedConnectorClassName of the connector to a fixed value
public override sealed string ReflectedConnectorClassName { get; }
Property Value
TaskClassType
Set the TaskClassType of the connector to the value defined from TTask
public override sealed Type TaskClassType { get; }
Property Value
Methods
CanDefineTransactionBoundaries()
Implement the method to return the ConnectorTransactionBoundaries value
public virtual ConnectorTransactionBoundaries CanDefineTransactionBoundaries()
Returns
CanDefineTransactionBoundariesInternal()
Public method used from Java to trigger CanDefineTransactionBoundaries()
public ConnectorTransactionBoundaries CanDefineTransactionBoundariesInternal()
Returns
ExactlyOnceSupportInternal()
Public method used from Java to trigger ExactlyOnceSupport
public ExactlyOnceSupport ExactlyOnceSupportInternal()