Share via


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
System_CAPS_pubproperty Aliases

Gets the aliases.(Inherited from NamedSchema.)

System_CAPS_pubproperty Attributes

Gets the attributes.(Inherited from Schema.)

System_CAPS_pubproperty Doc

Gets the doc.(Inherited from NamedSchema.)

System_CAPS_pubproperty FullName

Gets the full name.(Inherited from NamedSchema.)

System_CAPS_pubproperty Name

Gets the name.(Inherited from NamedSchema.)

System_CAPS_pubproperty Namespace

Gets the namespace.(Inherited from NamedSchema.)

System_CAPS_pubproperty RuntimeType

Gets the runtime type.(Inherited from TypeSchema.)

System_CAPS_pubproperty Symbols

Gets the symbols.

Methods

Name Description
System_CAPS_pubmethod AddAttribute(String, String)

Adds the attribute.(Inherited from Schema.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetSymbolByValue(Int32)

Gets the symbol by integer value.

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod GetValueBySymbol(String)

Gets the value by symbol.

System_CAPS_pubmethod 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