Table of Contents

Class Record<K, V, TJVMK, TJVMV>

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

KNet extension of Record<K, V>

public class Record<K, V, TJVMK, TJVMV>

Type Parameters

K

The key type

V

The value type

TJVMK

The JVM type of K

TJVMV

The JVM type of V

Inheritance
Record<K, V, TJVMK, TJVMV>
Inherited Members

Properties

DateTime

public DateTime DateTime { get; }

Property Value

DateTime

Headers

public Headers Headers { get; }

Property Value

Headers

Headers

Key

public K Key { get; }

Property Value

K

K

Timestamp

public long Timestamp { get; }

Property Value

long

Value

public V Value { get; }

Property Value

V

V

Methods

WithDateTime(DateTime)

public Record<K, V, TJVMK, TJVMV> WithDateTime(DateTime arg0)

Parameters

arg0 DateTime

long

Returns

Record<K, V, TJVMK, TJVMV>

Record<K, V, TJVMK, TJVMV>

WithHeaders(Headers)

public Record<K, V, TJVMK, TJVMV> WithHeaders(Headers arg0)

Parameters

arg0 Headers

Headers

Returns

Record<K, V, TJVMK, TJVMV>

Record<K, V, TJVMK, TJVMV>

WithKey<NewK, TJVMNewK>(NewK)

public Record<NewK, V, TJVMNewK, TJVMV> WithKey<NewK, TJVMNewK>(NewK arg0)

Parameters

arg0 NewK

NewK

Returns

Record<NewK, V, TJVMNewK, TJVMV>

Record<K, V, TJVMK, TJVMV>

Type Parameters

NewK
TJVMNewK

The JVM type of NewK

WithTimestamp(long)

public Record<K, V, TJVMK, TJVMV> WithTimestamp(long arg0)

Parameters

arg0 long

long

Returns

Record<K, V, TJVMK, TJVMV>

Record<K, V, TJVMK, TJVMV>

WithValue<NewV, TJVMNewV>(NewV)

public Record<K, NewV, TJVMK, TJVMNewV> WithValue<NewV, TJVMNewV>(NewV arg0)

Parameters

arg0 NewV

NewV

Returns

Record<K, NewV, TJVMK, TJVMNewV>

Record<K, V, TJVMK, TJVMV>

Type Parameters

NewV
TJVMNewV

The JVM type of NewV

Operators

implicit operator Record<TJVMK, TJVMV>(Record<K, V, TJVMK, TJVMV>)

public static implicit operator Record<TJVMK, TJVMV>(Record<K, V, TJVMK, TJVMV> t)

Parameters

t Record<K, V, TJVMK, TJVMV>

Returns

Record<TJVMK, TJVMV>