class NvcompLZ4CompressionCodec extends TableCompressionCodec with Arm
A table compression codec that uses nvcomp's LZ4-GPU codec
- Alphabetic
- By Inheritance
- NvcompLZ4CompressionCodec
- Arm
- TableCompressionCodec
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new NvcompLZ4CompressionCodec()
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( ... )
-
def
closeOnExcept[T <: AutoCloseable, V](r: ArrayBuffer[T])(block: (ArrayBuffer[T]) ⇒ V): V
Executes the provided code block, closing the resources only if an exception occurs
Executes the provided code block, closing the resources only if an exception occurs
- Definition Classes
- Arm
-
def
closeOnExcept[T <: AutoCloseable, V](r: Array[T])(block: (Array[T]) ⇒ V): V
Executes the provided code block, closing the resources only if an exception occurs
Executes the provided code block, closing the resources only if an exception occurs
- Definition Classes
- Arm
-
def
closeOnExcept[T <: AutoCloseable, V](r: Seq[T])(block: (Seq[T]) ⇒ V): V
Executes the provided code block, closing the resources only if an exception occurs
Executes the provided code block, closing the resources only if an exception occurs
- Definition Classes
- Arm
-
def
closeOnExcept[T <: AutoCloseable, V](r: T)(block: (T) ⇒ V): V
Executes the provided code block, closing the resource only if an exception occurs
Executes the provided code block, closing the resource only if an exception occurs
- Definition Classes
- Arm
-
val
codecId: Byte
The ID used for this codec.
The ID used for this codec. See the definitions in
CodecType.- Definition Classes
- NvcompLZ4CompressionCodec → TableCompressionCodec
-
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
- Definition Classes
- NvcompLZ4CompressionCodec → TableCompressionCodec
- 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.
-
def
createBatchCompressor(maxBatchMemoryBytes: Long, stream: Stream): BatchedTableCompressor
Create a batched compressor instance
Create a batched compressor instance
- stream
CUDA stream to use for compression
- returns
batched compressor instance
- Definition Classes
- NvcompLZ4CompressionCodec → TableCompressionCodec
-
def
createBatchDecompressor(maxBatchMemoryBytes: Long, stream: Stream): BatchedBufferDecompressor
Create a batched decompressor instance
Create a batched decompressor instance
- stream
CUDA stream to use for decompression
- returns
batched decompressor instance
- Definition Classes
- NvcompLZ4CompressionCodec → TableCompressionCodec
-
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
- Definition Classes
- NvcompLZ4CompressionCodec → TableCompressionCodec
- Note
The compressed buffer is NOT closed by this method.
-
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] )
-
def
freeOnExcept[T <: RapidsBuffer, V](r: T)(block: (T) ⇒ V): V
Executes the provided code block, freeing the RapidsBuffer only if an exception occurs
Executes the provided code block, freeing the RapidsBuffer only if an exception occurs
- Definition Classes
- Arm
-
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
-
val
name: String
The name of the codec, used for logging.
The name of the codec, used for logging.
- Definition Classes
- NvcompLZ4CompressionCodec → TableCompressionCodec
-
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( ... )
-
def
withResource[T <: AutoCloseable, V](r: ArrayBuffer[T])(block: (ArrayBuffer[T]) ⇒ V): V
Executes the provided code block and then closes the array buffer of resources
Executes the provided code block and then closes the array buffer of resources
- Definition Classes
- Arm
-
def
withResource[T <: AutoCloseable, V](r: Array[T])(block: (Array[T]) ⇒ V): V
Executes the provided code block and then closes the array of resources
Executes the provided code block and then closes the array of resources
- Definition Classes
- Arm
-
def
withResource[T <: AutoCloseable, V](r: Seq[T])(block: (Seq[T]) ⇒ V): V
Executes the provided code block and then closes the sequence of resources
Executes the provided code block and then closes the sequence of resources
- Definition Classes
- Arm
-
def
withResource[T <: AutoCloseable, V](r: Option[T])(block: (Option[T]) ⇒ V): V
Executes the provided code block and then closes the Option[resource]
Executes the provided code block and then closes the Option[resource]
- Definition Classes
- Arm
-
def
withResource[T <: AutoCloseable, V](r: T)(block: (T) ⇒ V): V
Executes the provided code block and then closes the resource
Executes the provided code block and then closes the resource
- Definition Classes
- Arm
-
def
withResourceIfAllowed[T, V](r: T)(block: (T) ⇒ V): V
Executes the provided code block and then closes the value if it is AutoCloseable
Executes the provided code block and then closes the value if it is AutoCloseable
- Definition Classes
- Arm