Microsoft.Hadoop.Avro Namespace
Note
A newer version of HDInsight .NET SDK is available that uses the Azure Resource Manager (ARM) approach. You are encouraged to use the newer ARM-based version of HDInsight .NET SDK going forward. For instructions on how to use the new HDInsight .NET SDK to create a cluster, see Create HDInsight Linux clusters using .NET SDK. For instructions on how to submit jobs using the new .NET SDK and other approaches, see Submit jobs to an HDInsight cluster. The HDInsight SDK reference for the newer version is available at HDInsight .NET SDK Reference.
Classes
Class | Description | |
---|---|---|
AvroContractResolver | Provides a mechanism for dynamically mapping C# types to and from Avro schema. Using derived contract resolvers, the IAvroSerializer<T> can identify what fields should be included in the schema and consequently serialized. |
|
AvroDataContractResolver | Allows using standard DataContractAttribute and DataMemberAttribute attributes for defining what types/properties/fields should be serialized. |
|
AvroEnum | Represents Avro enumeration. |
|
AvroFixedAttribute | This attribute determines the size of the Avro fixed byte array. |
|
AvroNull | The Avro null class. |
|
AvroPublicMemberContractResolver | Represents a contract resolver that serializes all public properties/fields of the type. The type should has a parameterless constructor. |
|
AvroRecord | Represents an Avro generic record. It can be considered as a set of name-value pairs. Please, use the CreateGeneric method to create the corresponding IAvroSerializer<T>. |
|
AvroSerializer | Represents a factory class to create IAvroSerializer<T>. |
|
AvroSerializerSettings | Specifies Avro serializer settings. |
|
AvroUnionAttribute | Represents an attribute that is used to determine type alternatives for field or property. |
|
BinaryDecoder | Represents a non-buffered binary decoder of Avro basic types. |
|
BinaryEncoder | Represents a non-buffered binary encoder of Avro basic types. |
|
BufferedBinaryDecoder | Represents a buffered binary decoder of Avro basic types. |
|
BufferedBinaryEncoder | Represents a buffered binary encoder of Avro basic types. |
|
MemberSerializationInfo | Represents serialization information about a member of a class/struct. |
|
NullableSchemaAttribute | Represents a class that makes a field or a property nullable. It allows the user to override nullable handling policy of the resolver and map the type of the field or the property to an Avro union of null and the corresponding Avro type. |
|
TypeSerializationInfo | Represents serialization information about a C# type. |
Interfaces
Interface | Description | |
---|---|---|
IAvroSerializer<T> | Serializes and deserializes an instance of a type into a stream using Avro binary format. Can be used for serialization of C# types attributed with Data Contract/Member attributes as well as AvroRecord with a manually specified schema. |
|
IAvroSurrogate | Provides the methods needed to substitute one type for another by the IAvroSerializer during serialization and deserialization of C# types. |
|
IDecoder | Defines methods for decoding of basic Avro types. |
|
IEncoder | Defines methods for encoding of basic Avro types. |
|
ISkipper | Defines methods for skipping basic Avro types. |
Remarks
Contains main library of classes used for Avro for the serialization and deserialization of objects.
Return to top