Class AvroKeyContainer
- Namespace
- MASES.EntityFrameworkCore.KNet.Serialization.Avro.Storage
- Assembly
- MASES.EntityFrameworkCore.KNet.Serialization.Avro.dll
Represents the storage container type to be used from KEFCore for keys
public class AvroKeyContainer : ISpecificRecord
- Inheritance
-
AvroKeyContainer
- Implements
-
ISpecificRecord
- Inherited Members
Fields
_SCHEMA
public static Schema _SCHEMA
Field Value
- Schema
Properties
PrimaryKey
public IList<object> PrimaryKey { get; set; }
Property Value
Schema
Schema of this instance.
public virtual Schema Schema { get; }
Property Value
- Schema
Methods
Get(int)
Return the value of a field given its position in the schema. This method is not meant to be called by user code, but only by Avro.Specific.SpecificDatumReader<T> implementations.
public virtual object Get(int fieldPos)
Parameters
fieldPos
intPosition of the field.
Returns
- object
Value of the field.
Put(int, object)
Set the value of a field given its position in the schema. This method is not meant to be called by user code, but only by Avro.Specific.SpecificDatumWriter<T> implementations.
public virtual void Put(int fieldPos, object fieldValue)