case class Origin(line: Option[Int] = None, startPosition: Option[Int] = None, startIndex: Option[Int] = None, stopIndex: Option[Int] = None, sqlText: Option[String] = None, objectType: Option[String] = None, objectName: Option[String] = None) extends Product with Serializable
Contexts of TreeNodes, including location, SQL text, object type and object name. The only supported object type is "VIEW" now. In the future, we may support SQL UDF or other objects which contain SQL text.
- Alphabetic
- By Inheritance
- Origin
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Origin(line: Option[Int] = None, startPosition: Option[Int] = None, startIndex: Option[Int] = None, stopIndex: Option[Int] = None, sqlText: Option[String] = None, objectType: Option[String] = None, objectName: Option[String] = None)
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]) @native()
- lazy val context: String
The SQL query context of current node.
The SQL query context of current node. For example:
SQL of VIEW v1(line 1, position 25)
SELECT AS five, i.f1, i.f1 - int('2') AS x FROM INT4_TBL i ^^^^^^^^^^^^^^^
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val line: Option[Int]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val objectName: Option[String]
- val objectType: Option[String]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val sqlText: Option[String]
- val startIndex: Option[Int]
- val startPosition: Option[Int]
- val stopIndex: Option[Int]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()