Class XmlReadSettings
java.lang.Object
com.azure.analytics.synapse.artifacts.models.FormatReadSettings
com.azure.analytics.synapse.artifacts.models.XmlReadSettings
Xml read settings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the compressionProperties property: Compression settings.Get the detectDataType property: Indicates whether type detection is enabled when reading the xml files.Get the namespacePrefixes property: Namespace uri to prefix mappings to override the prefixes in column names when namespace is enabled, if no prefix is defined for a namespace uri, the prefix of xml element/attribute name in the xml data file will be used.Get the namespaces property: Indicates whether namespace is enabled when reading the xml files.Get the validationMode property: Indicates what validation method is used when reading the xml files.setCompressionProperties
(CompressionReadSettings compressionProperties) Set the compressionProperties property: Compression settings.setDetectDataType
(Object detectDataType) Set the detectDataType property: Indicates whether type detection is enabled when reading the xml files.setNamespacePrefixes
(Object namespacePrefixes) Set the namespacePrefixes property: Namespace uri to prefix mappings to override the prefixes in column names when namespace is enabled, if no prefix is defined for a namespace uri, the prefix of xml element/attribute name in the xml data file will be used.setNamespaces
(Object namespaces) Set the namespaces property: Indicates whether namespace is enabled when reading the xml files.setValidationMode
(Object validationMode) Set the validationMode property: Indicates what validation method is used when reading the xml files.Methods inherited from class com.azure.analytics.synapse.artifacts.models.FormatReadSettings
getAdditionalProperties, setAdditionalProperties
-
Constructor Details
-
XmlReadSettings
public XmlReadSettings()
-
-
Method Details
-
getCompressionProperties
Get the compressionProperties property: Compression settings.- Returns:
- the compressionProperties value.
-
setCompressionProperties
Set the compressionProperties property: Compression settings.- Parameters:
compressionProperties
- the compressionProperties value to set.- Returns:
- the XmlReadSettings object itself.
-
getValidationMode
Get the validationMode property: Indicates what validation method is used when reading the xml files. Allowed values: 'none', 'xsd', or 'dtd'. Type: string (or Expression with resultType string).- Returns:
- the validationMode value.
-
setValidationMode
Set the validationMode property: Indicates what validation method is used when reading the xml files. Allowed values: 'none', 'xsd', or 'dtd'. Type: string (or Expression with resultType string).- Parameters:
validationMode
- the validationMode value to set.- Returns:
- the XmlReadSettings object itself.
-
getDetectDataType
Get the detectDataType property: Indicates whether type detection is enabled when reading the xml files. Type: boolean (or Expression with resultType boolean).- Returns:
- the detectDataType value.
-
setDetectDataType
Set the detectDataType property: Indicates whether type detection is enabled when reading the xml files. Type: boolean (or Expression with resultType boolean).- Parameters:
detectDataType
- the detectDataType value to set.- Returns:
- the XmlReadSettings object itself.
-
getNamespaces
Get the namespaces property: Indicates whether namespace is enabled when reading the xml files. Type: boolean (or Expression with resultType boolean).- Returns:
- the namespaces value.
-
setNamespaces
Set the namespaces property: Indicates whether namespace is enabled when reading the xml files. Type: boolean (or Expression with resultType boolean).- Parameters:
namespaces
- the namespaces value to set.- Returns:
- the XmlReadSettings object itself.
-
getNamespacePrefixes
Get the namespacePrefixes property: Namespace uri to prefix mappings to override the prefixes in column names when namespace is enabled, if no prefix is defined for a namespace uri, the prefix of xml element/attribute name in the xml data file will be used. Example: "{"http://www.example.com/xml":"prefix"}" Type: object (or Expression with resultType object).- Returns:
- the namespacePrefixes value.
-
setNamespacePrefixes
Set the namespacePrefixes property: Namespace uri to prefix mappings to override the prefixes in column names when namespace is enabled, if no prefix is defined for a namespace uri, the prefix of xml element/attribute name in the xml data file will be used. Example: "{"http://www.example.com/xml":"prefix"}" Type: object (or Expression with resultType object).- Parameters:
namespacePrefixes
- the namespacePrefixes value to set.- Returns:
- the XmlReadSettings object itself.
-