EnumSchema 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 an enumeration schema.
Namespace: Microsoft.Hadoop.Avro.Schema
Assembly: Microsoft.Hadoop.Avro (in Microsoft.Hadoop.Avro.dll)
Inheritance Hierarchy
System.Object
Microsoft.Hadoop.Avro.Schema.Schema
Microsoft.Hadoop.Avro.Schema.TypeSchema
Microsoft.Hadoop.Avro.Schema.NamedSchema
Microsoft.Hadoop.Avro.Schema.EnumSchema
Syntax
public sealed class EnumSchema : NamedSchema
public ref class EnumSchema sealed : NamedSchema
[<Sealed>]
type EnumSchema =
class
inherit NamedSchema
end
Public NotInheritable Class EnumSchema
Inherits NamedSchema
Properties
Name | Description | |
---|---|---|
Aliases | Gets the aliases.(Inherited from NamedSchema.) |
|
Attributes | Gets the attributes.(Inherited from Schema.) |
|
Doc | Gets the doc.(Inherited from NamedSchema.) |
|
FullName | Gets the full name.(Inherited from NamedSchema.) |
|
Name | Gets the name.(Inherited from NamedSchema.) |
|
Namespace | Gets the namespace.(Inherited from NamedSchema.) |
|
RuntimeType | Gets the runtime type.(Inherited from TypeSchema.) |
|
Symbols | Gets the symbols. |
Methods
Name | Description | |
---|---|---|
AddAttribute(String, String) | Adds the attribute.(Inherited from Schema.) |
|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetSymbolByValue(Int32) | Gets the symbol by integer value. |
|
GetType() | (Inherited from Object.) |
|
GetValueBySymbol(String) | Gets the value by symbol. |
|
ToString() | Returns a String that represents this instance in JSON format.(Inherited from Schema.) |
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.Schema Namespace
Return to top