Class KNetStreamsRetriever<TKey, TValue, TJVMKey, TJVMValue>
- Namespace
- MASES.EntityFrameworkCore.KNet.Storage.Internal
- Assembly
- MASES.EntityFrameworkCore.KNet.dll
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public class KNetStreamsRetriever<TKey, TValue, TJVMKey, TJVMValue> : IKafkaStreamsRetriever<TKey>, IDisposable where TKey : notnull where TValue : IValueContainer<TKey>
Type Parameters
TKeyTValueTJVMKeyTJVMValue
- Inheritance
-
KNetStreamsRetriever<TKey, TValue, TJVMKey, TJVMValue>
- Implements
-
IKafkaStreamsRetriever<TKey>
- Inherited Members
Constructors
KNetStreamsRetriever(IKafkaCluster, IEntityType, IProperty[])
Default initializer
public KNetStreamsRetriever(IKafkaCluster kafkaCluster, IEntityType entityType, IProperty[] properties)
Parameters
kafkaClusterIKafkaClusterentityTypeIEntityTypepropertiesIProperty[]
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Exist(TKey)
Che if a key exist
public bool Exist(TKey key)
Parameters
keyTKeyThe key to check for existance
Returns
GetValueBuffers()
Retrieve an IEnumerable<T> from the IKafkaStreamsRetriever<TKey> instance
public IEnumerable<ValueBuffer> GetValueBuffers()
Returns
TryGetValue(TKey, out ValueBuffer)
Returns the values associated to the key
public bool TryGetValue(TKey key, out ValueBuffer valueBuffer)
Parameters
keyTKeyThe key to retrieve
valueBufferValueBufferA ValueBuffer containing the information, or null otherwise