AvroDataContractResolver Class
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. |
Allows using standard DataContractAttribute and DataMemberAttribute attributes for defining what types/properties/fields should be serialized.
Assembly: Microsoft.Hadoop.Avro (in Microsoft.Hadoop.Avro.dll)
Microsoft.Hadoop.Avro.AvroContractResolver
Microsoft.Hadoop.Avro.AvroDataContractResolver
| Name | Description | |
|---|---|---|
![]() | AvroDataContractResolver() | Initializes a new instance of the AvroDataContractResolver class. |
![]() | AvroDataContractResolver(Boolean) | Initializes a new instance of the AvroDataContractResolver class. |
![]() | AvroDataContractResolver(Boolean, Boolean) |
| Name | Description | |
|---|---|---|
![]() | Equals(AvroContractResolver) | Indicates whether the current AvroContractResolver object is equal to another specified object of the same type.(Inherited from AvroContractResolver.) |
![]() | Equals(Object) | Indicates whether the specified Object is equal to this instance of an AvroContractResolver.(Inherited from AvroContractResolver.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | Returns a hash code for this instance.(Inherited from AvroContractResolver.) |
![]() | GetKnownTypes(Type) | Gets the known types out of an abstract type or interface that could be present in the tree of objects serialized with this contract resolver.(Overrides AvroContractResolver.GetKnownTypes(Type).) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ResolveMembers(Type) | Gets the serialization information about the type members. This information is used for creation of the corresponding schema nodes.(Overrides AvroContractResolver.ResolveMembers(Type).) |
![]() | ResolveType(Type) | Gets the serialization information about the type. This information is used for creation of the corresponding schema node.(Overrides AvroContractResolver.ResolveType(Type).) |
![]() | StripAvroNonCompatibleCharacters(String) | Strips all characters that are not compatible with Avro from a string.(Inherited from AvroContractResolver.) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


