SqlPartitionSettings Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. SqlPartitionSettings
- com.
Implements
public final class SqlPartitionSettings
implements JsonSerializable<SqlPartitionSettings>
The settings that will be leveraged for Sql source partitioning.
Constructor Summary
| Constructor | Description |
|---|---|
| SqlPartitionSettings() |
Creates an instance of Sql |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Sql |
fromJson(JsonReader jsonReader)
Reads an instance of Sql |
| Object |
partitionColumnName()
Get the partition |
| Object |
partitionLowerBound()
Get the partition |
| Object |
partitionUpperBound()
Get the partition |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Sql |
withPartitionColumnName(Object partitionColumnName)
Set the partition |
|
Sql |
withPartitionLowerBound(Object partitionLowerBound)
Set the partition |
|
Sql |
withPartitionUpperBound(Object partitionUpperBound)
Set the partition |
Methods inherited from java.lang.Object
Constructor Details
SqlPartitionSettings
public SqlPartitionSettings()
Creates an instance of SqlPartitionSettings class.
Method Details
fromJson
public static SqlPartitionSettings fromJson(JsonReader jsonReader)
Reads an instance of SqlPartitionSettings from the JsonReader.
Parameters:
Returns:
Throws:
partitionColumnName
public Object 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:
partitionLowerBound
public Object 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:
partitionUpperBound
public Object 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:
toJson
validate
public void validate()
Validates the instance.
withPartitionColumnName
public SqlPartitionSettings withPartitionColumnName(Object partitionColumnName)
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:
Returns:
withPartitionLowerBound
public SqlPartitionSettings withPartitionLowerBound(Object partitionLowerBound)
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:
Returns:
withPartitionUpperBound
public SqlPartitionSettings withPartitionUpperBound(Object partitionUpperBound)
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:
Returns: