NullableSchemaAttribute 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 class that makes a field or a property nullable. It allows the user to override nullable handling policy of the resolver and map the type of the field or the property to an Avro union of null and the corresponding Avro type.
Namespace: Microsoft.Hadoop.Avro
Assembly: Microsoft.Hadoop.Avro (in Microsoft.Hadoop.Avro.dll)
Inheritance Hierarchy
System.Object
System.Attribute
Microsoft.Hadoop.Avro.NullableSchemaAttribute
Syntax
[AttributeUsageAttribute(AttributeTargets.Property | AttributeTargets.Field,
Inherited = false, AllowMultiple = false)]
public sealed class NullableSchemaAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Property | AttributeTargets::Field,
Inherited = false, AllowMultiple = false)]
public ref class NullableSchemaAttribute sealed : Attribute
[<Sealed>]
[<AttributeUsageAttribute(AttributeTargets.Property | AttributeTargets.Field,
Inherited = false, AllowMultiple = false)>]
type NullableSchemaAttribute =
class
inherit Attribute
end
<AttributeUsageAttribute(AttributeTargets.Property Or AttributeTargets.Field,
Inherited := False, AllowMultiple := False)>
Public NotInheritable Class NullableSchemaAttribute
Inherits Attribute
Constructors
Name | Description | |
---|---|---|
NullableSchemaAttribute() | Initializes a new instance of the NullableSchemaAttribute class. |
Properties
Name | Description | |
---|---|---|
TypeId | (Inherited from Attribute.) |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Attribute.) |
|
GetHashCode() | (Inherited from Attribute.) |
|
GetType() | (Inherited from Object.) |
|
IsDefaultAttribute() | (Inherited from Attribute.) |
|
Match(Object) | (Inherited from Attribute.) |
|
ToString() | (Inherited from Object.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
_Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
|
_Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
|
_Attribute.GetTypeInfoCount(UInt32) | (Inherited from Attribute.) |
|
_Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) | (Inherited from Attribute.) |
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