Packages

c

com.nvidia.spark.rapids

GpuLocalLimitExec

case class GpuLocalLimitExec(limit: Int, child: SparkPlan) extends SparkPlan with GpuBaseLimitExec with Product with Serializable

Take the first limit elements of each child partition, but do not collect or shuffle them.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GpuLocalLimitExec
  2. GpuBaseLimitExec
  3. ShimUnaryExecNode
  4. GpuExec
  5. LimitExec
  6. UnaryExecNode
  7. SparkPlan
  8. Serializable
  9. Serializable
  10. Logging
  11. QueryPlan
  12. SQLConfHelper
  13. TreeNode
  14. Product
  15. Equals
  16. AnyRef
  17. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GpuLocalLimitExec(limit: Int, child: SparkPlan)

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. lazy val additionalMetrics: Map[String, GpuMetric]
    Definition Classes
    GpuBaseLimitExecGpuExec
  5. lazy val allAttributes: AttributeSeq
    Definition Classes
    QueryPlan
  6. lazy val allMetrics: Map[String, GpuMetric]
    Definition Classes
    GpuExec
  7. def apply(number: Int): TreeNode[_]
    Definition Classes
    TreeNode
  8. def argString(maxFields: Int): String
    Definition Classes
    TreeNode
  9. def asCode: String
    Definition Classes
    TreeNode
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. final lazy val canonicalized: SparkPlan
    Definition Classes
    QueryPlan
    Annotations
    @transient()
  12. val child: SparkPlan
    Definition Classes
    GpuLocalLimitExec → UnaryExecNode
  13. final def children: Seq[SparkPlan]
    Definition Classes
    UnaryExecNode → TreeNode
  14. def childrenCoalesceGoal: Seq[CoalesceGoal]

    A goal to coalesce batches as the input to this operation.

    A goal to coalesce batches as the input to this operation. In some cases an operation will only work if all of the data is in a single batch. In other cases it may be much faster if it is in a single batch, but can tolerate multiple batches. This provides a way to express those desires.

    Definition Classes
    GpuExec
  15. def cleanupResources(): Unit
    Attributes
    protected[sql]
    Definition Classes
    SparkPlan
  16. def clone(): SparkPlan
    Definition Classes
    TreeNode → AnyRef
  17. def coalesceAfter: Boolean

    If true is returned batches after this will be coalesced.

    If true is returned batches after this will be coalesced. This should really be used in cases where it is known that the size of a batch may shrink a lot.

    Definition Classes
    GpuExec
  18. def collect[B](pf: PartialFunction[SparkPlan, B]): Seq[B]
    Definition Classes
    TreeNode
  19. def collectFirst[B](pf: PartialFunction[SparkPlan, B]): Option[B]
    Definition Classes
    TreeNode
  20. def collectLeaves(): Seq[SparkPlan]
    Definition Classes
    TreeNode
  21. def collectWithSubqueries[B](f: PartialFunction[SparkPlan, B]): Seq[B]
    Definition Classes
    QueryPlan
  22. def conf: SQLConf
    Definition Classes
    SQLConfHelper
  23. lazy val containsChild: Set[TreeNode[_]]
    Definition Classes
    TreeNode
  24. def copyTagsFrom(other: SparkPlan): Unit
    Definition Classes
    TreeNode
  25. def createAverageMetric(level: MetricsLevel, name: String): GpuMetric
    Attributes
    protected
    Definition Classes
    GpuExec
  26. def createFileCacheMetrics(): Map[String, GpuMetric]
    Attributes
    protected
    Definition Classes
    GpuExec
  27. def createMetric(level: MetricsLevel, name: String): GpuMetric
    Attributes
    protected
    Definition Classes
    GpuExec
  28. def createNanoTimingMetric(level: MetricsLevel, name: String): GpuMetric
    Attributes
    protected
    Definition Classes
    GpuExec
  29. def createSizeMetric(level: MetricsLevel, name: String): GpuMetric
    Attributes
    protected
    Definition Classes
    GpuExec
  30. def createTimingMetric(level: MetricsLevel, name: String): GpuMetric
    Attributes
    protected
    Definition Classes
    GpuExec
  31. def disableCoalesceUntilInput(): Boolean

    Returns true if there is something in the exec that cannot work when batches between multiple file partitions are combined into a single batch (coalesce).

    Returns true if there is something in the exec that cannot work when batches between multiple file partitions are combined into a single batch (coalesce).

    Definition Classes
    GpuExec
  32. def doCanonicalize(): SparkPlan

    Defines how the canonicalization should work for the current plan.

    Defines how the canonicalization should work for the current plan.

    Attributes
    protected
    Definition Classes
    GpuExec → QueryPlan
  33. def doExecute(): RDD[InternalRow]
    Attributes
    protected
    Definition Classes
    GpuBaseLimitExec → SparkPlan
  34. def doExecuteBroadcast[T](): Broadcast[T]
    Attributes
    protected[sql]
    Definition Classes
    SparkPlan
  35. final def doExecuteColumnar(): RDD[ColumnarBatch]
    Definition Classes
    GpuExec → SparkPlan
  36. def doPrepare(): Unit
    Attributes
    protected
    Definition Classes
    SparkPlan
  37. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. final def execute(): RDD[InternalRow]
    Definition Classes
    SparkPlan
  39. final def executeBroadcast[T](): Broadcast[T]
    Definition Classes
    SparkPlan
  40. def executeCollect(): Array[InternalRow]
    Definition Classes
    SparkPlan
  41. def executeCollectPublic(): Array[Row]
    Definition Classes
    SparkPlan
  42. final def executeColumnar(): RDD[ColumnarBatch]
    Definition Classes
    SparkPlan
  43. final def executeQuery[T](query: ⇒ T): T
    Attributes
    protected
    Definition Classes
    SparkPlan
  44. def executeTail(n: Int): Array[InternalRow]
    Definition Classes
    SparkPlan
  45. def executeTake(n: Int): Array[InternalRow]
    Definition Classes
    SparkPlan
  46. def executeToIterator(): Iterator[InternalRow]
    Definition Classes
    SparkPlan
  47. final def expressions: Seq[Expression]
    Definition Classes
    QueryPlan
  48. def fastEquals(other: TreeNode[_]): Boolean
    Definition Classes
    TreeNode
  49. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  50. def find(f: (SparkPlan) ⇒ Boolean): Option[SparkPlan]
    Definition Classes
    TreeNode
  51. def flatMap[A](f: (SparkPlan) ⇒ TraversableOnce[A]): Seq[A]
    Definition Classes
    TreeNode
  52. def foreach(f: (SparkPlan) ⇒ Unit): Unit
    Definition Classes
    TreeNode
  53. def foreachUp(f: (SparkPlan) ⇒ Unit): Unit
    Definition Classes
    TreeNode
  54. def formattedNodeName: String
    Attributes
    protected
    Definition Classes
    QueryPlan
  55. def generateTreeString(depth: Int, lastChildren: Seq[Boolean], append: (String) ⇒ Unit, verbose: Boolean, prefix: String, addSuffix: Boolean, maxFields: Int, printNodeId: Boolean, indent: Int): Unit
    Definition Classes
    TreeNode
  56. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  57. def getTagValue[T](tag: TreeNodeTag[T]): Option[T]
    Definition Classes
    TreeNode
  58. def getTaskMetrics: Option[GpuTaskMetrics]
    Definition Classes
    GpuExec
  59. def gpuExpressions: Seq[Expression]

    Return the expressions for this plan node that should be GPU expressions.

    Return the expressions for this plan node that should be GPU expressions. For most nodes this will be the same as the list of expressions, but some nodes use CPU expressions directly in some cases and will need to override this.

    Definition Classes
    GpuExec
  60. def gpuLongMetric(name: String): GpuMetric
    Definition Classes
    GpuExec
  61. def hashCode(): Int
    Definition Classes
    TreeNode → AnyRef → Any
  62. val id: Int
    Definition Classes
    SparkPlan
  63. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  64. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  65. def innerChildren: Seq[QueryPlan[_]]
    Definition Classes
    QueryPlan → TreeNode
  66. def inputSet: AttributeSet
    Definition Classes
    QueryPlan
  67. def internalDoExecuteColumnar(): RDD[ColumnarBatch]
    Definition Classes
    GpuBaseLimitExecGpuExec
  68. def isCanonicalizedPlan: Boolean
    Attributes
    protected
    Definition Classes
    QueryPlan
  69. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  70. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  71. def jsonFields: List[JField]
    Attributes
    protected
    Definition Classes
    TreeNode
  72. val limit: Int
    Definition Classes
    GpuLocalLimitExec → LimitExec
  73. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  74. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  75. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  76. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  77. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  78. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  79. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  80. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  81. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  82. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  83. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  84. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  85. def logicalLink: Option[LogicalPlan]
    Definition Classes
    SparkPlan
  86. def longMetric(name: String): SQLMetric
    Definition Classes
    SparkPlan
  87. def makeCopy(newArgs: Array[AnyRef]): SparkPlan
    Definition Classes
    SparkPlan → TreeNode
  88. def map[A](f: (SparkPlan) ⇒ A): Seq[A]
    Definition Classes
    TreeNode
  89. def mapChildren(f: (SparkPlan) ⇒ SparkPlan): SparkPlan
    Definition Classes
    TreeNode
  90. def mapExpressions(f: (Expression) ⇒ Expression): GpuLocalLimitExec.this.type
    Definition Classes
    QueryPlan
  91. def mapProductIterator[B](f: (Any) ⇒ B)(implicit arg0: ClassTag[B]): Array[B]
    Attributes
    protected
    Definition Classes
    TreeNode
  92. final lazy val metrics: Map[String, SQLMetric]
    Definition Classes
    GpuExec → SparkPlan
  93. final def missingInput: AttributeSet
    Definition Classes
    QueryPlan
  94. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  95. def nodeName: String
    Definition Classes
    TreeNode
  96. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  97. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  98. def numberedTreeString: String
    Definition Classes
    TreeNode
  99. val origin: Origin
    Definition Classes
    TreeNode
  100. def otherCopyArgs: Seq[AnyRef]
    Attributes
    protected
    Definition Classes
    TreeNode
  101. def output: Seq[Attribute]
    Definition Classes
    GpuBaseLimitExec → QueryPlan
  102. val outputBatchesLevel: MetricsLevel
    Attributes
    protected
    Definition Classes
    GpuExec
  103. def outputBatching: CoalesceGoal

    Lets a SparkPlan indicate what guarantees, if any, its output batch has.

    Lets a SparkPlan indicate what guarantees, if any, its output batch has. This lets us bypass GpuCoalesceBatch calls where ever possible. Returning a null indicates no guarantee at all, which is the default.

    Definition Classes
    GpuBaseLimitExecGpuExec
  104. def outputOrdering: Seq[SortOrder]
    Definition Classes
    GpuBaseLimitExec → SparkPlan
  105. def outputPartitioning: Partitioning
    Definition Classes
    GpuBaseLimitExec → SparkPlan
  106. val outputRowsLevel: MetricsLevel
    Attributes
    protected
    Definition Classes
    GpuExec
  107. lazy val outputSet: AttributeSet
    Definition Classes
    QueryPlan
    Annotations
    @transient()
  108. def p(number: Int): SparkPlan
    Definition Classes
    TreeNode
  109. final def prepare(): Unit
    Definition Classes
    SparkPlan
  110. def prepareSubqueries(): Unit
    Attributes
    protected
    Definition Classes
    SparkPlan
  111. def prettyJson: String
    Definition Classes
    TreeNode
  112. def printSchema(): Unit
    Definition Classes
    QueryPlan
  113. def producedAttributes: AttributeSet
    Definition Classes
    QueryPlan
  114. lazy val references: AttributeSet
    Definition Classes
    QueryPlan
    Annotations
    @transient()
  115. def requiredChildDistribution: Seq[Distribution]
    Definition Classes
    SparkPlan
  116. def requiredChildOrdering: Seq[Seq[SortOrder]]
    Definition Classes
    SparkPlan
  117. def resetMetrics(): Unit
    Definition Classes
    SparkPlan
  118. final def sameResult(other: SparkPlan): Boolean
    Definition Classes
    QueryPlan
  119. lazy val schema: StructType
    Definition Classes
    QueryPlan
  120. def schemaString: String
    Definition Classes
    QueryPlan
  121. final def semanticHash(): Int
    Definition Classes
    QueryPlan
  122. def setLogicalLink(logicalPlan: LogicalPlan): Unit
    Definition Classes
    SparkPlan
  123. def setTagValue[T](tag: TreeNodeTag[T], value: T): Unit
    Definition Classes
    TreeNode
  124. def setTaskMetrics(gpuTaskMetrics: GpuTaskMetrics): Unit
    Definition Classes
    GpuExec
  125. def simpleString(maxFields: Int): String
    Definition Classes
    QueryPlan → TreeNode
  126. def simpleStringWithNodeId(): String
    Definition Classes
    QueryPlan → TreeNode
  127. def sliceRDD(rdd: RDD[ColumnarBatch], limit: Int, offset: Int): RDD[ColumnarBatch]
    Attributes
    protected
    Definition Classes
    GpuBaseLimitExec
  128. def sparkContext: SparkContext
    Attributes
    protected
    Definition Classes
    SparkPlan
  129. def sparkSession: SparkSession
    Definition Classes
    GpuExec
  130. final val sqlContext: SQLContext
    Definition Classes
    SparkPlan
  131. def statePrefix: String
    Attributes
    protected
    Definition Classes
    QueryPlan
  132. def stringArgs: Iterator[Any]
    Attributes
    protected
    Definition Classes
    TreeNode
  133. def subqueries: Seq[SparkPlan]
    Definition Classes
    QueryPlan
  134. def subqueriesAll: Seq[SparkPlan]
    Definition Classes
    QueryPlan
  135. def supportsColumnar: Boolean
    Definition Classes
    GpuExec → SparkPlan
  136. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  137. def toJSON: String
    Definition Classes
    TreeNode
  138. def toString(): String
    Definition Classes
    TreeNode → AnyRef → Any
  139. def transform(rule: PartialFunction[SparkPlan, SparkPlan]): SparkPlan
    Definition Classes
    TreeNode
  140. def transformAllExpressions(rule: PartialFunction[Expression, Expression]): GpuLocalLimitExec.this.type
    Definition Classes
    QueryPlan
  141. def transformDown(rule: PartialFunction[SparkPlan, SparkPlan]): SparkPlan
    Definition Classes
    TreeNode
  142. def transformExpressions(rule: PartialFunction[Expression, Expression]): GpuLocalLimitExec.this.type
    Definition Classes
    QueryPlan
  143. def transformExpressionsDown(rule: PartialFunction[Expression, Expression]): GpuLocalLimitExec.this.type
    Definition Classes
    QueryPlan
  144. def transformExpressionsUp(rule: PartialFunction[Expression, Expression]): GpuLocalLimitExec.this.type
    Definition Classes
    QueryPlan
  145. def transformUp(rule: PartialFunction[SparkPlan, SparkPlan]): SparkPlan
    Definition Classes
    TreeNode
  146. def transformUpWithNewOutput(rule: PartialFunction[SparkPlan, (SparkPlan, Seq[(Attribute, Attribute)])], skipCond: (SparkPlan) ⇒ Boolean, canGetOutput: (SparkPlan) ⇒ Boolean): SparkPlan
    Definition Classes
    QueryPlan
  147. def treeString(append: (String) ⇒ Unit, verbose: Boolean, addSuffix: Boolean, maxFields: Int, printOperatorId: Boolean): Unit
    Definition Classes
    TreeNode
  148. final def treeString(verbose: Boolean, addSuffix: Boolean, maxFields: Int, printOperatorId: Boolean): String
    Definition Classes
    TreeNode
  149. final def treeString: String
    Definition Classes
    TreeNode
  150. def unsetTagValue[T](tag: TreeNodeTag[T]): Unit
    Definition Classes
    TreeNode
  151. def vectorTypes: Option[Seq[String]]
    Definition Classes
    SparkPlan
  152. def verboseString(maxFields: Int): String
    Definition Classes
    QueryPlan → TreeNode
  153. def verboseStringWithOperatorId(): String
    Definition Classes
    UnaryExecNode → QueryPlan
  154. def verboseStringWithSuffix(maxFields: Int): String
    Definition Classes
    TreeNode
  155. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  156. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  157. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  158. def waitForSubqueries(): Unit
    Attributes
    protected
    Definition Classes
    SparkPlan
  159. def withNewChildren(newChildren: Seq[SparkPlan]): SparkPlan
    Definition Classes
    TreeNode

Inherited from GpuBaseLimitExec

Inherited from ShimUnaryExecNode

Inherited from GpuExec

Inherited from LimitExec

Inherited from UnaryExecNode

Inherited from SparkPlan

Inherited from Serializable

Inherited from Serializable

Inherited from Logging

Inherited from QueryPlan[SparkPlan]

Inherited from SQLConfHelper

Inherited from TreeNode[SparkPlan]

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped