AvroRecord 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 Avro generic record. It can be considered as a set of name-value pairs. Please, use the CreateGeneric method to create the corresponding IAvroSerializer<T>.
Namespace: Microsoft.Hadoop.Avro
Assembly: Microsoft.Hadoop.Avro (in Microsoft.Hadoop.Avro.dll)
Inheritance Hierarchy
System.Object
System.Dynamic.DynamicObject
Microsoft.Hadoop.Avro.AvroRecord
Syntax
[DefaultMemberAttribute("Item")]
public sealed class AvroRecord : DynamicObject
[DefaultMemberAttribute("Item")]
public ref class AvroRecord sealed : DynamicObject
[<Sealed>]
[<DefaultMemberAttribute("Item")>]
type AvroRecord =
class
inherit DynamicObject
end
<DefaultMemberAttribute("Item")>
Public NotInheritable Class AvroRecord
Inherits DynamicObject
Constructors
Name | Description | |
---|---|---|
AvroRecord(Schema) | Initializes a new instance of the AvroRecord class. |
Properties
Name | Description | |
---|---|---|
Item[Int32] | ||
Item[String] | Gets or sets the field value with the specified name. |
|
Schema | Gets the schema of the record. |
Methods
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 Namespace
Return to top