Class PolybaseSettings
java.lang.Object
com.azure.resourcemanager.datafactory.models.PolybaseSettings
PolyBase settings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: PolyBase settings.Get the rejectSampleValue property: Determines the number of rows to attempt to retrieve before the PolyBase recalculates the percentage of rejected rows.Get the rejectType property: Reject type.Get the rejectValue property: Specifies the value or the percentage of rows that can be rejected before the query fails.Get the useTypeDefault property: Specifies how to handle missing values in delimited text files when PolyBase retrieves data from the text file.void
validate()
Validates the instance.withAdditionalProperties
(Map<String, Object> additionalProperties) Set the additionalProperties property: PolyBase settings.withRejectSampleValue
(Object rejectSampleValue) Set the rejectSampleValue property: Determines the number of rows to attempt to retrieve before the PolyBase recalculates the percentage of rejected rows.withRejectType
(PolybaseSettingsRejectType rejectType) Set the rejectType property: Reject type.withRejectValue
(Object rejectValue) Set the rejectValue property: Specifies the value or the percentage of rows that can be rejected before the query fails.withUseTypeDefault
(Object useTypeDefault) Set the useTypeDefault property: Specifies how to handle missing values in delimited text files when PolyBase retrieves data from the text file.
-
Constructor Details
-
PolybaseSettings
public PolybaseSettings()Creates an instance of PolybaseSettings class.
-
-
Method Details
-
rejectType
Get the rejectType property: Reject type.- Returns:
- the rejectType value.
-
withRejectType
Set the rejectType property: Reject type.- Parameters:
rejectType
- the rejectType value to set.- Returns:
- the PolybaseSettings object itself.
-
rejectValue
Get the rejectValue property: Specifies the value or the percentage of rows that can be rejected before the query fails. Type: number (or Expression with resultType number), minimum: 0.- Returns:
- the rejectValue value.
-
withRejectValue
Set the rejectValue property: Specifies the value or the percentage of rows that can be rejected before the query fails. Type: number (or Expression with resultType number), minimum: 0.- Parameters:
rejectValue
- the rejectValue value to set.- Returns:
- the PolybaseSettings object itself.
-
rejectSampleValue
Get the rejectSampleValue property: Determines the number of rows to attempt to retrieve before the PolyBase recalculates the percentage of rejected rows. Type: integer (or Expression with resultType integer), minimum: 0.- Returns:
- the rejectSampleValue value.
-
withRejectSampleValue
Set the rejectSampleValue property: Determines the number of rows to attempt to retrieve before the PolyBase recalculates the percentage of rejected rows. Type: integer (or Expression with resultType integer), minimum: 0.- Parameters:
rejectSampleValue
- the rejectSampleValue value to set.- Returns:
- the PolybaseSettings object itself.
-
useTypeDefault
Get the useTypeDefault property: Specifies how to handle missing values in delimited text files when PolyBase retrieves data from the text file. Type: boolean (or Expression with resultType boolean).- Returns:
- the useTypeDefault value.
-
withUseTypeDefault
Set the useTypeDefault property: Specifies how to handle missing values in delimited text files when PolyBase retrieves data from the text file. Type: boolean (or Expression with resultType boolean).- Parameters:
useTypeDefault
- the useTypeDefault value to set.- Returns:
- the PolybaseSettings object itself.
-
additionalProperties
Get the additionalProperties property: PolyBase settings.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: PolyBase settings.- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the PolybaseSettings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-