org.apache.spark.sql.execution.local

LocalNode

abstract class LocalNode extends QueryPlan[LocalNode] with Logging

A local physical operator, in the form of an iterator.

Before consuming the iterator, open function must be called. After consuming the iterator, close function must be called.

Linear Supertypes
Logging, QueryPlan[LocalNode], TreeNode[LocalNode], Product, Equals, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LocalNode
  2. Logging
  3. QueryPlan
  4. TreeNode
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LocalNode(conf: SQLConf)

Abstract Value Members

  1. abstract def canEqual(that: Any): Boolean

    Definition Classes
    Equals
  2. abstract def children: Seq[LocalNode]

    Definition Classes
    TreeNode
  3. abstract def close(): Unit

    Closes the iterator and releases all resources.

    Closes the iterator and releases all resources. It should be idempotent.

    Implementations of this must also call the close() function of its children.

  4. abstract def fetch(): InternalRow

    Returns the current tuple.

  5. abstract def next(): Boolean

    Advances the iterator to the next tuple.

    Advances the iterator to the next tuple. Returns true if there is at least one more tuple.

  6. abstract def open(): Unit

    Initializes the iterator state.

    Initializes the iterator state. Must be called before calling next().

    Implementations of this must also call the open() function of its children.

  7. abstract def output: Seq[Attribute]

    Definition Classes
    QueryPlan
  8. abstract def productArity: Int

    Definition Classes
    Product
  9. abstract def productElement(n: Int): Any

    Definition Classes
    Product

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def apply(number: Int): LocalNode

    Definition Classes
    TreeNode
  7. def argString: String

    Definition Classes
    TreeNode
  8. def asCode: String

    Definition Classes
    TreeNode
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. final def asIterator: Iterator[InternalRow]

    Returns the content through the Iterator interface.

  11. def canProcessSafeRows: Boolean

    Specifies whether this operator is capable of processing Java-object-based Rows (i.

    Specifies whether this operator is capable of processing Java-object-based Rows (i.e. rows that are not UnsafeRows).

  12. def canProcessUnsafeRows: Boolean

    Specifies whether this operator is capable of processing UnsafeRows

  13. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. final def collect(): Seq[Row]

    Returns the content of the iterator from the beginning to the end in the form of a Scala Seq.

  15. def collect[B](pf: PartialFunction[LocalNode, B]): Seq[B]

    Definition Classes
    TreeNode
  16. def collectFirst[B](pf: PartialFunction[LocalNode, B]): Option[B]

    Definition Classes
    TreeNode
  17. lazy val containsChild: Set[TreeNode[_]]

    Definition Classes
    TreeNode
  18. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  20. def expressions: Seq[Expression]

    Definition Classes
    QueryPlan
  21. def fastEquals(other: TreeNode[_]): Boolean

    Definition Classes
    TreeNode
  22. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. def find(f: (LocalNode) ⇒ Boolean): Option[LocalNode]

    Definition Classes
    TreeNode
  24. def flatMap[A](f: (LocalNode) ⇒ TraversableOnce[A]): Seq[A]

    Definition Classes
    TreeNode
  25. def foreach(f: (LocalNode) ⇒ Unit): Unit

    Definition Classes
    TreeNode
  26. def foreachUp(f: (LocalNode) ⇒ Unit): Unit

    Definition Classes
    TreeNode
  27. def generateTreeString(depth: Int, lastChildren: Seq[Boolean], builder: StringBuilder): StringBuilder

    Attributes
    protected
    Definition Classes
    TreeNode
  28. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  29. def getNodeNumbered(number: MutableInt): LocalNode

    Attributes
    protected
    Definition Classes
    TreeNode
  30. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  31. def inputSet: AttributeSet

    Definition Classes
    QueryPlan
  32. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  33. def isTraceEnabled(): Boolean

    Attributes
    protected
    Definition Classes
    Logging
  34. def jsonFields: List[(String, JValue)]

    Attributes
    protected
    Definition Classes
    TreeNode
  35. def log: Logger

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

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

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

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

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

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

    Attributes
    protected
    Definition Classes
    Logging
  42. def logName: String

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

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

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

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

    Attributes
    protected
    Definition Classes
    Logging
  47. def makeCopy(newArgs: Array[AnyRef]): LocalNode

    Definition Classes
    TreeNode
  48. def map[A](f: (LocalNode) ⇒ A): Seq[A]

    Definition Classes
    TreeNode
  49. def mapChildren(f: (LocalNode) ⇒ LocalNode): LocalNode

    Definition Classes
    TreeNode
  50. def missingInput: AttributeSet

    Definition Classes
    QueryPlan
  51. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  52. def newMutableProjection(expressions: Seq[Expression], inputSchema: Seq[Attribute]): () ⇒ MutableProjection

    Attributes
    protected
  53. def newPredicate(expression: Expression, inputSchema: Seq[Attribute]): (InternalRow) ⇒ Boolean

    Attributes
    protected
  54. def newProjection(expressions: Seq[Expression], inputSchema: Seq[Attribute]): Projection

    Attributes
    protected
  55. def nodeName: String

    Definition Classes
    TreeNode
  56. final def notify(): Unit

    Definition Classes
    AnyRef
  57. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  58. def numberedTreeString: String

    Definition Classes
    TreeNode
  59. val origin: Origin

    Definition Classes
    TreeNode
  60. def otherCopyArgs: Seq[AnyRef]

    Attributes
    protected
    Definition Classes
    TreeNode
  61. def outputSet: AttributeSet

    Definition Classes
    QueryPlan
  62. def outputsUnsafeRows: Boolean

    Specifies whether this operator outputs UnsafeRows

  63. def prepare(): Unit

    Called before open().

    Called before open(). Prepare can be used to reserve memory needed. It must NOT consume any input data.

    Implementations of this must also call the prepare() function of its children.

  64. def prettyJson: String

    Definition Classes
    TreeNode
  65. def printSchema(): Unit

    Definition Classes
    QueryPlan
  66. def productIterator: Iterator[Any]

    Definition Classes
    Product
  67. def productPrefix: String

    Definition Classes
    Product
  68. def references: AttributeSet

    Definition Classes
    QueryPlan
  69. lazy val schema: StructType

    Definition Classes
    QueryPlan
  70. def schemaString: String

    Definition Classes
    QueryPlan
  71. def simpleString: String

    Definition Classes
    QueryPlan → TreeNode
  72. def statePrefix: String

    Attributes
    protected
    Definition Classes
    QueryPlan
  73. def stringArgs: Iterator[Any]

    Attributes
    protected
    Definition Classes
    TreeNode
  74. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  75. def toJSON: String

    Definition Classes
    TreeNode
  76. def toString(): String

    Definition Classes
    TreeNode → AnyRef → Any
  77. def transform(rule: PartialFunction[LocalNode, LocalNode]): LocalNode

    Definition Classes
    TreeNode
  78. def transformAllExpressions(rule: PartialFunction[Expression, Expression]): LocalNode.this.type

    Definition Classes
    QueryPlan
  79. def transformChildren(rule: PartialFunction[LocalNode, LocalNode], nextOperation: (LocalNode, PartialFunction[LocalNode, LocalNode]) ⇒ LocalNode): LocalNode

    Attributes
    protected
    Definition Classes
    TreeNode
  80. def transformDown(rule: PartialFunction[LocalNode, LocalNode]): LocalNode

    Definition Classes
    TreeNode
  81. def transformExpressions(rule: PartialFunction[Expression, Expression]): LocalNode.this.type

    Definition Classes
    QueryPlan
  82. def transformExpressionsDown(rule: PartialFunction[Expression, Expression]): LocalNode.this.type

    Definition Classes
    QueryPlan
  83. def transformExpressionsUp(rule: PartialFunction[Expression, Expression]): LocalNode.this.type

    Definition Classes
    QueryPlan
  84. def transformUp(rule: PartialFunction[LocalNode, LocalNode]): LocalNode

    Definition Classes
    TreeNode
  85. def treeString: String

    Definition Classes
    TreeNode
  86. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  87. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  88. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  89. def withNewChildren(newChildren: Seq[LocalNode]): LocalNode

    Definition Classes
    TreeNode

Inherited from Logging

Inherited from QueryPlan[LocalNode]

Inherited from TreeNode[LocalNode]

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped