Class

org.apache.spark.sql.execution.local

LocalNode

Related Doc: package local

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LocalNode(conf: SQLConf)

    Permalink

Abstract Value Members

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

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

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

    Permalink

    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

    Permalink

    Returns the current tuple.

  5. abstract def next(): Boolean

    Permalink

    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

    Permalink

    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]

    Permalink
    Definition Classes
    QueryPlan
  8. abstract def productArity: Int

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

    Permalink
    Definition Classes
    Product

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(number: Int): LocalNode

    Permalink
    Definition Classes
    TreeNode
  5. def argString: String

    Permalink
    Definition Classes
    TreeNode
  6. def asCode: String

    Permalink
    Definition Classes
    TreeNode
  7. final def asInstanceOf[T0]: T0

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

    Permalink

    Returns the content through the Iterator interface.

  9. def canProcessSafeRows: Boolean

    Permalink

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

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

  10. def canProcessUnsafeRows: Boolean

    Permalink

    Specifies whether this operator is capable of processing UnsafeRows

  11. def clone(): AnyRef

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

    Permalink

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    TreeNode
  20. def finalize(): Unit

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  29. def inputSet: AttributeSet

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

    Permalink
    Definition Classes
    Any
  31. def isTraceEnabled(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  32. def log: Logger

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

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

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  39. def logName: String

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    TreeNode
  47. def missingInput: AttributeSet

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

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

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

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

    Permalink
    Attributes
    protected
  52. def nodeName: String

    Permalink
    Definition Classes
    TreeNode
  53. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  54. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  55. def numberedTreeString: String

    Permalink
    Definition Classes
    TreeNode
  56. val origin: Origin

    Permalink
    Definition Classes
    TreeNode
  57. def otherCopyArgs: Seq[AnyRef]

    Permalink
    Attributes
    protected
    Definition Classes
    TreeNode
  58. def outputSet: AttributeSet

    Permalink
    Definition Classes
    QueryPlan
  59. def outputsUnsafeRows: Boolean

    Permalink

    Specifies whether this operator outputs UnsafeRows

  60. def prepare(): Unit

    Permalink

    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.

  61. def printSchema(): Unit

    Permalink
    Definition Classes
    QueryPlan
  62. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  63. def productPrefix: String

    Permalink
    Definition Classes
    Product
  64. def references: AttributeSet

    Permalink
    Definition Classes
    QueryPlan
  65. lazy val schema: StructType

    Permalink
    Definition Classes
    QueryPlan
  66. def schemaString: String

    Permalink
    Definition Classes
    QueryPlan
  67. def simpleString: String

    Permalink
    Definition Classes
    QueryPlan → TreeNode
  68. def statePrefix: String

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

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

    Permalink
    Definition Classes
    AnyRef
  71. def toString(): String

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    TreeNode
  80. def treeString: String

    Permalink
    Definition Classes
    TreeNode
  81. final def wait(): Unit

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

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

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

    Permalink
    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