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
System_CAPS_pubmethod AvroRecord(Schema)

Initializes a new instance of the AvroRecord class.

Properties

Name Description
System_CAPS_pubproperty Item[Int32]

System_CAPS_pubproperty Item[String]

Gets or sets the field value with the specified name.

System_CAPS_pubproperty Schema

Gets the schema of the record.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetDynamicMemberNames()

(Inherited from DynamicObject.)

System_CAPS_pubmethod GetField<T>(String)

Gets the field value.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetMetaObject(Expression)

(Inherited from DynamicObject.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod TryBinaryOperation(BinaryOperationBinder, Object, Object)

(Inherited from DynamicObject.)

System_CAPS_pubmethod TryConvert(ConvertBinder, Object)

(Inherited from DynamicObject.)

System_CAPS_pubmethod TryCreateInstance(CreateInstanceBinder, Object[], Object)

(Inherited from DynamicObject.)

System_CAPS_pubmethod TryDeleteIndex(DeleteIndexBinder, Object[])

(Inherited from DynamicObject.)

System_CAPS_pubmethod TryDeleteMember(DeleteMemberBinder)

(Inherited from DynamicObject.)

System_CAPS_pubmethod TryGetIndex(GetIndexBinder, Object[], Object)

(Inherited from DynamicObject.)

System_CAPS_pubmethod TryGetMember(GetMemberBinder, Object)

Indicates a value whether the operation is successful. (Overrides DynamicObject.TryGetMember(GetMemberBinder, Object).)

System_CAPS_pubmethod TryInvoke(InvokeBinder, Object[], Object)

(Inherited from DynamicObject.)

System_CAPS_pubmethod TryInvokeMember(InvokeMemberBinder, Object[], Object)

(Inherited from DynamicObject.)

System_CAPS_pubmethod TrySetIndex(SetIndexBinder, Object[], Object)

(Inherited from DynamicObject.)

System_CAPS_pubmethod TrySetMember(SetMemberBinder, Object)

Indicates a value whether the operation is successful. (Overrides DynamicObject.TrySetMember(SetMemberBinder, Object).)

System_CAPS_pubmethod TryUnaryOperation(UnaryOperationBinder, Object)

(Inherited from DynamicObject.)

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