Packages

case class GpuCount(children: Seq[Expression]) extends Expression with GpuAggregateFunction with GpuBatchedRunningWindowWithFixer with GpuAggregateWindowFunction[CountAggregation] with GpuRunningWindowFunction with Product with Serializable

Linear Supertypes
Serializable, Serializable, GpuRunningWindowFunction, GpuAggregateWindowFunction[CountAggregation], GpuWindowFunction, GpuBatchedRunningWindowWithFixer, GpuAggregateFunction, GpuUnevaluable, GpuExpression, Arm, Expression, TreeNode[Expression], Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GpuCount
  2. Serializable
  3. Serializable
  4. GpuRunningWindowFunction
  5. GpuAggregateWindowFunction
  6. GpuWindowFunction
  7. GpuBatchedRunningWindowWithFixer
  8. GpuAggregateFunction
  9. GpuUnevaluable
  10. GpuExpression
  11. Arm
  12. Expression
  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 GpuCount(children: Seq[Expression])

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 aggBufferAttributes: Seq[AttributeReference]

    Attributes of fields in aggBufferSchema.

    Attributes of fields in aggBufferSchema.

    Definition Classes
    GpuCountGpuAggregateFunction
  5. def aggBufferSchema: StructType

    The schema of the aggregation buffer.

    The schema of the aggregation buffer.

    Definition Classes
    GpuAggregateFunction
  6. def apply(number: Int): TreeNode[_]
    Definition Classes
    TreeNode
  7. def argString(maxFields: Int): String
    Definition Classes
    TreeNode
  8. def asCode: String
    Definition Classes
    TreeNode
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. lazy val canonicalized: Expression
    Definition Classes
    GpuExpression → Expression
  11. def checkInputDataTypes(): TypeCheckResult
    Definition Classes
    Expression
  12. val children: Seq[Expression]
    Definition Classes
    GpuCount → TreeNode
  13. def childrenResolved: Boolean
    Definition Classes
    Expression
  14. def clone(): Expression
    Definition Classes
    TreeNode → AnyRef
  15. def closeOnExcept[T <: AutoCloseable, V](r: ArrayBuffer[T])(block: (ArrayBuffer[T]) ⇒ V): V

    Executes the provided code block, closing the resources only if an exception occurs

    Executes the provided code block, closing the resources only if an exception occurs

    Definition Classes
    Arm
  16. def closeOnExcept[T <: AutoCloseable, V](r: Array[T])(block: (Array[T]) ⇒ V): V

    Executes the provided code block, closing the resources only if an exception occurs

    Executes the provided code block, closing the resources only if an exception occurs

    Definition Classes
    Arm
  17. def closeOnExcept[T <: AutoCloseable, V](r: Seq[T])(block: (Seq[T]) ⇒ V): V

    Executes the provided code block, closing the resources only if an exception occurs

    Executes the provided code block, closing the resources only if an exception occurs

    Definition Classes
    Arm
  18. def closeOnExcept[T <: AutoCloseable, V](r: T)(block: (T) ⇒ V): V

    Executes the provided code block, closing the resource only if an exception occurs

    Executes the provided code block, closing the resource only if an exception occurs

    Definition Classes
    Arm
  19. def collect[B](pf: PartialFunction[Expression, B]): Seq[B]
    Definition Classes
    TreeNode
  20. def collectFirst[B](pf: PartialFunction[Expression, B]): Option[B]
    Definition Classes
    TreeNode
  21. def collectLeaves(): Seq[Expression]
    Definition Classes
    TreeNode
  22. final def columnarEval(batch: ColumnarBatch): Any

    Returns the result of evaluating this expression on the entire ColumnarBatch.

    Returns the result of evaluating this expression on the entire ColumnarBatch. The result of calling this may be a single GpuColumnVector or a scalar value. Scalar values typically happen if they are a part of the expression i.e. col("a") + 100. In this case the 100 is a literal that Add would have to be able to handle.

    By convention any GpuColumnVector returned by columnarEval is owned by the caller and will need to be closed by them. This can happen by putting it into a ColumnarBatch and closing the batch or by closing the vector directly if it is a temporary value.

    Definition Classes
    GpuUnevaluableGpuExpression
  23. lazy val containsChild: Set[TreeNode[_]]
    Definition Classes
    TreeNode
  24. def copyTagsFrom(other: Expression): Unit
    Attributes
    protected
    Definition Classes
    TreeNode
  25. def dataType: DataType
    Definition Classes
    GpuCount → Expression
  26. def defaultResult: Option[GpuLiteral]

    Result of the aggregate function when the input is empty.

    Result of the aggregate function when the input is empty. This is currently only used for the proper rewriting of distinct aggregate functions.

    Definition Classes
    GpuAggregateFunction
  27. lazy val deterministic: Boolean
    Definition Classes
    Expression
  28. def disableCoalesceUntilInput(): Boolean

    Override this if your expression cannot allow combining of data from multiple files into a single batch before it operates on them.

    Override this if your expression cannot allow combining of data from multiple files into a single batch before it operates on them. These are for things like getting the input file name. Which for spark is stored in a thread local variable which means we have to jump through some hoops to make this work.

    Definition Classes
    GpuExpression
  29. final def doGenCode(ctx: CodegenContext, ev: ExprCode): ExprCode
    Attributes
    protected
    Definition Classes
    GpuExpression → Expression
  30. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def eval(input: InternalRow = null): Any
    Definition Classes
    GpuExpression → Expression
  32. lazy val evaluateExpression: Expression
    Definition Classes
    GpuCountGpuAggregateFunction
  33. def fastEquals(other: TreeNode[_]): Boolean
    Definition Classes
    TreeNode
  34. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  35. def find(f: (Expression) ⇒ Boolean): Option[Expression]
    Definition Classes
    TreeNode
  36. def flatArguments: Iterator[Any]
    Attributes
    protected
    Definition Classes
    Expression
  37. def flatMap[A](f: (Expression) ⇒ TraversableOnce[A]): Seq[A]
    Definition Classes
    TreeNode
  38. final def foldable: Boolean

    An aggregate function is not foldable.

    An aggregate function is not foldable.

    Definition Classes
    GpuAggregateFunction → Expression
  39. def foreach(f: (Expression) ⇒ Unit): Unit
    Definition Classes
    TreeNode
  40. def foreachUp(f: (Expression) ⇒ Unit): Unit
    Definition Classes
    TreeNode
  41. def freeOnExcept[T <: RapidsBuffer, V](r: T)(block: (T) ⇒ V): V

    Executes the provided code block, freeing the RapidsBuffer only if an exception occurs

    Executes the provided code block, freeing the RapidsBuffer only if an exception occurs

    Definition Classes
    Arm
  42. def genCode(ctx: CodegenContext): ExprCode
    Definition Classes
    Expression
  43. def generateTreeString(depth: Int, lastChildren: Seq[Boolean], append: (String) ⇒ Unit, verbose: Boolean, prefix: String, addSuffix: Boolean, maxFields: Int, printNodeId: Boolean): Unit
    Definition Classes
    TreeNode
  44. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  45. def getTagValue[T](tag: TreeNodeTag[T]): Option[T]
    Definition Classes
    TreeNode
  46. def groupByScanAggregation(isRunningBatched: Boolean): Seq[AggAndReplace]

    Get the aggregations to perform on the results of groupByScanInputProjection.

    Get the aggregations to perform on the results of groupByScanInputProjection. The aggregations will be zipped with the values to produce the output.

    isRunningBatched

    is this for a batched running window that will use a fixer or not?

    returns

    the aggregations to perform as a group by scan.

    Definition Classes
    GpuCountGpuRunningWindowFunction
  47. def groupByScanInputProjection(isRunningBatched: Boolean): Seq[Expression]

    Get the input projections for a group by scan.

    Get the input projections for a group by scan. This corresponds to a running window with a partition by clause. The partition keys will be used as the grouping keys.

    isRunningBatched

    is this for a batched running window that will use a fixer or not?

    returns

    the input expressions that will be aggregated using the result from groupByScanAggregation

    Definition Classes
    GpuCountGpuRunningWindowFunction
  48. def hashCode(): Int
    Definition Classes
    TreeNode → AnyRef → Any
  49. lazy val initialValues: Seq[GpuLiteral]
    Definition Classes
    GpuCountGpuAggregateFunction
  50. def innerChildren: Seq[TreeNode[_]]
    Definition Classes
    TreeNode
  51. final lazy val inputAggBufferAttributes: Seq[AttributeReference]
    Definition Classes
    GpuAggregateFunction
  52. lazy val inputProjection: Seq[Expression]
    Definition Classes
    GpuCountGpuAggregateFunction
  53. def isGroupByScanSupported: Boolean

    Should a group by scan be run or not.

    Should a group by scan be run or not. This should never return false unless this is also an instance of GpuAggregateWindowFunction so the window code can fall back to it for computation.

    Definition Classes
    GpuRunningWindowFunction
  54. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  55. def isScanSupported: Boolean

    Should a group by scan be run or not.

    Should a group by scan be run or not. This should never return false unless this is also an instance of GpuAggregateWindowFunction so the window code can fall back to it for computation.

    Definition Classes
    GpuRunningWindowFunction
  56. def jsonFields: List[JField]
    Attributes
    protected
    Definition Classes
    TreeNode
  57. def makeCopy(newArgs: Array[AnyRef]): Expression
    Definition Classes
    TreeNode
  58. def map[A](f: (Expression) ⇒ A): Seq[A]
    Definition Classes
    TreeNode
  59. def mapChildren(f: (Expression) ⇒ Expression): Expression
    Definition Classes
    TreeNode
  60. def mapProductIterator[B](f: (Any) ⇒ B)(implicit arg0: ClassTag[B]): Array[B]
    Attributes
    protected
    Definition Classes
    TreeNode
  61. lazy val mergeExpressions: Seq[GpuExpression]
    Definition Classes
    GpuCountGpuAggregateFunction
  62. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  63. def newFixer(): BatchedRunningWindowFixer

    Get a new class that can be used to fix up batched RunningWindowOperations.

    Get a new class that can be used to fix up batched RunningWindowOperations.

    Definition Classes
    GpuCountGpuBatchedRunningWindowWithFixer
  64. def nodeName: String
    Definition Classes
    TreeNode
  65. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  66. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  67. def nullable: Boolean
    Definition Classes
    GpuCount → Expression
  68. def numberedTreeString: String
    Definition Classes
    TreeNode
  69. val origin: Origin
    Definition Classes
    TreeNode
  70. def otherCopyArgs: Seq[AnyRef]
    Attributes
    protected
    Definition Classes
    TreeNode
  71. def p(number: Int): Expression
    Definition Classes
    TreeNode
  72. def prettyJson: String
    Definition Classes
    TreeNode
  73. def prettyName: String
    Definition Classes
    Expression
  74. def references: AttributeSet
    Definition Classes
    Expression
  75. lazy val resolved: Boolean
    Definition Classes
    Expression
  76. def scanAggregation(isRunningBatched: Boolean): Seq[AggAndReplace]

    Get the aggregations to perform on the results of scanInputProjection.

    Get the aggregations to perform on the results of scanInputProjection. The aggregations will be zipped with the values to produce the output.

    isRunningBatched

    is this for a batched running window that will use a fixer or not?

    returns

    the aggregations to perform as a group by scan.

    Definition Classes
    GpuCountGpuRunningWindowFunction
  77. def scanCombine(isRunningBatched: Boolean, cols: Seq[ColumnVector]): ColumnVector

    Provides a way to combine the result of multiple aggregations into a final value.

    Provides a way to combine the result of multiple aggregations into a final value. By default it requires that there is a single aggregation and works as just a pass through.

    isRunningBatched

    is this for a batched running window that will use a fixer or not?

    cols

    the columns to be combined

    returns

    the result of combining these together.

    Definition Classes
    GpuRunningWindowFunction
  78. def scanInputProjection(isRunningBatched: Boolean): Seq[Expression]

    Get the input projections for a scan.

    Get the input projections for a scan. This corresponds to a running window without a partition by clause.

    isRunningBatched

    is this for a batched running window that will use a fixer or not?

    returns

    the input expressions that will be aggregated using the result from scanAggregation

    Definition Classes
    GpuCountGpuRunningWindowFunction
  79. def semanticEquals(other: Expression): Boolean
    Definition Classes
    Expression
  80. def semanticHash(): Int
    Definition Classes
    Expression
  81. def setTagValue[T](tag: TreeNodeTag[T], value: T): Unit
    Definition Classes
    TreeNode
  82. def simpleString(maxFields: Int): String
    Definition Classes
    Expression → TreeNode
  83. def simpleStringWithNodeId(): String
    Definition Classes
    Expression → TreeNode
  84. def sql(isDistinct: Boolean): String
    Definition Classes
    GpuAggregateFunction
  85. def sql: String
    Definition Classes
    Expression
  86. def stringArgs: Iterator[Any]
    Attributes
    protected
    Definition Classes
    TreeNode
  87. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  88. def toAggString(isDistinct: Boolean): String

    String representation used in explain plans.

    String representation used in explain plans.

    Definition Classes
    GpuAggregateFunction
  89. def toJSON: String
    Definition Classes
    TreeNode
  90. def toString(): String
    Definition Classes
    Expression → TreeNode → AnyRef → Any
  91. def transform(rule: PartialFunction[Expression, Expression]): Expression
    Definition Classes
    TreeNode
  92. def transformDown(rule: PartialFunction[Expression, Expression]): Expression
    Definition Classes
    TreeNode
  93. def transformUp(rule: PartialFunction[Expression, Expression]): Expression
    Definition Classes
    TreeNode
  94. def treeString(append: (String) ⇒ Unit, verbose: Boolean, addSuffix: Boolean, maxFields: Int, printOperatorId: Boolean): Unit
    Definition Classes
    TreeNode
  95. final def treeString(verbose: Boolean, addSuffix: Boolean, maxFields: Int, printOperatorId: Boolean): String
    Definition Classes
    TreeNode
  96. final def treeString: String
    Definition Classes
    TreeNode
  97. def unsetTagValue[T](tag: TreeNodeTag[T]): Unit
    Definition Classes
    TreeNode
  98. lazy val updateExpressions: Seq[GpuExpression]
    Definition Classes
    GpuCountGpuAggregateFunction
  99. final def verboseString(maxFields: Int): String
    Definition Classes
    Expression → TreeNode
  100. def verboseStringWithSuffix(maxFields: Int): String
    Definition Classes
    TreeNode
  101. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  102. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  103. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  104. def windowAggregation(inputs: Seq[(ColumnVector, Int)]): AggregationOnColumn[CountAggregation]

    Create the aggregation operation to perform for Windowing.

    Create the aggregation operation to perform for Windowing. The input to this method is a sequence of (index, ColumnVector) that corresponds one to one with what was returned by windowInputProjection. The index is the index into the Table for the corresponding ColumnVector. Some aggregations need extra values.

    Definition Classes
    GpuCountGpuAggregateWindowFunction
  105. lazy val windowInputProjection: Seq[Expression]

    Using child references, define the shape of the vectors sent to the window operations

    Using child references, define the shape of the vectors sent to the window operations

    Definition Classes
    GpuCountGpuAggregateWindowFunction
  106. def withNewChildren(newChildren: Seq[Expression]): Expression
    Definition Classes
    TreeNode
  107. def withResource[T <: AutoCloseable, V](r: ArrayBuffer[T])(block: (ArrayBuffer[T]) ⇒ V): V

    Executes the provided code block and then closes the array buffer of resources

    Executes the provided code block and then closes the array buffer of resources

    Definition Classes
    Arm
  108. def withResource[T <: AutoCloseable, V](r: Array[T])(block: (Array[T]) ⇒ V): V

    Executes the provided code block and then closes the array of resources

    Executes the provided code block and then closes the array of resources

    Definition Classes
    Arm
  109. def withResource[T <: AutoCloseable, V](r: Seq[T])(block: (Seq[T]) ⇒ V): V

    Executes the provided code block and then closes the sequence of resources

    Executes the provided code block and then closes the sequence of resources

    Definition Classes
    Arm
  110. def withResource[T <: AutoCloseable, V](r: Option[T])(block: (Option[T]) ⇒ V): V

    Executes the provided code block and then closes the Option[resource]

    Executes the provided code block and then closes the Option[resource]

    Definition Classes
    Arm
  111. def withResource[T <: AutoCloseable, V](r: T)(block: (T) ⇒ V): V

    Executes the provided code block and then closes the resource

    Executes the provided code block and then closes the resource

    Definition Classes
    Arm
  112. def withResourceIfAllowed[T, V](r: T)(block: (T) ⇒ V): V

    Executes the provided code block and then closes the value if it is AutoCloseable

    Executes the provided code block and then closes the value if it is AutoCloseable

    Definition Classes
    Arm

Inherited from Serializable

Inherited from Serializable

Inherited from GpuRunningWindowFunction

Inherited from GpuAggregateWindowFunction[CountAggregation]

Inherited from GpuWindowFunction

Inherited from GpuAggregateFunction

Inherited from GpuUnevaluable

Inherited from GpuExpression

Inherited from Arm

Inherited from Expression

Inherited from TreeNode[Expression]

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped