class AnalysisException extends Exception with SparkThrowable with Serializable with WithOrigin
Thrown when a query fails to analyze, usually because the query itself is invalid.
- Annotations
- @Stable()
- Source
- AnalysisException.scala
- Since
1.3.0
- Alphabetic
- By Inheritance
- AnalysisException
- WithOrigin
- Serializable
- SparkThrowable
- Exception
- Throwable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new AnalysisException(errorClass: String, messageParameters: Map[String, String], origin: Origin, cause: Option[Throwable])
- new AnalysisException(errorClass: String, messageParameters: Map[String, String], origin: Origin)
- new AnalysisException(errorClass: String, messageParameters: Map[String, String])
- new AnalysisException(errorClass: String, messageParameters: Map[String, String], context: Array[QueryContext], summary: String)
- new AnalysisException(errorClass: String, messageParameters: Map[String, String], cause: Option[Throwable])
-
new
AnalysisException(message: String, line: Option[Int] = None, startPosition: Option[Int] = None, cause: Option[Throwable] = None, errorClass: Option[String] = None, messageParameters: Map[String, String] = Map.empty, context: Array[QueryContext] = Array.empty)
- Attributes
- protected[sql]
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
addSuppressed(arg0: Throwable): Unit
- Definition Classes
- Throwable
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val cause: Option[Throwable]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
- val context: Array[QueryContext]
- def copy(message: String = this.message, line: Option[Int] = this.line, startPosition: Option[Int] = this.startPosition, cause: Option[Throwable] = this.cause, errorClass: Option[String] = this.errorClass, messageParameters: Map[String, String] = this.messageParameters, context: Array[QueryContext] = this.context): AnalysisException
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val errorClass: Option[String]
-
def
fillInStackTrace(): Throwable
- Definition Classes
- Throwable
-
def
getCause(): Throwable
- Definition Classes
- Throwable
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
getErrorClass(): String
- Definition Classes
- AnalysisException → SparkThrowable
-
def
getLocalizedMessage(): String
- Definition Classes
- Throwable
-
def
getMessage(): String
- Definition Classes
- AnalysisException → Throwable
-
def
getMessageParameters(): Map[String, String]
- Definition Classes
- AnalysisException → SparkThrowable
-
def
getQueryContext(): Array[QueryContext]
- Definition Classes
- AnalysisException → SparkThrowable
- def getSimpleMessage: String
-
def
getSqlState(): String
- Definition Classes
- SparkThrowable
-
def
getStackTrace(): Array[StackTraceElement]
- Definition Classes
- Throwable
-
final
def
getSuppressed(): Array[Throwable]
- Definition Classes
- Throwable
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
initCause(arg0: Throwable): Throwable
- Definition Classes
- Throwable
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isInternalError(): Boolean
- Definition Classes
- SparkThrowable
- val line: Option[Int]
- val message: String
- val messageParameters: Map[String, String]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
lazy val
origin: Origin
- Definition Classes
- AnalysisException → WithOrigin
-
def
printStackTrace(arg0: PrintWriter): Unit
- Definition Classes
- Throwable
-
def
printStackTrace(arg0: PrintStream): Unit
- Definition Classes
- Throwable
-
def
printStackTrace(): Unit
- Definition Classes
- Throwable
-
def
setStackTrace(arg0: Array[StackTraceElement]): Unit
- Definition Classes
- Throwable
- val startPosition: Option[Int]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Throwable → AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def withPosition(origin: Origin): AnalysisException
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated