Share via


DatasetAvroFormat Class

Definition

The data stored in Avro format.

public class DatasetAvroFormat : Azure.ResourceManager.DataFactory.Models.DatasetStorageFormat, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataFactory.Models.DatasetAvroFormat>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataFactory.Models.DatasetAvroFormat>
public class DatasetAvroFormat : Azure.ResourceManager.DataFactory.Models.DatasetStorageFormat
type DatasetAvroFormat = class
    inherit DatasetStorageFormat
    interface IJsonModel<DatasetAvroFormat>
    interface IPersistableModel<DatasetAvroFormat>
type DatasetAvroFormat = class
    inherit DatasetStorageFormat
Public Class DatasetAvroFormat
Inherits DatasetStorageFormat
Implements IJsonModel(Of DatasetAvroFormat), IPersistableModel(Of DatasetAvroFormat)
Public Class DatasetAvroFormat
Inherits DatasetStorageFormat
Inheritance
DatasetAvroFormat
Implements

Constructors

DatasetAvroFormat()

Initializes a new instance of DatasetAvroFormat.

Properties

AdditionalProperties

Additional Properties

To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

(Inherited from DatasetStorageFormat)
Deserializer

Deserializer. Type: string (or Expression with resultType string).

(Inherited from DatasetStorageFormat)
Serializer

Serializer. Type: string (or Expression with resultType string).

(Inherited from DatasetStorageFormat)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from DatasetStorageFormat)

Explicit Interface Implementations

IJsonModel<DatasetAvroFormat>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DatasetAvroFormat>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<DatasetStorageFormat>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from DatasetStorageFormat)
IJsonModel<DatasetStorageFormat>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from DatasetStorageFormat)
IPersistableModel<DatasetAvroFormat>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DatasetAvroFormat>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DatasetAvroFormat>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<DatasetStorageFormat>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from DatasetStorageFormat)
IPersistableModel<DatasetStorageFormat>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from DatasetStorageFormat)
IPersistableModel<DatasetStorageFormat>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from DatasetStorageFormat)

Applies to