class XmlOptions extends FileSourceOptions with Logging
Options for the XML data source.
- Alphabetic
- By Inheritance
- XmlOptions
- Logging
- FileSourceOptions
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new XmlOptions(parameters: Map[String, String] = Map.empty, defaultTimeZoneId: String = SQLConf.get.sessionLocalTimeZone, defaultColumnNameOfCorruptRecord: String = SQLConf.get.columnNameOfCorruptRecord, rowTagRequired: Boolean = false)
- new XmlOptions(parameters: CaseInsensitiveMap[String], defaultTimeZoneId: String, defaultColumnNameOfCorruptRecord: String, rowTagRequired: Boolean)
Type Members
- implicit class LogStringContext extends AnyRef
- Definition Classes
- Logging
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val arrayElementName: String
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val attributePrefix: String
- def buildXmlFactory(): XMLInputFactory
- val charset: String
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- val columnNameOfCorruptRecord: String
- def commonTimestampFormat: String
- Attributes
- protected
- Definition Classes
- FileSourceOptions
- val compressionCodec: Option[String]
- val dateFormatInRead: Option[String]
- val dateFormatInWrite: String
- val dateFormatOption: Option[String]
- val declaration: String
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val excludeAttributeFlag: Boolean
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- val ignoreCorruptFiles: Boolean
- Definition Classes
- FileSourceOptions
- val ignoreMissingFiles: Boolean
- Definition Classes
- FileSourceOptions
- val ignoreNamespace: Boolean
- val ignoreSurroundingSpaces: Boolean
- val indent: String
- val inferSchema: Boolean
- def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
- Attributes
- protected
- Definition Classes
- Logging
- def initializeLogIfNecessary(isInterpreter: Boolean): Unit
- Attributes
- protected
- Definition Classes
- Logging
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isTraceEnabled(): Boolean
- Attributes
- protected
- Definition Classes
- Logging
- val locale: Locale
- def log: Logger
- Attributes
- protected
- Definition Classes
- Logging
- def logDebug(msg: => String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logDebug(entry: LogEntry, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logDebug(entry: LogEntry): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logDebug(msg: => String): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logError(msg: => String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logError(entry: LogEntry, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logError(entry: LogEntry): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logError(msg: => String): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logInfo(msg: => String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logInfo(entry: LogEntry, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logInfo(entry: LogEntry): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logInfo(msg: => String): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logName: String
- Attributes
- protected
- Definition Classes
- Logging
- def logTrace(msg: => String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logTrace(entry: LogEntry, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logTrace(entry: LogEntry): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logTrace(msg: => String): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logWarning(msg: => String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logWarning(entry: LogEntry, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logWarning(entry: LogEntry): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logWarning(msg: => String): Unit
- Attributes
- protected
- Definition Classes
- Logging
- val multiLine: Boolean
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val nullValue: String
- val parameters: CaseInsensitiveMap[String]
- val parseMode: ParseMode
- 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
- val prefersDecimal: Boolean
- val rootTag: String
- val rowTag: String
- val rowTagOpt: Option[String]
- val rowValidationXSDPath: String
- val samplingRatio: Double
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val timestampFormatInRead: Option[String]
- val timestampFormatInWrite: String
- val timestampNTZFormatInRead: Option[String]
- val timestampNTZFormatInWrite: String
- val timezone: Option[String]
- def toString(): String
- Definition Classes
- AnyRef → Any
- val validateName: Boolean
- val valueTag: String
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- val wildcardColName: String
- def withLogContext(context: Map[String, String])(body: => Unit): Unit
- Attributes
- protected
- Definition Classes
- Logging
- val zoneId: ZoneId
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)