Packages

package trees

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

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

    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.

  2. case class SQLQueryContext(line: Option[Int], startPosition: Option[Int], originStartIndex: Option[Int], originStopIndex: Option[Int], sqlText: Option[String], originObjectType: Option[String], originObjectName: Option[String]) extends QueryContext with Product with Serializable

    The class represents error context of a SQL query.

  3. trait WithOrigin extends AnyRef

    Helper trait for objects that can be traced back to an Origin.

Value Members

  1. object CurrentOrigin

    Provides a location for TreeNodes to ask about the context of their origin.

    Provides a location for TreeNodes to ask about the context of their origin. For example, which line of code is currently being parsed.

Ungrouped