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

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