Delen via


CsvFormatSerialization Class

Definition

Describes how data from an input is serialized or how data is serialized when written to an output in CSV format.

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

Constructors

CsvFormatSerialization()

Initializes a new instance of CsvFormatSerialization.

Properties

Encoding

Specifies the encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. Required on PUT (CreateOrReplace) requests.

FieldDelimiter

Specifies the delimiter that will be used to separate comma-separated value (CSV) records. See https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a list of supported values. Required on PUT (CreateOrReplace) requests.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CsvFormatSerialization>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CsvFormatSerialization>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<StreamAnalyticsDataSerialization>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from StreamAnalyticsDataSerialization)
IPersistableModel<CsvFormatSerialization>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CsvFormatSerialization>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CsvFormatSerialization>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<StreamAnalyticsDataSerialization>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from StreamAnalyticsDataSerialization)

Applies to