public final class XmlReadSettings extends FormatReadSettings
| Constructor and Description |
|---|
XmlReadSettings() |
| Modifier and Type | Method and Description |
|---|---|
CompressionReadSettings |
compressionProperties()
Get the compressionProperties property: Compression settings.
|
Object |
detectDataType()
Get the detectDataType property: Indicates whether type detection is enabled when reading the xml files.
|
Object |
namespacePrefixes()
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.
|
Object |
namespaces()
Get the namespaces property: Indicates whether namespace is enabled when reading the xml files.
|
void |
validate()
Validates the instance.
|
Object |
validationMode()
Get the validationMode property: Indicates what validation method is used when reading the xml files.
|
XmlReadSettings |
withCompressionProperties(CompressionReadSettings compressionProperties)
Set the compressionProperties property: Compression settings.
|
XmlReadSettings |
withDetectDataType(Object detectDataType)
Set the detectDataType property: Indicates whether type detection is enabled when reading the xml files.
|
XmlReadSettings |
withNamespacePrefixes(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.
|
XmlReadSettings |
withNamespaces(Object namespaces)
Set the namespaces property: Indicates whether namespace is enabled when reading the xml files.
|
XmlReadSettings |
withValidationMode(Object validationMode)
Set the validationMode property: Indicates what validation method is used when reading the xml files.
|
additionalProperties, withAdditionalPropertiespublic CompressionReadSettings compressionProperties()
public XmlReadSettings withCompressionProperties(CompressionReadSettings compressionProperties)
compressionProperties - the compressionProperties value to set.public Object validationMode()
public XmlReadSettings withValidationMode(Object validationMode)
validationMode - the validationMode value to set.public Object detectDataType()
public XmlReadSettings withDetectDataType(Object detectDataType)
detectDataType - the detectDataType value to set.public Object namespaces()
public XmlReadSettings withNamespaces(Object namespaces)
namespaces - the namespaces value to set.public Object namespacePrefixes()
public XmlReadSettings withNamespacePrefixes(Object namespacePrefixes)
namespacePrefixes - the namespacePrefixes value to set.public void validate()
validate in class FormatReadSettingsIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.