Packages

trait TableCompressionCodec extends AnyRef

An interface to a compression codec that can compress a contiguous Table on the GPU

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TableCompressionCodec
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val codecId: Byte

    The ID used for this codec.

    The ID used for this codec. See the definitions in CodecType.

  2. abstract def compress(tableId: Int, contigTable: ContiguousTable, stream: Stream): CompressedTable

    Compress a contiguous table.

    Compress a contiguous table.

    tableId

    ID to use for this table

    contigTable

    contiguous table to compress

    stream

    CUDA stream to use

    returns

    compressed table

    Note

    The contiguous table is NOT closed by this operation and must be closed separately.

    ,

    The compressed buffer MAY NOT be ideally sized to the compressed data. It may be significantly larger than the size of the compressed data. Releasing this unused memory will require making a copy of the data to a buffer of the appropriate size.

  3. abstract def createBatchCompressor(maxBatchMemorySize: Long, stream: Stream): BatchedTableCompressor

    Create a batched compressor instance

    Create a batched compressor instance

    maxBatchMemorySize

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

    stream

    CUDA stream to use for compression

    returns

    batched compressor instance

  4. abstract def createBatchDecompressor(maxBatchMemorySize: Long, stream: Stream): BatchedBufferDecompressor

    Create a batched decompressor instance

    Create a batched decompressor instance

    maxBatchMemorySize

    The upper limit in bytes of temporary and output memory usage at which a batch should be decompressed. A single buffer that requires temporary and output memory above this limit is allowed but will be decompressed individually.

    stream

    CUDA stream to use for decompression

    returns

    batched decompressor instance

  5. abstract def decompressBufferAsync(outputBuffer: DeviceMemoryBuffer, outputOffset: Long, outputLength: Long, inputBuffer: DeviceMemoryBuffer, inputOffset: Long, inputLength: Long, stream: Stream): Unit

    Decompress the compressed data buffer from a table compression operation asynchronously using the specified stream.

    Decompress the compressed data buffer from a table compression operation asynchronously using the specified stream.

    outputBuffer

    buffer where uncompressed data will be written

    outputOffset

    offset in the uncompressed buffer to start writing data

    outputLength

    expected length of the uncompressed data in bytes

    inputBuffer

    buffer containing the compressed data

    inputOffset

    offset in the compressed buffer where compressed data starts

    inputLength

    length of the compressed data in bytes

    stream

    CUDA stream to use

    Note

    The compressed buffer is NOT closed by this method.

  6. abstract val name: String

    The name of the codec, used for logging.

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped