Class ConsumerRecord<K, V>
public class ConsumerRecord<K, V> : JVMBridgeBase<ConsumerRecord<K, V>>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Type Parameters
K
V
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<ConsumerRecord<K, V>>ConsumerRecord<K, V>
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<ConsumerRecord<K, V>>.SExecute<TNewClass, TReturn>(IJavaType, string, params object[])JVMBridgeBase<ConsumerRecord<K, V>>.IsAssignableFrom(IJavaType)JVMBridgeBase<ConsumerRecord<K, V>>.IsAssignableFrom<T>()JVMBridgeBase<ConsumerRecord<K, V>>.Execute<T>(params T[])JVMBridgeBase<ConsumerRecord<K, V>>.DynBridgeClazzJVMBridgeBase<ConsumerRecord<K, V>>.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.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
Constructors
ConsumerRecord()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public ConsumerRecord()
ConsumerRecord(String, int, long, long, TimestampType, int, int, K, V, Headers, Optional<Integer>)
public ConsumerRecord(String arg0, int arg1, long arg2, long arg3, TimestampType arg4, int arg5, int arg6, K arg7, V arg8, Headers arg9, Optional<Integer> arg10)
Parameters
arg0
Stringarg1
intarg2
longarg3
longarg4
TimestampTypearg5
intarg6
intarg7
KK
arg8
VV
arg9
Headersarg10
Optional<Integer>
ConsumerRecord(String, int, long, K, V)
public ConsumerRecord(String arg0, int arg1, long arg2, K arg3, V arg4)
Parameters
ConsumerRecord(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public ConsumerRecord(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
DateTime
public DateTime DateTime { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
NO_TIMESTAMP
public static long NO_TIMESTAMP { get; }
Property Value
NULL_SIZE
public static int NULL_SIZE { get; }
Property Value
Methods
Headers()
public Headers Headers()
Returns
Key()
public K Key()
Returns
- K
K
LeaderEpoch()
public Optional<Integer> LeaderEpoch()
Returns
Offset()
public long Offset()
Returns
Partition()
public int Partition()
Returns
SerializedKeySize()
public int SerializedKeySize()
Returns
SerializedValueSize()
public int SerializedValueSize()
Returns
Timestamp()
public long Timestamp()
Returns
TimestampType()
public TimestampType TimestampType()
Returns
Topic()
public String Topic()
Returns
Value()
public V Value()
Returns
- V
V
Operators
implicit operator ConsumerRecord(ConsumerRecord<K, V>)
Converter from ConsumerRecord<K, V> to ConsumerRecord
public static implicit operator ConsumerRecord(ConsumerRecord<K, V> t)
Parameters
t
ConsumerRecord<K, V>