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
TypeCast
Utility functions for type casting