object TableAndBatchUtils
Utilities for conversion between SpillableColumnarBatch, ColumnarBatch, and cudf.Table.
- Alphabetic
- By Inheritance
- TableAndBatchUtils
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
adoptAndMakeSpillable(cb: ColumnarBatch): SpillableColumnarBatch
Constructs SpillableColumnarBatch from ColumnarBatch
cb.Constructs SpillableColumnarBatch from ColumnarBatch
cb. The new SpillableColumnarBatch takes ownership ofcb, so the caller should not be closingcbafter the call. The returned SpillableColumnarBatch needs to be closed by the caller after use. -
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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
tblis 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. -
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
tblis 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. -
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
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
tblis 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. -
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toSpillableBatch(table: Table, types: Seq[DataType]): SpillableColumnarBatch
Constructs a SpillableColumnarBatch from the
tableandtypesspecified.Constructs a SpillableColumnarBatch from the
tableandtypesspecified. The argumenttableis not closed by this function. The resultant SpillableColumnarBatch needs to be closed by the caller after use. -
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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.
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()