trait TableCompressionCodec extends AnyRef
An interface to a compression codec that can compress a contiguous Table on the GPU
- Alphabetic
- By Inheritance
- TableCompressionCodec
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
val
codecId: Byte
The ID used for this codec.
The ID used for this codec. See the definitions in
CodecType. -
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.
-
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
-
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
-
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.
-
abstract
val
name: String
The name of the codec, used for logging.
Concrete 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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.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()
-
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
- @native() @throws( ... )