object GpuFileFormatDataWriter
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- GpuFileFormatDataWriter
- AnyRef
- Any
- Hide All
- Show All
Visibility
- 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
-
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
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 shouldSplitToFitMaxRecordsPerFile(maxRecordsPerFile: Long, recordsInFile: Long, numRowsInBatch: Long): Boolean
-
def
splitToFitMaxRecordsAndClose(batch: ColumnarBatch, maxRecordsPerFile: Long, recordsInFile: Long): Array[SpillableColumnarBatch]
Split a table into parts if recordsInFile + batch row count would go above maxRecordsPerFile and make the splits spillable.
Split a table into parts if recordsInFile + batch row count would go above maxRecordsPerFile and make the splits spillable.
The logic to find out what the splits should be is delegated to getSplitIndexes.
The input batch is closed in case of error or in case we have to split it. It is not closed if it wasn't split.
- batch
ColumnarBatch to split (and close)
- maxRecordsPerFile
max rowcount per file
- recordsInFile
row count in the file so far
- returns
array of SpillableColumnarBatch splits
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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()