Package org.apache.spark
Class ErrorClassesJsonReader
Object
org.apache.spark.ErrorClassesJsonReader
A reader to load error information from one or more JSON files. Note that, if one error appears
in more than one JSON files, the latter wins.
Please read common/utils/src/main/resources/error/README.md for more details.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetErrorMessage
(String errorClass, scala.collection.immutable.Map<String, Object> messageParameters) scala.collection.immutable.Seq<String>
getMessageParameters
(String errorClass) getMessageTemplate
(String errorClass) getSqlState
(String errorClass) boolean
isValidErrorClass
(String errorClass)
-
Constructor Details
-
ErrorClassesJsonReader
-
-
Method Details
-
getErrorMessage
-
getMessageParameters
-
getMessageTemplate
-
getSqlState
-
isValidErrorClass
-