Packages

class XmlOptions extends FileSourceOptions with Logging

Options for the XML data source.

Linear Supertypes
Logging, FileSourceOptions, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. XmlOptions
  2. Logging
  3. FileSourceOptions
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new XmlOptions(parameters: Map[String, String] = Map.empty, defaultTimeZoneId: String = SQLConf.get.sessionLocalTimeZone, defaultColumnNameOfCorruptRecord: String = SQLConf.get.columnNameOfCorruptRecord, rowTagRequired: Boolean = false)
  2. new XmlOptions(parameters: CaseInsensitiveMap[String], defaultTimeZoneId: String, defaultColumnNameOfCorruptRecord: String, rowTagRequired: Boolean)

Type Members

  1. implicit class LogStringContext extends AnyRef
    Definition Classes
    Logging

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def MDC(key: LogKey, value: Any): MDC
    Attributes
    protected
    Definition Classes
    Logging
  5. val arrayElementName: String
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val attributePrefix: String
  8. def buildXmlFactory(): XMLInputFactory
  9. val charset: String
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  11. val columnNameOfCorruptRecord: String
  12. def commonTimestampFormat: String
    Attributes
    protected
    Definition Classes
    FileSourceOptions
  13. val compressionCodec: Option[String]
  14. val dateFormatInRead: Option[String]
  15. val dateFormatInWrite: String
  16. val dateFormatOption: Option[String]
  17. val declaration: String
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  20. val excludeAttributeFlag: Boolean
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  23. val ignoreCorruptFiles: Boolean
    Definition Classes
    FileSourceOptions
  24. val ignoreMissingFiles: Boolean
    Definition Classes
    FileSourceOptions
  25. val ignoreNamespace: Boolean
  26. val ignoreSurroundingSpaces: Boolean
  27. val indent: String
  28. val inferSchema: Boolean
  29. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  30. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  31. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  32. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  33. val locale: Locale
  34. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  35. def logBasedOnLevel(level: Level)(f: => MessageWithContext): Unit
    Attributes
    protected
    Definition Classes
    Logging
  36. def logDebug(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  37. def logDebug(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  38. def logDebug(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  39. def logDebug(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  40. def logError(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  41. def logError(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  42. def logError(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  43. def logError(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  44. def logInfo(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  45. def logInfo(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  46. def logInfo(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  47. def logInfo(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  48. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  49. def logTrace(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  50. def logTrace(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  51. def logTrace(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  52. def logTrace(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  53. def logWarning(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  54. def logWarning(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  55. def logWarning(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  56. def logWarning(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  57. val multiLine: Boolean
  58. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  59. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  60. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  61. val nullValue: String
  62. val parameters: CaseInsensitiveMap[String]
  63. val parseMode: ParseMode
  64. val preferDate: Boolean

    Infer columns with all valid date entries as date type (otherwise inferred as string or timestamp type) if schema inference is enabled.

    Infer columns with all valid date entries as date type (otherwise inferred as string or timestamp type) if schema inference is enabled.

    Enabled by default.

    Not compatible with legacyTimeParserPolicy == LEGACY since legacy date parser will accept extra trailing characters. Thus, disabled when legacyTimeParserPolicy == LEGACY

  65. val prefersDecimal: Boolean
  66. val rootTag: String
  67. val rowTag: String
  68. val rowTagOpt: Option[String]
  69. val rowValidationXSDPath: String
  70. val samplingRatio: Double
  71. val singleVariantColumn: Option[String]
  72. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  73. val timestampFormatInRead: Option[String]
  74. val timestampFormatInWrite: String
  75. val timestampNTZFormatInRead: Option[String]
  76. val timestampNTZFormatInWrite: String
  77. val timezone: Option[String]
  78. def toString(): String
    Definition Classes
    AnyRef → Any
  79. val useLegacyXMLParser: Boolean
  80. val validateName: Boolean
  81. val valueTag: String
  82. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  83. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  84. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  85. val wildcardColName: String
  86. def withLogContext(context: Map[String, String])(body: => Unit): Unit
    Attributes
    protected
    Definition Classes
    Logging
  87. val zoneId: ZoneId

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Logging

Inherited from FileSourceOptions

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped