Packages

object RapidsBufferCatalog extends Logging

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

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. 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

  5. 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

  6. def addBatch(batch: ColumnarBatch, initialSpillPriority: Long): RapidsBufferHandle
  7. 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

  8. 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

  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  11. def close(): Unit
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def getDeviceStorage: RapidsDeviceMemoryStore
  17. def getDiskBlockManager(): RapidsDiskBlockManager
  18. def getHostStorage: RapidsHostMemoryStore
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def init(rapidsConf: RapidsConf): Unit
  21. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  22. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  25. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  26. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  27. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  28. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  29. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  31. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  32. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  33. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  34. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  35. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  36. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  37. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  40. def numBuffers: Int

    Only used in unit tests, it returns the number of buffers in the catalog.

  41. def setCatalog(catalog: RapidsBufferCatalog): Unit

    Set a RapidsBufferCatalog instance to use our singleton.

    Set a RapidsBufferCatalog instance to use our singleton.

    Note

    This should only be called from tests!

  42. def setDeviceStorage(rdms: RapidsDeviceMemoryStore): Unit

    Set a RapidsDeviceMemoryStore instance to use when instantiating our catalog.

    Set a RapidsDeviceMemoryStore instance to use when instantiating our catalog.

    Note

    This should only be called from tests!

  43. def setDiskStorage(rdms: RapidsDiskStore): Unit

    Set a RapidsDiskStore instance to use when instantiating our catalog.

    Set a RapidsDiskStore instance to use when instantiating our catalog.

    Note

    This should only be called from tests!

  44. def setHostStorage(rhms: RapidsHostMemoryStore): Unit

    Set a RapidsHostMemoryStore instance to use when instantiating our catalog.

    Set a RapidsHostMemoryStore instance to use when instantiating our catalog.

    Note

    This should only be called from tests!

  45. def shouldUnspill: Boolean
  46. def singleton: RapidsBufferCatalog
  47. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  48. def synchronousSpill(store: RapidsBufferStore, targetTotalSize: Long, stream: Stream = Cuda.DEFAULT_STREAM): Option[Long]

    Free memory in store by spilling buffers to its spill store synchronously.

    Free memory in store by 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

  49. def toString(): String
    Definition Classes
    AnyRef → Any
  50. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped