Class SqlPartitionSettings
java.lang.Object
com.azure.resourcemanager.datafactory.models.SqlPartitionSettings
The settings that will be leveraged for Sql source partitioning.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the partitionColumnName property: The name of the column in integer or datetime type that will be used for proceeding partitioning.Get the partitionLowerBound property: The minimum value of the partition column for partition range splitting.Get the partitionUpperBound property: The maximum value of the partition column for partition range splitting.void
validate()
Validates the instance.withPartitionColumnName
(Object partitionColumnName) Set the partitionColumnName property: The name of the column in integer or datetime type that will be used for proceeding partitioning.withPartitionLowerBound
(Object partitionLowerBound) Set the partitionLowerBound property: The minimum value of the partition column for partition range splitting.withPartitionUpperBound
(Object partitionUpperBound) Set the partitionUpperBound property: The maximum value of the partition column for partition range splitting.
-
Constructor Details
-
SqlPartitionSettings
public SqlPartitionSettings()Creates an instance of SqlPartitionSettings class.
-
-
Method Details
-
partitionColumnName
Get the partitionColumnName property: 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).- Returns:
- the partitionColumnName value.
-
withPartitionColumnName
Set the partitionColumnName property: 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).- Parameters:
partitionColumnName
- the partitionColumnName value to set.- Returns:
- the SqlPartitionSettings object itself.
-
partitionUpperBound
Get the partitionUpperBound property: 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).- Returns:
- the partitionUpperBound value.
-
withPartitionUpperBound
Set the partitionUpperBound property: 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).- Parameters:
partitionUpperBound
- the partitionUpperBound value to set.- Returns:
- the SqlPartitionSettings object itself.
-
partitionLowerBound
Get the partitionLowerBound property: 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).- Returns:
- the partitionLowerBound value.
-
withPartitionLowerBound
Set the partitionLowerBound property: 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).- Parameters:
partitionLowerBound
- the partitionLowerBound value to set.- Returns:
- the SqlPartitionSettings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-