Packages

o

com.nvidia.spark.rapids

ConcatAndConsumeAll

object ConcatAndConsumeAll

Consumes an Iterator of ColumnarBatches and concatenates them into a single ColumnarBatch. The batches will be closed when this operation is done.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConcatAndConsumeAll
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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 buildNonEmptyBatch(arrayOfBatches: Array[ColumnarBatch], schema: StructType): ColumnarBatch

    Build a single batch from the batches collected so far.

    Build a single batch from the batches collected so far. If array is empty this will likely blow up.

    arrayOfBatches

    the batches to concat. This will be consumed and you do not need to close any of the batches after this is called.

    schema

    the schema of the output types.

    returns

    a single batch with all of them concated together.

  6. def buildNonEmptyBatchFromTypes(arrayOfBatches: Array[ColumnarBatch], dataTypes: Array[DataType]): ColumnarBatch

    Build a single batch from the batches collected so far.

    Build a single batch from the batches collected so far. If array is empty this will likely blow up.

    arrayOfBatches

    the batches to concat. This will be consumed and you do not need to close any of the batches after this is called.

    dataTypes

    the output types.

    returns

    a single batch with all of them concated together.

  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def getSingleBatchWithVerification(batches: Iterator[ColumnarBatch], format: Seq[Attribute]): ColumnarBatch

    Verify that a single batch was returned from the iterator, or if it is empty return an empty batch.

    Verify that a single batch was returned from the iterator, or if it is empty return an empty batch.

    batches

    batches to be consumed.

    format

    the format of the batches in case we need to return an empty batch. Typically this is the output of your exec.

    returns

    the single batch or an empty batch if needed. Please be careful that your exec does not return empty batches as part of an RDD.

  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped