Share via


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
System_CAPS_pubmethod AvroPublicMemberContractResolver()

Initializes a new instance of the AvroPublicMemberContractResolver class.

System_CAPS_pubmethod AvroPublicMemberContractResolver(Boolean)

Initializes a new instance of the AvroPublicMemberContractResolver class.

Methods

Name Description
System_CAPS_pubmethod Equals(AvroContractResolver)

Indicates whether the current AvroContractResolver object is equal to another specified object of the same type.(Inherited from AvroContractResolver.)

System_CAPS_pubmethod Equals(Object)

Indicates whether the specified Object is equal to this instance of an AvroContractResolver.(Inherited from AvroContractResolver.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

Returns a hash code for this instance.(Inherited from AvroContractResolver.)

System_CAPS_pubmethod 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.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod 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).)

System_CAPS_pubmethod ResolveType(Type)

Gets the serialization information about the type. This information is used for creation of the corresponding schema node.(Overrides AvroContractResolver.ResolveType(Type).)

System_CAPS_protmethod StripAvroNonCompatibleCharacters(String)

Strips all characters that are not compatible with Avro from a string.(Inherited from AvroContractResolver.)

System_CAPS_pubmethod 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