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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionscala.Option<BreakingChangeInfo>getBreakingChangeInfo(String errorClass) getErrorMessage(String errorClass, scala.collection.immutable.Map<String, Object> messageParameters) scala.collection.immutable.Seq<String>getMessageParameters(String errorClass) getMessageTemplate(String errorClass) getSqlState(String errorClass) booleanisValidErrorClass(String errorClass)
-
Constructor Details
-
ErrorClassesJsonReader
-
-
Method Details
-
getErrorMessage
-
getMessageParameters
-
getBreakingChangeInfo
-
getMessageTemplate
-
getSqlState
-
isValidErrorClass
-