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 | |
---|---|---|
AvroSerializerSettings() | Initializes a new instance of the AvroSerializerSettings class. |
Properties
Name | Description | |
---|---|---|
GenerateDeserializer | Gets or sets a value indicating whether to generate a deserializer. |
|
GenerateSerializer | Gets or sets a value indicating whether to generate a serializer. |
|
KnownTypes | Gets or sets the known types. |
|
MaxItemsInSchemaTree | Gets or sets the maximum number of items in the schema tree. |
|
Resolver | Gets or sets a contract resolver. |
|
Surrogate | Gets or sets a serialization surrogate. |
|
UseCache | Gets or sets a value indicating whether to use a cache of precompiled serializers. |
|
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 | |
---|---|---|
Equals(AvroSerializerSettings) | Indicates whether the current object is equal to another object of the same type. |
|
Equals(Object) | Determines whether the specified Object is equal to this instance.(Overrides Object.Equals(Object).) |
|
GetHashCode() | Returns a hash code for this instance.(Overrides Object.GetHashCode().) |
|
GetType() | (Inherited from Object.) |
|
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