public class AnalysisException extends Exception implements SparkThrowable, scala.Serializable
Constructor and Description |
---|
AnalysisException(String errorClass,
scala.collection.immutable.Map<String,String> messageParameters) |
AnalysisException(String errorClass,
scala.collection.immutable.Map<String,String> messageParameters,
scala.Option<Throwable> cause) |
AnalysisException(String errorClass,
scala.collection.immutable.Map<String,String> messageParameters,
org.apache.spark.sql.catalyst.trees.Origin origin) |
AnalysisException(String errorClass,
scala.collection.immutable.Map<String,String> messageParameters,
org.apache.spark.sql.catalyst.trees.Origin origin,
scala.Option<Throwable> cause) |
AnalysisException(String errorClass,
scala.collection.immutable.Map<String,String> messageParameters,
QueryContext[] context,
String summary) |
Modifier and Type | Method and Description |
---|---|
scala.Option<Throwable> |
cause() |
QueryContext[] |
context() |
AnalysisException |
copy(String message,
scala.Option<Object> line,
scala.Option<Object> startPosition,
scala.Option<org.apache.spark.sql.catalyst.plans.logical.LogicalPlan> plan,
scala.Option<Throwable> cause,
scala.Option<String> errorClass,
scala.collection.immutable.Map<String,String> messageParameters,
QueryContext[] context) |
scala.Option<String> |
errorClass() |
String |
getErrorClass() |
String |
getMessage() |
java.util.Map<String,String> |
getMessageParameters() |
QueryContext[] |
getQueryContext() |
String |
getSimpleMessage() |
scala.Option<Object> |
line() |
String |
message() |
scala.collection.immutable.Map<String,String> |
messageParameters() |
scala.Option<org.apache.spark.sql.catalyst.plans.logical.LogicalPlan> |
plan() |
scala.Option<Object> |
startPosition() |
AnalysisException |
withPosition(org.apache.spark.sql.catalyst.trees.Origin origin) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
getSqlState, isInternalError
public AnalysisException(String errorClass, scala.collection.immutable.Map<String,String> messageParameters, scala.Option<Throwable> cause)
public AnalysisException(String errorClass, scala.collection.immutable.Map<String,String> messageParameters, QueryContext[] context, String summary)
public AnalysisException(String errorClass, scala.collection.immutable.Map<String,String> messageParameters)
public AnalysisException(String errorClass, scala.collection.immutable.Map<String,String> messageParameters, org.apache.spark.sql.catalyst.trees.Origin origin)
public AnalysisException(String errorClass, scala.collection.immutable.Map<String,String> messageParameters, org.apache.spark.sql.catalyst.trees.Origin origin, scala.Option<Throwable> cause)
public String message()
public scala.Option<Object> line()
public scala.Option<Object> startPosition()
public scala.Option<org.apache.spark.sql.catalyst.plans.logical.LogicalPlan> plan()
public scala.Option<Throwable> cause()
public scala.Option<String> errorClass()
public scala.collection.immutable.Map<String,String> messageParameters()
public QueryContext[] context()
public AnalysisException copy(String message, scala.Option<Object> line, scala.Option<Object> startPosition, scala.Option<org.apache.spark.sql.catalyst.plans.logical.LogicalPlan> plan, scala.Option<Throwable> cause, scala.Option<String> errorClass, scala.collection.immutable.Map<String,String> messageParameters, QueryContext[] context)
public AnalysisException withPosition(org.apache.spark.sql.catalyst.trees.Origin origin)
public String getMessage()
getMessage
in class Throwable
public String getSimpleMessage()
public java.util.Map<String,String> getMessageParameters()
getMessageParameters
in interface SparkThrowable
public String getErrorClass()
getErrorClass
in interface SparkThrowable
public QueryContext[] getQueryContext()
getQueryContext
in interface SparkThrowable