TypeConversionSettings Class
- java.
lang. Object - com.
azure. analytics. synapse. artifacts. models. TypeConversionSettings
- com.
public final class TypeConversionSettings
Type conversion settings.
Constructor Summary
Constructor | Description |
---|---|
TypeConversionSettings() |
Creates an instance of Type |
Method Summary
Modifier and Type | Method and Description |
---|---|
Object |
getAllowDataTruncation()
Get the allow |
Object |
getCulture()
Get the culture property: The culture used to convert data from/to string. |
Object |
getDateTimeFormat()
Get the date |
Object |
getDateTimeOffsetFormat()
Get the date |
Object |
getTimeSpanFormat()
Get the time |
Object |
getTreatBooleanAsNumber()
Get the treat |
Type |
setAllowDataTruncation(Object allowDataTruncation)
Set the allow |
Type |
setCulture(Object culture)
Set the culture property: The culture used to convert data from/to string. |
Type |
setDateTimeFormat(Object dateTimeFormat)
Set the date |
Type |
setDateTimeOffsetFormat(Object dateTimeOffsetFormat)
Set the date |
Type |
setTimeSpanFormat(Object timeSpanFormat)
Set the time |
Type |
setTreatBooleanAsNumber(Object treatBooleanAsNumber)
Set the treat |
Methods inherited from java.lang.Object
Constructor Details
TypeConversionSettings
public TypeConversionSettings()
Creates an instance of TypeConversionSettings class.
Method Details
getAllowDataTruncation
public Object getAllowDataTruncation()
Get the allowDataTruncation property: Whether to allow data truncation when converting the data. Type: boolean (or Expression with resultType boolean).
Returns:
getCulture
public Object getCulture()
Get the culture property: The culture used to convert data from/to string. Type: string (or Expression with resultType string).
Returns:
getDateTimeFormat
public Object getDateTimeFormat()
Get the dateTimeFormat property: The format for DateTime values. Type: string (or Expression with resultType string).
Returns:
getDateTimeOffsetFormat
public Object getDateTimeOffsetFormat()
Get the dateTimeOffsetFormat property: The format for DateTimeOffset values. Type: string (or Expression with resultType string).
Returns:
getTimeSpanFormat
public Object getTimeSpanFormat()
Get the timeSpanFormat property: The format for TimeSpan values. Type: string (or Expression with resultType string).
Returns:
getTreatBooleanAsNumber
public Object getTreatBooleanAsNumber()
Get the treatBooleanAsNumber property: Whether to treat boolean values as numbers. Type: boolean (or Expression with resultType boolean).
Returns:
setAllowDataTruncation
public TypeConversionSettings setAllowDataTruncation(Object allowDataTruncation)
Set the allowDataTruncation property: Whether to allow data truncation when converting the data. Type: boolean (or Expression with resultType boolean).
Parameters:
Returns:
setCulture
public TypeConversionSettings setCulture(Object culture)
Set the culture property: The culture used to convert data from/to string. Type: string (or Expression with resultType string).
Parameters:
Returns:
setDateTimeFormat
public TypeConversionSettings setDateTimeFormat(Object dateTimeFormat)
Set the dateTimeFormat property: The format for DateTime values. Type: string (or Expression with resultType string).
Parameters:
Returns:
setDateTimeOffsetFormat
public TypeConversionSettings setDateTimeOffsetFormat(Object dateTimeOffsetFormat)
Set the dateTimeOffsetFormat property: The format for DateTimeOffset values. Type: string (or Expression with resultType string).
Parameters:
Returns:
setTimeSpanFormat
public TypeConversionSettings setTimeSpanFormat(Object timeSpanFormat)
Set the timeSpanFormat property: The format for TimeSpan values. Type: string (or Expression with resultType string).
Parameters:
Returns:
setTreatBooleanAsNumber
public TypeConversionSettings setTreatBooleanAsNumber(Object treatBooleanAsNumber)
Set the treatBooleanAsNumber property: Whether to treat boolean values as numbers. Type: boolean (or Expression with resultType boolean).
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for