RecordSchema 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 record 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.RecordSchema

Syntax

public sealed class RecordSchema : NamedSchema
public ref class RecordSchema sealed : NamedSchema
[<Sealed>]
type RecordSchema = 
    class
        inherit NamedSchema
    end
Public NotInheritable Class RecordSchema
    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 Fields

Gets the fields.

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.)

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 GetField(String)

Gets the field.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

Returns a String that represents this instance in JSON format.(Inherited from Schema.)

System_CAPS_pubmethod TryGetField(String, RecordField)

Tries to get a field given its name.

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