AvroPublicMemberContractResolver 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.
Represents a contract resolver that serializes all public properties/fields of the type. The type should has a parameterless constructor.
Namespace: Microsoft.Hadoop.Avro
Assembly: Microsoft.Hadoop.Avro (in Microsoft.Hadoop.Avro.dll)
Inheritance Hierarchy
System.Object
Microsoft.Hadoop.Avro.AvroContractResolver
Microsoft.Hadoop.Avro.AvroPublicMemberContractResolver
Syntax
public class AvroPublicMemberContractResolver : AvroContractResolver
public ref class AvroPublicMemberContractResolver : AvroContractResolver
type AvroPublicMemberContractResolver =
class
inherit AvroContractResolver
end
Public Class AvroPublicMemberContractResolver
Inherits AvroContractResolver
Constructors
Name | Description | |
---|---|---|
AvroPublicMemberContractResolver() | Initializes a new instance of the AvroPublicMemberContractResolver class. |
|
AvroPublicMemberContractResolver(Boolean) | Initializes a new instance of the AvroPublicMemberContractResolver class. |
Methods
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) | Retrieves the known types of an abstract type or interface that could be present in the tree of objects serialized with this contract resolver.(Inherited from AvroContractResolver.) |
|
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.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Hadoop.Avro Namespace
Return to top