Class TypeConversionSettings
java.lang.Object
com.azure.analytics.synapse.artifacts.models.TypeConversionSettings
Type conversion settings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the allowDataTruncation property: Whether to allow data truncation when converting the data.Get the culture property: The culture used to convert data from/to string.Get the dateTimeFormat property: The format for DateTime values.Get the dateTimeOffsetFormat property: The format for DateTimeOffset values.Get the timeSpanFormat property: The format for TimeSpan values.Get the treatBooleanAsNumber property: Whether to treat boolean values as numbers.setAllowDataTruncation
(Object allowDataTruncation) Set the allowDataTruncation property: Whether to allow data truncation when converting the data.setCulture
(Object culture) Set the culture property: The culture used to convert data from/to string.setDateTimeFormat
(Object dateTimeFormat) Set the dateTimeFormat property: The format for DateTime values.setDateTimeOffsetFormat
(Object dateTimeOffsetFormat) Set the dateTimeOffsetFormat property: The format for DateTimeOffset values.setTimeSpanFormat
(Object timeSpanFormat) Set the timeSpanFormat property: The format for TimeSpan values.setTreatBooleanAsNumber
(Object treatBooleanAsNumber) Set the treatBooleanAsNumber property: Whether to treat boolean values as numbers.
-
Constructor Details
-
TypeConversionSettings
public TypeConversionSettings()
-
-
Method Details
-
getAllowDataTruncation
Get the allowDataTruncation property: Whether to allow data truncation when converting the data. Type: boolean (or Expression with resultType boolean).- Returns:
- the allowDataTruncation value.
-
setAllowDataTruncation
Set the allowDataTruncation property: Whether to allow data truncation when converting the data. Type: boolean (or Expression with resultType boolean).- Parameters:
allowDataTruncation
- the allowDataTruncation value to set.- Returns:
- the TypeConversionSettings object itself.
-
getTreatBooleanAsNumber
Get the treatBooleanAsNumber property: Whether to treat boolean values as numbers. Type: boolean (or Expression with resultType boolean).- Returns:
- the treatBooleanAsNumber value.
-
setTreatBooleanAsNumber
Set the treatBooleanAsNumber property: Whether to treat boolean values as numbers. Type: boolean (or Expression with resultType boolean).- Parameters:
treatBooleanAsNumber
- the treatBooleanAsNumber value to set.- Returns:
- the TypeConversionSettings object itself.
-
getDateTimeFormat
Get the dateTimeFormat property: The format for DateTime values. Type: string (or Expression with resultType string).- Returns:
- the dateTimeFormat value.
-
setDateTimeFormat
Set the dateTimeFormat property: The format for DateTime values. Type: string (or Expression with resultType string).- Parameters:
dateTimeFormat
- the dateTimeFormat value to set.- Returns:
- the TypeConversionSettings object itself.
-
getDateTimeOffsetFormat
Get the dateTimeOffsetFormat property: The format for DateTimeOffset values. Type: string (or Expression with resultType string).- Returns:
- the dateTimeOffsetFormat value.
-
setDateTimeOffsetFormat
Set the dateTimeOffsetFormat property: The format for DateTimeOffset values. Type: string (or Expression with resultType string).- Parameters:
dateTimeOffsetFormat
- the dateTimeOffsetFormat value to set.- Returns:
- the TypeConversionSettings object itself.
-
getTimeSpanFormat
Get the timeSpanFormat property: The format for TimeSpan values. Type: string (or Expression with resultType string).- Returns:
- the timeSpanFormat value.
-
setTimeSpanFormat
Set the timeSpanFormat property: The format for TimeSpan values. Type: string (or Expression with resultType string).- Parameters:
timeSpanFormat
- the timeSpanFormat value to set.- Returns:
- the TypeConversionSettings object itself.
-
getCulture
Get the culture property: The culture used to convert data from/to string. Type: string (or Expression with resultType string).- Returns:
- the culture value.
-
setCulture
Set the culture property: The culture used to convert data from/to string. Type: string (or Expression with resultType string).- Parameters:
culture
- the culture value to set.- Returns:
- the TypeConversionSettings object itself.
-