case class TableScan(fullName: String, table: Table, columns: Seq[TableColumn], nodeLocation: Option[NodeLocation]) extends Relation with LeafPlan with Product with Serializable

The lowest level operator to access a table

fullName

original table reference name in SQL. Used for generating SQL text

table

source table

columns

projectec columns

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TableScan
  2. Serializable
  3. LeafPlan
  4. Relation
  5. LogicalPlan
  6. SQLSig
  7. Product
  8. Equals
  9. TreeNode
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TableScan(fullName: String, table: Table, columns: Seq[TableColumn], nodeLocation: Option[NodeLocation])

    fullName

    original table reference name in SQL. Used for generating SQL text

    table

    source table

    columns

    projectec columns

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 childExpressions: Seq[Expression]

    Return child expressions associated to this LogicalPlan node

    Return child expressions associated to this LogicalPlan node

    returns

    child expressions of this node

    Definition Classes
    LogicalPlan
  6. def children: Seq[LogicalPlan]

    All child nodes of this plan node

    All child nodes of this plan node

    Definition Classes
    LeafPlanLogicalPlanTreeNode
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. def collectExpressions(cond: PartialFunction[Expression, Boolean]): List[Expression]

    Collect from all input expressions and report matching expressions

    Collect from all input expressions and report matching expressions

    Definition Classes
    LogicalPlan
  9. val columns: Seq[TableColumn]
  10. def copyInstance(newArgs: Seq[AnyRef]): TableScan.this.type
    Attributes
    protected
    Definition Classes
    LogicalPlan
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. val fullName: String
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def inputAttributes: Seq[Attribute]
    Definition Classes
    TableScanLeafPlanLogicalPlan
  15. def inputExpressions: List[Expression]

    List all input expressions to the plan

    List all input expressions to the plan

    Definition Classes
    LogicalPlan
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def mapChildren(f: (LogicalPlan) => LogicalPlan): LogicalPlan
    Definition Classes
    LogicalPlan
  18. def modelName: String
    Definition Classes
    LogicalPlan
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. val nodeLocation: Option[NodeLocation]

    returns

    the code location in the SQL text if available

    Definition Classes
    TableScanTreeNode
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def outputAttributes: Seq[Attribute]
    Definition Classes
    TableScanLogicalPlan
  24. def pp: String
    Definition Classes
    LogicalPlan
  25. def productElementNames: Iterator[String]
    Definition Classes
    Product
  26. lazy val resolved: Boolean
    Definition Classes
    TableScanLogicalPlan
  27. def resolvedChildren: Boolean
    Definition Classes
    LogicalPlan
  28. def sig(config: QuerySignatureConfig): String
    Definition Classes
    TableScanSQLSig
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. val table: Table
  31. def toString(): String
    Definition Classes
    TableScan → AnyRef → Any
  32. def transform(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan

    Iterate through LogicalPlans and apply matching rules for transformation.

    Iterate through LogicalPlans and apply matching rules for transformation. The transformation will be applied to the current node as well.

    Definition Classes
    LogicalPlan
  33. def transformChildExpressions(rule: PartialFunction[Expression, Expression]): LogicalPlan

    Transform only child expressions

    Transform only child expressions

    Definition Classes
    LogicalPlan
  34. def transformChildren(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan

    Transform child node only once

    Transform child node only once

    Definition Classes
    LogicalPlan
  35. def transformChildrenOnce(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan

    Apply transformOnce for all child nodes.

    Apply transformOnce for all child nodes.

    Definition Classes
    LogicalPlan
  36. def transformExpressions(rule: PartialFunction[Expression, Expression]): LogicalPlan

    Recursively transform all nested expressions

    Recursively transform all nested expressions

    Definition Classes
    LogicalPlan
  37. def transformOnce(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan

    Traverse the tree until finding the nodes matching the pattern.

    Traverse the tree until finding the nodes matching the pattern. All nodes found from the root will be transformed, and no further recursive match will occur from the transformed nodes.

    If you want to continue the transformation for the child nodes, use transformChildren or transformChildrenOnce inside the rule.

    Definition Classes
    LogicalPlan
  38. def transformUp(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
    Definition Classes
    LogicalPlan
  39. def transformUpExpressions(rule: PartialFunction[Expression, Expression]): LogicalPlan

    Depth-first transformation of expression

    Depth-first transformation of expression

    Definition Classes
    LogicalPlan
  40. def traverse[U](rule: PartialFunction[LogicalPlan, U]): Unit

    Recursively traverse plan nodes and apply the given function to LogicalPlan nodes

    Recursively traverse plan nodes and apply the given function to LogicalPlan nodes

    Definition Classes
    LogicalPlan
  41. def traverseChildren[U](rule: PartialFunction[LogicalPlan, U]): Unit

    Recursively traverse the child plan nodes and apply the given function to LogicalPlan nodes

    Recursively traverse the child plan nodes and apply the given function to LogicalPlan nodes

    Definition Classes
    LogicalPlan
  42. def traverseChildrenOnce[U](rule: PartialFunction[LogicalPlan, U]): Unit

    Recursively traverse the child plan nodes until the rule matches.

    Recursively traverse the child plan nodes until the rule matches.

    Definition Classes
    LogicalPlan
  43. def traverseExpressions[U](rule: PartialFunction[Expression, U]): Unit
    Definition Classes
    LogicalPlan
  44. def traverseOnce[U](rule: PartialFunction[LogicalPlan, U]): Unit

    Recursively traverse the plan nodes until the rule matches.

    Recursively traverse the plan nodes until the rule matches.

    Definition Classes
    LogicalPlan
  45. def unresolvedExpressions: Seq[Expression]
    Definition Classes
    LogicalPlan
  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  48. 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

Inherited from Serializable

Inherited from LeafPlan

Inherited from Relation

Inherited from LogicalPlan

Inherited from SQLSig

Inherited from Product

Inherited from Equals

Inherited from TreeNode[LogicalPlan]

Inherited from AnyRef

Inherited from Any

Ungrouped