-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
SqlPartitionSettings.cs
38 lines (32 loc) · 3.07 KB
/
SqlPartitionSettings.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using Azure.Core.Expressions.DataFactory;
namespace Azure.ResourceManager.DataFactory.Models
{
/// <summary> The settings that will be leveraged for Sql source partitioning. </summary>
public partial class SqlPartitionSettings
{
/// <summary> Initializes a new instance of <see cref="SqlPartitionSettings"/>. </summary>
public SqlPartitionSettings()
{
}
/// <summary> Initializes a new instance of <see cref="SqlPartitionSettings"/>. </summary>
/// <param name="partitionColumnName"> The name of the column in integer or datetime type that will be used for proceeding partitioning. If not specified, the primary key of the table is auto-detected and used as the partition column. Type: string (or Expression with resultType string). </param>
/// <param name="partitionUpperBound"> The maximum value of the partition column for partition range splitting. This value is used to decide the partition stride, not for filtering the rows in table. All rows in the table or query result will be partitioned and copied. Type: string (or Expression with resultType string). </param>
/// <param name="partitionLowerBound"> The minimum value of the partition column for partition range splitting. This value is used to decide the partition stride, not for filtering the rows in table. All rows in the table or query result will be partitioned and copied. Type: string (or Expression with resultType string). </param>
internal SqlPartitionSettings(DataFactoryElement<string> partitionColumnName, DataFactoryElement<string> partitionUpperBound, DataFactoryElement<string> partitionLowerBound)
{
PartitionColumnName = partitionColumnName;
PartitionUpperBound = partitionUpperBound;
PartitionLowerBound = partitionLowerBound;
}
/// <summary> The name of the column in integer or datetime type that will be used for proceeding partitioning. If not specified, the primary key of the table is auto-detected and used as the partition column. Type: string (or Expression with resultType string). </summary>
public DataFactoryElement<string> PartitionColumnName { get; set; }
/// <summary> The maximum value of the partition column for partition range splitting. This value is used to decide the partition stride, not for filtering the rows in table. All rows in the table or query result will be partitioned and copied. Type: string (or Expression with resultType string). </summary>
public DataFactoryElement<string> PartitionUpperBound { get; set; }
/// <summary> The minimum value of the partition column for partition range splitting. This value is used to decide the partition stride, not for filtering the rows in table. All rows in the table or query result will be partitioned and copied. Type: string (or Expression with resultType string). </summary>
public DataFactoryElement<string> PartitionLowerBound { get; set; }
}
}