org.apache.spark.sql.catalyst

trees

package trees

A library for easily manipulating trees of operators. Operators that extend TreeNode are granted the following interface:

- transform - accepts a partial function that is used to generate a new tree. When the partial function can be applied to a given tree segment, that segment is replaced with the result. After attempting to apply the partial function to a given node, the transform function recursively attempts to apply the function to that node's children.

Linear Supertypes
Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. trees
  2. Logging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class Origin(line: Option[Int] = scala.None, startPosition: Option[Int] = scala.None) extends Product with Serializable

  2. abstract class TreeNode[BaseType <: TreeNode[BaseType]] extends Product

  3. class TreeNodeRef extends AnyRef

    A TreeNode companion for reference equality for Hash based Collection.

Value Members

  1. object CurrentOrigin

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

  2. object TreeNode

  3. def isTraceEnabled(): Boolean

    Attributes
    protected
    Definition Classes
    Logging
  4. def log: Logger

    Attributes
    protected
    Definition Classes
    Logging
  5. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  6. def logDebug(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  7. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  8. def logError(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  9. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  10. def logInfo(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  11. def logName: String

    Attributes
    protected
    Definition Classes
    Logging
  12. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  13. def logTrace(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  14. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  15. def logWarning(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped