Packages

o

com.nvidia.spark.rapids.window

TableAndBatchUtils

object TableAndBatchUtils

Utilities for conversion between SpillableColumnarBatch, ColumnarBatch, and cudf.Table.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TableAndBatchUtils
  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. def adoptAndMakeSpillable(cb: ColumnarBatch): SpillableColumnarBatch

    Constructs SpillableColumnarBatch from ColumnarBatch cb.

    Constructs SpillableColumnarBatch from ColumnarBatch cb. The new SpillableColumnarBatch takes ownership of cb, so the caller should not be closing cb after the call. The returned SpillableColumnarBatch needs to be closed by the caller after use.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def getTableSlice(tbl: Table, beginRow: Int, endRow: Int): Table

    Gets a rectangular slice of the specified cudf.Table, with rows [beginRow, endRow) of all its columns, and returns the result as a new cudf.Table.

    Gets a rectangular slice of the specified cudf.Table, with rows [beginRow, endRow) of all its columns, and returns the result as a new cudf.Table. The argument tbl is not closed by the function. The caller needs to close, or otherwise manage its lifetime. The returned Table is owned by the caller, and needs to be closed after use.

  12. def getTableSlice(tbl: Table, beginRow: Int, endRow: Int, beginCol: Int, endCol: Int): Table

    Gets a rectangular slice of the specified cudf.Table, with rows [beginRow, endRow) of columns [beginCol, endCol).

    Gets a rectangular slice of the specified cudf.Table, with rows [beginRow, endRow) of columns [beginCol, endCol). The argument tbl is not closed by the function. The caller needs to close, or otherwise manage its lifetime. The returned Table is owned by the caller, and needs to be closed after use.

  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. def sliceAndMakeSpillable(tbl: Table, rowBegin: Int, rowEnd: Int, dataTypes: Seq[DataType]): SpillableColumnarBatch

    Gets a rectangular slice of the specified cudf.Table, with rows [beginRow, endRow) of all its columns, and converts the result into a SpillableColumnarBatch.

    Gets a rectangular slice of the specified cudf.Table, with rows [beginRow, endRow) of all its columns, and converts the result into a SpillableColumnarBatch. The argument tbl is not closed by the function. The caller needs to close, or otherwise manage its lifetime. The returned SpillableColumnarBatch is owned by the caller, and needs to be closed after use.

  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. def toSpillableBatch(table: Table, types: Seq[DataType]): SpillableColumnarBatch

    Constructs a SpillableColumnarBatch from the table and types specified.

    Constructs a SpillableColumnarBatch from the table and types specified. The argument table is not closed by this function. The resultant SpillableColumnarBatch needs to be closed by the caller after use.

  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. def toTable(cb: ColumnarBatch): Table

    Shorthand function to construct a cudf.Table from a ColumnarBatch.

    Shorthand function to construct a cudf.Table from a ColumnarBatch. The columns in the ColumnarBatch will have their reference counts incremented, when the new Table is constructed. Both the argument and the returned Table need to be closed by the caller, after use.

  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped