Show / Hide Table of Contents

Class AvroDataset

Avro dataset.

Inheritance
System.Object
Dataset
AvroDataset
Inherited Members
Dataset.AdditionalProperties
Dataset.Annotations
Dataset.Description
Dataset.Folder
Dataset.LinkedServiceName
Dataset.Parameters
Dataset.Schema
Dataset.Structure
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Analytics.Synapse.Artifacts.dll
Syntax
[System.Text.Json.Serialization.JsonConverter(typeof(Azure.Analytics.Synapse.Artifacts.Models.AvroDataset/AvroDatasetConverter))]
public class AvroDataset : Azure.Analytics.Synapse.Artifacts.Models.Dataset

Constructors

AvroDataset(LinkedServiceReference)

Initializes a new instance of AvroDataset.

Declaration
public AvroDataset (Azure.Analytics.Synapse.Artifacts.Models.LinkedServiceReference linkedServiceName);
Parameters
LinkedServiceReference linkedServiceName

Linked service reference.

Exceptions
System.ArgumentNullException

linkedServiceName is null.

Properties

AvroCompressionCodec

A string from AvroCompressionCodecEnum or an expression.

Declaration
public object AvroCompressionCodec { get; set; }
Property Value
System.Object

AvroCompressionLevel

Gets or sets the avro compression level.

Declaration
public Nullable<int> AvroCompressionLevel { get; set; }
Property Value
System.Nullable<System.Int32>

Location

The location of the avro storage. Please note DatasetLocation is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AmazonS3Location, AzureBlobFSLocation, AzureBlobStorageLocation, AzureDataLakeStoreLocation, AzureFileStorageLocation, FileServerLocation, FtpServerLocation, GoogleCloudStorageLocation, HdfsLocation, HttpServerLocation, LakeHouseLocation and SftpLocation.

Declaration
public Azure.Analytics.Synapse.Artifacts.Models.DatasetLocation Location { get; set; }
Property Value
DatasetLocation

Back to top Azure SDK for .NET