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

Specifies Avro serializer settings.

Namespace:   Microsoft.Hadoop.Avro
Assembly:  Microsoft.Hadoop.Avro (in Microsoft.Hadoop.Avro.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Hadoop.Avro.AvroSerializerSettings

Syntax

public sealed class AvroSerializerSettings : IEquatable<AvroSerializerSettings>
public ref class AvroSerializerSettings sealed : IEquatable<AvroSerializerSettings^>
[<Sealed>]
type AvroSerializerSettings = 
    class
        interface IEquatable<AvroSerializerSettings>
    end
Public NotInheritable Class AvroSerializerSettings
    Implements IEquatable(Of AvroSerializerSettings)

Constructors

Name Description
System_CAPS_pubmethod AvroSerializerSettings()

Initializes a new instance of the AvroSerializerSettings class.

Properties

Name Description
System_CAPS_pubproperty GenerateDeserializer

Gets or sets a value indicating whether to generate a deserializer.

System_CAPS_pubproperty GenerateSerializer

Gets or sets a value indicating whether to generate a serializer.

System_CAPS_pubproperty KnownTypes

Gets or sets the known types.

System_CAPS_pubproperty MaxItemsInSchemaTree

Gets or sets the maximum number of items in the schema tree.

System_CAPS_pubproperty Resolver

Gets or sets a contract resolver.

System_CAPS_pubproperty Surrogate

Gets or sets a serialization surrogate.

System_CAPS_pubproperty UseCache

Gets or sets a value indicating whether to use a cache of precompiled serializers.

System_CAPS_pubproperty UsePosixTime

Gets or sets a value indicating whether DateTime values will be serialized in the Posix format (as a number of seconds passed from the start of the Unix epoch) or as a number of ticks.

Methods

Name Description
System_CAPS_pubmethod Equals(AvroSerializerSettings)

Indicates whether the current object is equal to another object of the same type.

System_CAPS_pubmethod Equals(Object)

Determines whether the specified Object is equal to this instance.(Overrides Object.Equals(Object).)

System_CAPS_pubmethod GetHashCode()

Returns a hash code for this instance.(Overrides Object.GetHashCode().)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

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