Table of Contents

Class ProcessorContext<KForward, VForward, TJVMKForward, TJVMVForward>

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

KNet implementation of ProcessorContext<KForward, VForward>

public class ProcessorContext<KForward, VForward, TJVMKForward, TJVMVForward>

Type Parameters

KForward
VForward
TJVMKForward

The JVM type of KForward

TJVMVForward

The JVM type of VForward

Inheritance
ProcessorContext<KForward, VForward, TJVMKForward, TJVMVForward>
Inherited Members

Properties

AppConfigs

public Map<String, object> AppConfigs { get; }

Property Value

Map<String, object>

Map

ApplicationId

public string ApplicationId { get; }

Property Value

string

string

CurrentStreamDateTime

public DateTime CurrentStreamDateTime { get; }

Property Value

DateTime

DateTime

CurrentStreamTimeMs

public long CurrentStreamTimeMs { get; }

Property Value

long

long

CurrentSystemDateTime

public DateTime CurrentSystemDateTime { get; }

Property Value

DateTime

DateTime

CurrentSystemTimeMs

public long CurrentSystemTimeMs { get; }

Property Value

long

long

KeySerde

public Serde<object> KeySerde { get; }

Property Value

Serde<object>

Serde

Metrics

public StreamsMetrics Metrics { get; }

Property Value

StreamsMetrics

StreamsMetrics

RecordMetadata

public RecordMetadata? RecordMetadata { get; }

Property Value

RecordMetadata

Optional

StateDir

public File StateDir { get; }

Property Value

File

File

TaskId

public TaskId TaskId { get; }

Property Value

TaskId

TaskId

ValueSerde

public Serde<object> ValueSerde { get; }

Property Value

Serde<object>

Serde

Methods

AppConfigsWithPrefix(string)

public Map<String, object> AppConfigsWithPrefix(string arg0)

Parameters

arg0 string

string

Returns

Map<String, object>

Map

Commit()

public void Commit()

Forward<K, V, TJVMK, TJVMV>(Record<K, V, TJVMK, TJVMV>)

public void Forward<K, V, TJVMK, TJVMV>(Record<K, V, TJVMK, TJVMV> arg0) where K : KForward where V : VForward where TJVMK : TJVMKForward where TJVMV : TJVMVForward

Parameters

arg0 Record<K, V, TJVMK, TJVMV>

Record

Type Parameters

K

KForward

V

VForward

TJVMK

The JVM type of K

TJVMV

The JVM type of V

Forward<K, V, TJVMK, TJVMV>(Record<K, V, TJVMK, TJVMV>, string)

public void Forward<K, V, TJVMK, TJVMV>(Record<K, V, TJVMK, TJVMV> arg0, string arg1) where K : KForward where V : VForward where TJVMK : TJVMKForward where TJVMV : TJVMVForward

Parameters

arg0 Record<K, V, TJVMK, TJVMV>

Record

arg1 string

string

Type Parameters

K

KForward

V

VForward

TJVMK

The JVM type of K

TJVMV

The JVM type of V

GetStateStore<S>(string)

public S GetStateStore<S>(string arg0) where S : IStateStore, new()

Parameters

arg0 string

string

Returns

S

S

Type Parameters

S

IStateStore

Schedule(Duration, PunctuationType, Punctuator)

public Cancellable Schedule(Duration arg0, PunctuationType arg1, Punctuator arg2)

Parameters

arg0 Duration

Duration

arg1 PunctuationType

PunctuationType

arg2 Punctuator

Punctuator

Returns

Cancellable

Cancellable

Operators

implicit operator ProcessorContext<TJVMKForward, TJVMVForward>(ProcessorContext<KForward, VForward, TJVMKForward, TJVMVForward>)

public static implicit operator ProcessorContext<TJVMKForward, TJVMVForward>(ProcessorContext<KForward, VForward, TJVMKForward, TJVMVForward> t)

Parameters

t ProcessorContext<KForward, VForward, TJVMKForward, TJVMVForward>

Returns

ProcessorContext<TJVMKForward, TJVMVForward>