-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
ParquetWriteSettings.cs
40 lines (34 loc) · 2.32 KB
/
ParquetWriteSettings.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using Azure.Core.Expressions.DataFactory;
namespace Azure.ResourceManager.DataFactory.Models
{
/// <summary> Parquet write settings. </summary>
public partial class ParquetWriteSettings : FormatWriteSettings
{
/// <summary> Initializes a new instance of <see cref="ParquetWriteSettings"/>. </summary>
public ParquetWriteSettings()
{
FormatWriteSettingsType = "ParquetWriteSettings";
}
/// <summary> Initializes a new instance of <see cref="ParquetWriteSettings"/>. </summary>
/// <param name="formatWriteSettingsType"> The write setting type. </param>
/// <param name="additionalProperties"> Additional Properties. </param>
/// <param name="maxRowsPerFile"> Limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer). </param>
/// <param name="fileNamePrefix"> Specifies the file name pattern <fileNamePrefix>_<fileIndex>.<fileExtension> when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string). </param>
internal ParquetWriteSettings(string formatWriteSettingsType, IDictionary<string, BinaryData> additionalProperties, DataFactoryElement<int> maxRowsPerFile, DataFactoryElement<string> fileNamePrefix) : base(formatWriteSettingsType, additionalProperties)
{
MaxRowsPerFile = maxRowsPerFile;
FileNamePrefix = fileNamePrefix;
FormatWriteSettingsType = formatWriteSettingsType ?? "ParquetWriteSettings";
}
/// <summary> Limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer). </summary>
public DataFactoryElement<int> MaxRowsPerFile { get; set; }
/// <summary> Specifies the file name pattern <fileNamePrefix>_<fileIndex>.<fileExtension> when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string). </summary>
public DataFactoryElement<string> FileNamePrefix { get; set; }
}
}