object RapidsBufferCatalog extends Logging
- Alphabetic
- By Inheritance
- RapidsBufferCatalog
- Logging
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
acquireBuffer(handle: RapidsBufferHandle): RapidsBuffer
Lookup the buffer that corresponds to the specified buffer handle and acquire it.
Lookup the buffer that corresponds to the specified buffer handle and acquire it. NOTE: It is the responsibility of the caller to close the buffer.
- handle
buffer handle
- returns
buffer that has been acquired
-
def
acquireHostBatchBuffer(handle: RapidsBufferHandle): RapidsHostBatchBuffer
Acquires a RapidsBuffer that the caller expects to be host-backed and not device bound.
Acquires a RapidsBuffer that the caller expects to be host-backed and not device bound. This ensures that the buffer acquired implements the correct trait, otherwise it throws and removes its buffer acquisition.
- handle
handle associated with this
RapidsBuffer- returns
host-backed RapidsBuffer that has been acquired
- def addBatch(batch: ColumnarBatch, initialSpillPriority: Long): RapidsBufferHandle
-
def
addBuffer(buffer: MemoryBuffer, tableMeta: TableMeta, initialSpillPriority: Long): RapidsBufferHandle
Adds a buffer to the catalog and store.
Adds a buffer to the catalog and store. This does NOT take ownership of the buffer, so it is the responsibility of the caller to close it.
- buffer
buffer that will be owned by the store
- tableMeta
metadata describing the buffer layout
- initialSpillPriority
starting spill priority value for the buffer
- returns
RapidsBufferHandle associated with this buffer
-
def
addContiguousTable(contigTable: ContiguousTable, initialSpillPriority: Long): RapidsBufferHandle
Adds a contiguous table to the device storage.
Adds a contiguous table to the device storage. This does NOT take ownership of the contiguous table, so it is the responsibility of the caller to close it. The refcount of the underlying device buffer will be incremented so the contiguous table can be closed before this buffer is destroyed.
- contigTable
contiguous table to trackNewHandle in device storage
- initialSpillPriority
starting spill priority value for the buffer
- returns
RapidsBufferHandle associated with this buffer
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def close(): Unit
-
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] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getDeviceStorage: RapidsDeviceMemoryStore
- def getDiskBlockManager(): RapidsDiskBlockManager
- def getHostStorage: RapidsHostMemoryStore
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def init(rapidsConf: RapidsConf): Unit
-
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
numBuffers: Int
Only used in unit tests, it returns the number of buffers in the catalog.
-
def
setCatalog(catalog: RapidsBufferCatalog): Unit
Set a
RapidsBufferCataloginstance to use our singleton.Set a
RapidsBufferCataloginstance to use our singleton.- Note
This should only be called from tests!
-
def
setDeviceStorage(rdms: RapidsDeviceMemoryStore): Unit
Set a
RapidsDeviceMemoryStoreinstance to use when instantiating our catalog.Set a
RapidsDeviceMemoryStoreinstance to use when instantiating our catalog.- Note
This should only be called from tests!
-
def
setDiskStorage(rdms: RapidsDiskStore): Unit
Set a
RapidsDiskStoreinstance to use when instantiating our catalog.Set a
RapidsDiskStoreinstance to use when instantiating our catalog.- Note
This should only be called from tests!
-
def
setHostStorage(rhms: RapidsHostMemoryStore): Unit
Set a
RapidsHostMemoryStoreinstance to use when instantiating our catalog.Set a
RapidsHostMemoryStoreinstance to use when instantiating our catalog.- Note
This should only be called from tests!
- def shouldUnspill: Boolean
- def singleton: RapidsBufferCatalog
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
synchronousSpill(store: RapidsBufferStore, targetTotalSize: Long, stream: Stream = Cuda.DEFAULT_STREAM): Option[Long]
Free memory in
storeby spilling buffers to its spill store synchronously.Free memory in
storeby spilling buffers to its spill store synchronously.- store
store to spill from
- targetTotalSize
maximum total size of this store after spilling completes
- stream
CUDA stream to use or omit for default stream
- returns
optionally number of bytes that were spilled, or None if this call made no attempt to spill due to a detected spill race
-
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()