Packages

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
Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. QueryOrigin
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. val filePath: Option[String]
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  9. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  10. val language: Option[Language]
  11. val line: Option[Int]
  12. 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.

  13. 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.

  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  17. val objectName: Option[String]
  18. val objectType: Option[String]
  19. def productElementNames: Iterator[String]
    Definition Classes
    Product
  20. val sqlText: Option[String]
  21. val startPosition: Option[Int]
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped