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 | |
---|---|---|
Aliases | Gets the aliases.(Inherited from NamedSchema.) |
|
Attributes | Gets the attributes.(Inherited from Schema.) |
|
Doc | Gets the doc.(Inherited from NamedSchema.) |
|
Fields | Gets the fields. |
|
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.) |
Methods
Name | Description | |
---|---|---|
AddAttribute(String, String) | Adds the attribute.(Inherited from Schema.) |
|
Equals(Object) | (Inherited from Object.) |
|
GetField(String) | Gets the field. |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
ToString() | Returns a String that represents this instance in JSON format.(Inherited from Schema.) |
|
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