package util
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
- sealed trait ParseMode extends AnyRef
-
case class
PartialResultException(partialResult: Row, cause: Throwable) extends Exception with Product with Serializable
Exception thrown when the underlying parser returns a partial result of parsing.
Exception thrown when the underlying parser returns a partial result of parsing.
- partialResult
the partial result of parsing a bad record.
- cause
the actual exception about why the parser cannot return full result.
Value Members
-
object
DropMalformedMode extends ParseMode with Product with Serializable
This mode ignores the whole corrupted records.
-
object
FailFastMode extends ParseMode with Product with Serializable
This mode throws an exception when it meets corrupted records.
- object ParseMode
-
object
PermissiveMode extends ParseMode with Product with Serializable
This mode permissively parses the records.
-
object
XSDToSchema
Utility to generate a Spark schema from an XSD.
Utility to generate a Spark schema from an XSD. Not all XSD schemas are simple tabular schemas, so not all elements or XSDs are supported.
- Annotations
- @Experimental()