c

org.apache.spark.sql.hive.rapids

GpuHiveTextWriter

class GpuHiveTextWriter extends ColumnarOutputWriter

Linear Supertypes
ColumnarOutputWriter, HostBufferConsumer, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GpuHiveTextWriter
  2. ColumnarOutputWriter
  3. HostBufferConsumer
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GpuHiveTextWriter(path: String, dataSchema: StructType, context: TaskAttemptContext)

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 bufferBatchAndClose(batch: ColumnarBatch): Long
    Attributes
    protected[this]
    Definition Classes
    ColumnarOutputWriter
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def close(): Unit

    Closes the ColumnarOutputWriter.

    Closes the ColumnarOutputWriter. Invoked on the executor side after all columnar batches are persisted, before the task output is committed.

    Definition Classes
    ColumnarOutputWriter
  8. val conf: Configuration
    Attributes
    protected
    Definition Classes
    ColumnarOutputWriter
  9. def done(): Unit
    Definition Classes
    HostBufferConsumer
  10. def dropBufferedData(): Unit
    Definition Classes
    ColumnarOutputWriter
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def getOutputStream: FSDataOutputStream
    Attributes
    protected
    Definition Classes
    ColumnarOutputWriter
  16. def handleBuffer(buffer: HostMemoryBuffer, len: Long): Unit
    Definition Classes
    ColumnarOutputWriter → HostBufferConsumer
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. val outputStream: FSDataOutputStream
    Attributes
    protected
    Definition Classes
    ColumnarOutputWriter
  23. val path: String

    The file path to write.

    The file path to write. Invoked on the executor side.

    Definition Classes
    GpuHiveTextWriterColumnarOutputWriter
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. val tableWriter: TableWriter
  26. def throwIfRebaseNeededInExceptionMode(batch: ColumnarBatch): Unit
    Attributes
    protected
    Definition Classes
    ColumnarOutputWriter
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. def transformAndClose(cb: ColumnarBatch): ColumnarBatch

    This reformats columns, to iron out inconsistencies between CUDF serialization results and the values expected by Apache Spark (and Apache Hive's) LazySimpleSerDe.

    This reformats columns, to iron out inconsistencies between CUDF serialization results and the values expected by Apache Spark (and Apache Hive's) LazySimpleSerDe.

    This writer currently reformats timestamp and floating point columns.

    Definition Classes
    GpuHiveTextWriterColumnarOutputWriter
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  32. def writeBufferedData(): Unit
    Definition Classes
    ColumnarOutputWriter
  33. def writeSpillableAndClose(spillableBatch: SpillableColumnarBatch, statsTrackers: Seq[ColumnarWriteTaskStatsTracker]): Long

    Persists a columnar batch.

    Persists a columnar batch. Invoked on the executor side. When writing to dynamically partitioned tables, dynamic partition columns are not included in columns to be written.

    NOTE: This method will close spillableBatch. We do this because we want to free GPU memory after the GPU has finished encoding the data but before it is written to the distributed filesystem. The GPU semaphore is released during the distributed filesystem transfer to allow other tasks to start/continue GPU processing.

    Definition Classes
    ColumnarOutputWriter

Inherited from ColumnarOutputWriter

Inherited from HostBufferConsumer

Inherited from AnyRef

Inherited from Any

Ungrouped