Avro C#
 All Classes Namespaces Functions Variables Enumerations Properties
Classes | Public Member Functions | Protected Member Functions | List of all members
Avro.Specific.SpecificDatumReader< T > Class Template Reference
Inheritance diagram for Avro.Specific.SpecificDatumReader< T >:
Avro.Generic.PreresolvingDatumReader< T > Avro.Generic.DatumReader< T >

Public Member Functions

 SpecificDatumReader (Schema writerSchema, Schema readerSchema)
 
- Public Member Functions inherited from Avro.Generic.PreresolvingDatumReader< T >
Read (T reuse, Decoder decoder)
 Read a datum. Traverse the schema, depth-first, reading all leaf values in the schema into a datum that is returned. If the provided datum is non-null it may be reused and returned. More...
 

Protected Member Functions

override bool IsReusable (Schema.Type tag)
 Indicates if it's possible to reuse an object of the specified type. Generally false for immutable objects like int, long, string, etc but may differ between the Specific and Generic implementations. Used to avoid retrieving the existing value if it's not reusable. More...
 
override ArrayAccess GetArrayAccess (ArraySchema readerSchema)
 
override EnumAccess GetEnumAccess (EnumSchema readerSchema)
 
override MapAccess GetMapAccess (MapSchema readerSchema)
 
override RecordAccess GetRecordAccess (RecordSchema readerSchema)
 
override FixedAccess GetFixedAccess (FixedSchema readerSchema)
 
- Protected Member Functions inherited from Avro.Generic.PreresolvingDatumReader< T >
delegate object ReadItem (object reuse, Decoder dec)
 
 PreresolvingDatumReader (Schema writerSchema, Schema readerSchema)
 

Additional Inherited Members

- Static Protected Member Functions inherited from Avro.Generic.PreresolvingDatumReader< T >
static Schema FindBranch (UnionSchema us, Schema s)
 
- Properties inherited from Avro.Generic.PreresolvingDatumReader< T >
Schema ReaderSchema [get]
 
Schema WriterSchema [get]
 
- Properties inherited from Avro.Generic.DatumReader< T >
Schema ReaderSchema [get]
 
Schema WriterSchema [get]
 

Detailed Description

PreresolvingDatumReader for reading data to ISpecificRecord classes. For more information about performance considerations for choosing this implementation

Member Function Documentation

override bool Avro.Specific.SpecificDatumReader< T >.IsReusable ( Schema.Type  tag)
inlineprotectedvirtual

Indicates if it's possible to reuse an object of the specified type. Generally false for immutable objects like int, long, string, etc but may differ between the Specific and Generic implementations. Used to avoid retrieving the existing value if it's not reusable.

Reimplemented from Avro.Generic.PreresolvingDatumReader< T >.


The documentation for this class was generated from the following file: