Packages

c

com.nvidia.spark.rapids

AllowSpillOnlyLazySpillableColumnarBatchImpl

case class AllowSpillOnlyLazySpillableColumnarBatchImpl(wrapped: LazySpillableColumnarBatch) extends LazySpillableColumnarBatch with Arm with Product with Serializable

A version of LazySpillableColumnarBatch where instead of closing the underlying batch it is only spilled. This is used for cases, like with a streaming hash join where the data itself needs to out live the JoinGatherer it is handed off to.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AllowSpillOnlyLazySpillableColumnarBatchImpl
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Arm
  7. LazySpillableColumnarBatch
  8. LazySpillable
  9. AutoCloseable
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AllowSpillOnlyLazySpillableColumnarBatchImpl(wrapped: LazySpillableColumnarBatch)

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. def allowSpilling(): Unit

    Indicate that we are done using the data for now and it can be spilled.

    Indicate that we are done using the data for now and it can be spilled.

    This method should not have issues with being called multiple times without the data being accessed.

    Definition Classes
    AllowSpillOnlyLazySpillableColumnarBatchImplLazySpillable
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. def close(): Unit
    Definition Classes
    AllowSpillOnlyLazySpillableColumnarBatchImpl → AutoCloseable
  8. def closeOnExcept[T <: AutoCloseable, V](r: Option[T])(block: (Option[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
  9. 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
  10. 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
  11. 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
  12. 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
  13. def dataTypes: Array[DataType]

    The data types of the underlying batches columns.

    The data types of the underlying batches columns. Should not unspill the batch to get this info.

    Definition Classes
    AllowSpillOnlyLazySpillableColumnarBatchImplLazySpillableColumnarBatch
  14. def deviceMemorySize: Long

    The amount of device memory in bytes that the underlying batch uses.

    The amount of device memory in bytes that the underlying batch uses. Should not unspill the batch to get this info.

    Definition Classes
    AllowSpillOnlyLazySpillableColumnarBatchImplLazySpillableColumnarBatch
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. 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
  17. def getBatch: ColumnarBatch

    Get the batch that this wraps and unspill it if needed.

    Get the batch that this wraps and unspill it if needed.

    Definition Classes
    AllowSpillOnlyLazySpillableColumnarBatchImplLazySpillableColumnarBatch
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def numCols: Int

    How many columns are in the underlying batch.

    How many columns are in the underlying batch. Should not unspill the batch to get this info.

    Definition Classes
    AllowSpillOnlyLazySpillableColumnarBatchImplLazySpillableColumnarBatch
  24. def numRows: Int

    How many rows are in the underlying batch.

    How many rows are in the underlying batch. Should not unspill the batch to get this into.

    Definition Classes
    AllowSpillOnlyLazySpillableColumnarBatchImplLazySpillableColumnarBatch
  25. def releaseBatch(): ColumnarBatch

    Release the underlying batch to the caller who is responsible for closing it.

    Release the underlying batch to the caller who is responsible for closing it. The resulting batch will NOT be closed when this instance is closed.

    Definition Classes
    AllowSpillOnlyLazySpillableColumnarBatchImplLazySpillableColumnarBatch
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AllowSpillOnlyLazySpillableColumnarBatchImpl → AnyRef → Any
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def withResource[T <: AutoCloseable, V](h: CloseableHolder[T])(block: (CloseableHolder[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
  32. 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
  33. 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
  34. 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
  35. 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
  36. 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
  37. 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
  38. val wrapped: LazySpillableColumnarBatch

Deprecated Value Members

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Arm

Inherited from LazySpillable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped