Table of Contents

Class TopicNameExtractor<K, V, TJVMK, TJVMV>

Namespace
MASES.KNet.Streams.Processor
Assembly
MASES.KNet.dll

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

IGenericSerDesFactory

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

If OnExtract has a value it takes precedence over corresponding Extract() class method

RecordContext

Current RecordContext metadata of the record

public virtual RecordContext RecordContext { get; }

Property Value

RecordContext

Value

The V content

public virtual V Value { get; }

Property Value

V

Methods

Extract()

public virtual string Extract()

Returns

string

string

Extract(TJVMK, TJVMV, RecordContext)

public override sealed String Extract(TJVMK arg0, TJVMV arg1, RecordContext arg2)

Parameters

arg0 TJVMK

K

arg1 TJVMV

V

arg2 RecordContext

RecordContext

Returns

String

String