Class SinkRecord<TKey, TValue>
Extension of ConnectRecord<R, TKey, TValue>
public class SinkRecord<TKey, TValue> : ConnectRecord<SinkRecord<TKey, TValue>, TKey, TValue>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Type Parameters
TKey
TValue
- Inheritance
-
JVMBridgeBaseConnectRecord<SinkRecord<TKey, TValue>, TKey, TValue>SinkRecord<TKey, TValue>
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<ConnectRecord<SinkRecord<TKey, TValue>, TKey, TValue>>.SGetFieldArray<TReturn>(string)JVMBridgeBase<ConnectRecord<SinkRecord<TKey, TValue>, TKey, TValue>>.IsAssignableFrom(IJavaType)JVMBridgeBase<ConnectRecord<SinkRecord<TKey, TValue>, TKey, TValue>>.IsAssignableFrom<T>()JVMBridgeBase<ConnectRecord<SinkRecord<TKey, TValue>, TKey, TValue>>.Execute<T>(params T[])JVMBridgeBase<ConnectRecord<SinkRecord<TKey, TValue>, TKey, TValue>>.DynBridgeClazzJVMBridgeBase<ConnectRecord<SinkRecord<TKey, TValue>, TKey, TValue>>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Execute<T>(params T[])JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeInterfaceJVMBridgeBase.IsBridgeStaticJVMBridgeBase.IsBridgeCloseableJVMBridgeBase.IsBridgeListener
Constructors
SinkRecord()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public SinkRecord()
SinkRecord(string, int, Schema, TKey, Schema, TValue, long)
public SinkRecord(string topic, int partition, Schema keySchema, TKey key, Schema valueSchema, TValue value, long kafkaOffset)
Parameters
topic
stringpartition
intkeySchema
Schemakey
TKeyvalueSchema
Schemavalue
TValuekafkaOffset
long
SinkRecord(string, int, Schema, TKey, Schema, TValue, long, DateTime, TimestampType)
public SinkRecord(string topic, int partition, Schema keySchema, TKey key, Schema valueSchema, TValue value, long kafkaOffset, DateTime timestamp, TimestampType timestampType)
Parameters
topic
stringpartition
intkeySchema
Schemakey
TKeyvalueSchema
Schemavalue
TValuekafkaOffset
longtimestamp
DateTimetimestampType
TimestampType
SinkRecord(string, int, Schema, TKey, Schema, TValue, long, DateTime, TimestampType, Headers)
public SinkRecord(string topic, int partition, Schema keySchema, TKey key, Schema valueSchema, TValue value, long kafkaOffset, DateTime timestamp, TimestampType timestampType, Headers headers)
Parameters
topic
stringpartition
intkeySchema
Schemakey
TKeyvalueSchema
Schemavalue
TValuekafkaOffset
longtimestamp
DateTimetimestampType
TimestampTypeheaders
Headers
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
KafkaOffset
Offset in Kafka
public long KafkaOffset { get; }
Property Value
TimestampType
The TimestampType
public TimestampType TimestampType { get; }
Property Value
Operators
implicit operator SinkRecord(SinkRecord<TKey, TValue>)
Converts an SinkRecord<TKey, TValue> in SinkRecord
public static implicit operator SinkRecord(SinkRecord<TKey, TValue> source)
Parameters
source
SinkRecord<TKey, TValue>The SinkRecord<TKey, TValue> to convert