Table of Contents

Class TimestampedWindowedKeyValueIterator<K, V, TJVMK, TJVMV>

Namespace
MASES.KNet.Streams.State
Assembly
MASES.KNet.dll

KNet implementation of KeyValueIterator<K, V>

public sealed class TimestampedWindowedKeyValueIterator<K, V, TJVMK, TJVMV> : CommonIterator<TimestampedWindowedKeyValue<K, V, TJVMK, TJVMV>>, IGenericSerDesFactoryApplier, IEnumerable<TimestampedWindowedKeyValue<K, V, TJVMK, TJVMV>>, IEnumerable, IAsyncEnumerable<TimestampedWindowedKeyValue<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
TimestampedWindowedKeyValueIterator<K, V, TJVMK, TJVMV>
Implements
Inherited Members

Methods

Close()

public void Close()

GetEnumerator(bool, bool, CancellationToken)

Internally gets the IEnumerable<T> or IAsyncEnumerable<T>

protected override sealed object GetEnumerator(bool isAsync, bool usePrefetch, CancellationToken cancellationToken = default)

Parameters

isAsync bool

true if requesting an IAsyncEnumerator<T>

usePrefetch bool

true if requesting prefetch behavior

cancellationToken CancellationToken

The CancellationToken to be used in IAsyncEnumerator<T>

Returns

object

An IEnumerable<T> or IAsyncEnumerable<T>

HasNext()

public bool HasNext()

Returns

bool

Next()

public TimestampedWindowedKeyValue<K, V, TJVMK, TJVMV> Next()

Returns

TimestampedWindowedKeyValue<K, V, TJVMK, TJVMV>

PeekNextKey()

public Windowed<K, TJVMK> PeekNextKey()

Returns

Windowed<K, TJVMK>

K

Remove()

public void Remove()