Class Record<K, V, TJVMK, TJVMV>
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
Headers
public Headers Headers { get; }
Property Value
Key
public K Key { get; }
Property Value
- K
K
Timestamp
public long Timestamp { get; }
Property Value
Value
public V Value { get; }
Property Value
- V
V
Methods
WithDateTime(DateTime)
public Record<K, V, TJVMK, TJVMV> WithDateTime(DateTime arg0)
Parameters
Returns
- Record<K, V, TJVMK, TJVMV>
WithHeaders(Headers)
public Record<K, V, TJVMK, TJVMV> WithHeaders(Headers arg0)
Parameters
Returns
- Record<K, V, TJVMK, TJVMV>
WithKey<NewK, TJVMNewK>(NewK)
public Record<NewK, V, TJVMNewK, TJVMV> WithKey<NewK, TJVMNewK>(NewK arg0)
Parameters
arg0
NewKNewK
Returns
- Record<NewK, V, TJVMNewK, TJVMV>
Type Parameters
NewK
TJVMNewK
The JVM type of
NewK
WithTimestamp(long)
public Record<K, V, TJVMK, TJVMV> WithTimestamp(long arg0)
Parameters
Returns
- Record<K, V, TJVMK, TJVMV>
WithValue<NewV, TJVMNewV>(NewV)
public Record<K, NewV, TJVMK, TJVMNewV> WithValue<NewV, TJVMNewV>(NewV arg0)
Parameters
arg0
NewVNewV
Returns
- Record<K, NewV, TJVMK, TJVMNewV>
Type Parameters
NewV
TJVMNewV
The JVM type of
NewV
Operators
implicit operator Record<TJVMK, TJVMV>(Record<K, V, TJVMK, TJVMV>)
Converter from Record<K, V, TJVMK, TJVMV> to Record<K, V>
public static implicit operator Record<TJVMK, TJVMV>(Record<K, V, TJVMK, TJVMV> t)
Parameters
t
Record<K, V, TJVMK, TJVMV>
Returns
- Record<TJVMK, TJVMV>