Class TopicNameExtractor<K, V, TJVMK, TJVMV>
KNet implementation of TopicNameExtractor<K, V>
public class TopicNameExtractor<K, V, TJVMK, TJVMV> : TopicNameExtractor<TJVMK, TJVMV>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, ITopicNameExtractor<TJVMK, TJVMV>, ITopicNameExtractor, IJVMBridgeBase, IJVMBridgeDefinition, IGenericSerDesFactoryApplier
Type Parameters
K
The key type
V
The value type
TJVMK
The JVM key type
TJVMV
The JVM value type
- Inheritance
-
TopicNameExtractor<TJVMK, TJVMV>TopicNameExtractor<K, V, TJVMK, TJVMV>
- Implements
-
ITopicNameExtractor<TJVMK, TJVMV>
- Derived
- Inherited Members
Properties
Factory
Returns the current IGenericSerDesFactory
protected IGenericSerDesFactory Factory { get; }
Property Value
Key
The K
content
public virtual K Key { get; }
Property Value
- K
OnExtract
public Func<TopicNameExtractor<K, V, TJVMK, TJVMV>, string> OnExtract { get; set; }
Property Value
- Func<TopicNameExtractor<K, V, TJVMK, TJVMV>, string>
Remarks
RecordContext
Current RecordContext metadata of the record
public virtual RecordContext RecordContext { get; }
Property Value
Value
The V
content
public virtual V Value { get; }
Property Value
- V
Methods
Extract()
public virtual string Extract()
Returns
Extract(TJVMK, TJVMV, RecordContext)
public override sealed String Extract(TJVMK arg0, TJVMV arg1, RecordContext arg2)
Parameters
arg0
TJVMKK
arg1
TJVMVV
arg2
RecordContext