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
System_CAPS_pubclass 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.

System_CAPS_pubclass AvroDataContractResolver

Allows using standard DataContractAttribute and DataMemberAttribute attributes for defining what types/properties/fields should be serialized.

System_CAPS_pubclass AvroEnum

Represents Avro enumeration.

System_CAPS_pubclass AvroFixedAttribute

This attribute determines the size of the Avro fixed byte array.

System_CAPS_pubclass AvroNull

The Avro null class.

System_CAPS_pubclass AvroPublicMemberContractResolver

Represents a contract resolver that serializes all public properties/fields of the type. The type should has a parameterless constructor.

System_CAPS_pubclass 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>.

System_CAPS_pubclass AvroSerializer

Represents a factory class to create IAvroSerializer<T>.

System_CAPS_pubclass AvroSerializerSettings

Specifies Avro serializer settings.

System_CAPS_pubclass AvroUnionAttribute

Represents an attribute that is used to determine type alternatives for field or property.

System_CAPS_pubclass BinaryDecoder

Represents a non-buffered binary decoder of Avro basic types.

System_CAPS_pubclass BinaryEncoder

Represents a non-buffered binary encoder of Avro basic types.

System_CAPS_pubclass BufferedBinaryDecoder

Represents a buffered binary decoder of Avro basic types.

System_CAPS_pubclass BufferedBinaryEncoder

Represents a buffered binary encoder of Avro basic types.

System_CAPS_pubclass MemberSerializationInfo

Represents serialization information about a member of a class/struct.

System_CAPS_pubclass 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.

System_CAPS_pubclass TypeSerializationInfo

Represents serialization information about a C# type.

Interfaces

Interface Description
System_CAPS_pubinterface 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.

System_CAPS_pubinterface IAvroSurrogate

Provides the methods needed to substitute one type for another by the IAvroSerializer during serialization and deserialization of C# types.

System_CAPS_pubinterface IDecoder

Defines methods for decoding of basic Avro types.

System_CAPS_pubinterface IEncoder

Defines methods for encoding of basic Avro types.

System_CAPS_pubinterface 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