Table of Contents

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

IList<object>

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 int

Position 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)

Parameters

fieldPos int

Position of the field.

fieldValue object

Value of the field.