case class QueryOrigin(language: Option[Language] = None, filePath: Option[String] = None, sqlText: Option[String] = None, line: Option[Int] = None, startPosition: Option[Int] = None, objectType: Option[String] = None, objectName: Option[String] = None) extends Product with Serializable
Records information used to track the provenance of a given query to user code.
- language
The language used by the user to define the query.
- filePath
Path to the file of the user code that defines the query.
- sqlText
The SQL text of the query.
- line
The line number of the query in the user code. Line numbers are 1-indexed.
- startPosition
The start position of the query in the user code.
- objectType
The type of the object that the query is associated with. (Table, View, etc)
- objectName
The name of the object that the query is associated with.
- Source
- QueryOrigin.scala
- Alphabetic
- By Inheritance
- QueryOrigin
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new QueryOrigin(language: Option[Language] = None, filePath: Option[String] = None, sqlText: Option[String] = None, line: Option[Int] = None, startPosition: Option[Int] = None, objectType: Option[String] = None, objectName: Option[String] = None)
- language
The language used by the user to define the query.
- filePath
Path to the file of the user code that defines the query.
- sqlText
The SQL text of the query.
- line
The line number of the query in the user code. Line numbers are 1-indexed.
- startPosition
The start position of the query in the user code.
- objectType
The type of the object that the query is associated with. (Table, View, etc)
- objectName
The name of the object that the query is associated with.
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 asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val filePath: Option[String]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val language: Option[Language]
- val line: Option[Int]
- def merge(other: Origin): QueryOrigin
Merge values from the catalyst origin.
Merge values from the catalyst origin.
The result has fields set to the value in the other origin if it is defined, or if not, then the value in this origin.
- def merge(other: QueryOrigin): QueryOrigin
Merges this origin with another one.
Merges this origin with another one.
The result has fields set to the value in the other origin if it is defined, or if not, then the value in this origin.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val objectName: Option[String]
- val objectType: Option[String]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val sqlText: Option[String]
- val startPosition: Option[Int]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)