Share via


TypeSchema 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 base class for all type schemas.

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.ArraySchema
      Microsoft.Hadoop.Avro.Schema.MapSchema
      Microsoft.Hadoop.Avro.Schema.NamedSchema
      Microsoft.Hadoop.Avro.Schema.PrimitiveTypeSchema
      Microsoft.Hadoop.Avro.Schema.UnionSchema

Syntax

public abstract class TypeSchema : Schema
public ref class TypeSchema abstract : Schema
[<AbstractClass>]
type TypeSchema = 
    class
        inherit Schema
    end
Public MustInherit Class TypeSchema
    Inherits Schema

Constructors

Name Description
System_CAPS_protmethod TypeSchema(Type, IDictionary<String, String>)

Initializes a new instance of the TypeSchema class.

Properties

Name Description
System_CAPS_pubproperty Attributes

Gets the attributes.(Inherited from Schema.)

System_CAPS_pubproperty RuntimeType

Gets the runtime type.

Methods

Name Description
System_CAPS_pubmethod AddAttribute(String, String)

Adds the attribute.(Inherited from Schema.)

System_CAPS_pubmethodSystem_CAPS_static Create(String)

Creates schema from JSON string.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

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