abstract class BatchedTableCompressor extends AutoCloseable with Logging
Base class for batched compressors
- Alphabetic
- By Inheritance
- BatchedTableCompressor
- Logging
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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
-
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
TableMetashould be set to 0.
- Attributes
- protected
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
-
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
-
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
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
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
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
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
- Attributes
- protected
- Definition Classes
- Logging
-
def
initializeLogIfNecessary(isInterpreter: Boolean): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isTraceEnabled(): Boolean
- Attributes
- protected
- Definition Classes
- Logging
-
def
log: Logger
- Attributes
- protected
- Definition Classes
- Logging
-
def
logDebug(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logDebug(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logError(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logError(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logInfo(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logInfo(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logName: String
- Attributes
- protected
- Definition Classes
- Logging
-
def
logTrace(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logTrace(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logWarning(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logWarning(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
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()
-
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.
-
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
- @throws( ... ) @native()