Packages

c

com.nvidia.spark.rapids

BatchedTableCompressor

abstract class BatchedTableCompressor extends AutoCloseable with Logging

Base class for batched compressors

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BatchedTableCompressor
  2. Logging
  3. AutoCloseable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BatchedTableCompressor(maxBatchMemorySize: Long, stream: Stream)

    maxBatchMemorySize

    The upper limit in bytes of estimated output memory usage at which a batch should be compressed. A single table that requires estimated output memory above this limit is allowed but will be compressed individually.

    stream

    CUDA stream to use

Abstract Value Members

  1. abstract def compress(tables: Array[ContiguousTable], stream: Stream): Array[CompressedTable]

    Batch-compress contiguous tables

    Batch-compress contiguous tables

    tables

    contiguous tables to compress

    stream

    CUDA stream to use

    returns

    compressed tables. Table IDs in the TableMeta should be set to 0.

    Attributes
    protected

Concrete 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 addTableToCompress(contigTable: ContiguousTable): Unit

    Add a contiguous table to be batch-compressed.

    Add a contiguous table to be batch-compressed. Ownership of the table is transferred to the batch compressor which is responsible for closing the table.

    contigTable

    the contiguous table to be compressed

  5. def addTables(contigTable: Array[ContiguousTable]): Unit

    Add an array of contiguous tables to be compressed.

    Add an array of contiguous tables to be compressed. The tables will be closed by the batch compressor.

    contigTable

    contiguous tables to compress

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. def close(): Unit

    Must be closed to release the resources owned by the batch compressor

    Must be closed to release the resources owned by the batch compressor

    Definition Classes
    BatchedTableCompressor → AutoCloseable
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def finish(): Array[CompressedTable]

    This must be called after all tables to be compressed have been added to retrieve the compression results.

    This must be called after all tables to be compressed have been added to retrieve the compression results.

    returns

    compressed tables

    Note

    the table IDs in the TableMeta of all tables will be set to zero

  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  16. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  19. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  20. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  21. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  22. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  23. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  24. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  25. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  26. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  27. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  28. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  29. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. def resizeOversizedOutputs(tables: Array[CompressedTable]): Array[CompressedTable]

    Reallocates and copies data for oversized compressed data buffers due to inaccurate estimates of the compressed output size.

    Reallocates and copies data for oversized compressed data buffers due to inaccurate estimates of the compressed output size. If the buffer is already the appropriate size then no copy is performed.

    tables

    compressed tables to resize

    returns

    right-sized compressed tables

    Attributes
    protected
    Note

    This method takes ownership of the tables and is responsible for closing them.

  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Logging

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped