Packages

object MetaUtils extends Arm

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MetaUtils
  2. Arm
  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. val TableIdDefaultValue: Int
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def buildDegenerateTableMeta(batch: ColumnarBatch): TableMeta

    Build a TableMeta message for a degenerate table (zero columns or rows)

    Build a TableMeta message for a degenerate table (zero columns or rows)

    batch

    the degenerate columnar batch which must be compressed or packed

    returns

    heap-based flatbuffer message

  7. def buildTableMeta(fbb: FlatBufferBuilder, bufferMetaOffset: Option[Int], packedMeta: ByteBuffer, numRows: Long): TableMeta

    Build a TableMeta message with a pre-built BufferMeta message

    Build a TableMeta message with a pre-built BufferMeta message

    fbb

    flatbuffer builder that has an already built BufferMeta message

    bufferMetaOffset

    offset where the BufferMeta message was built

    packedMeta

    opaque metadata needed to unpack the table

    numRows

    the number of rows in the table

    returns

    flatbuffer message

  8. def buildTableMeta(tableId: Option[Int], ct: ContiguousTable, codecId: Byte, compressedSize: Long): TableMeta

    Build a TableMeta message from a Table that originated in contiguous memory that has since been compressed.

    Build a TableMeta message from a Table that originated in contiguous memory that has since been compressed.

    tableId

    ID to use for this table

    ct

    contiguous table representing the uncompressed data

    codecId

    identifier of the codec being used, see CodecType

    compressedSize

    compressed data from the uncompressed buffer

    returns

    heap-based flatbuffer message

  9. def buildTableMeta(tableId: Int, bufferSize: Long, packedMeta: ByteBuffer, rowCount: Long): TableMeta
  10. def buildTableMeta(tableId: Int, ct: ContiguousTable): TableMeta

    Build a TableMeta message from a Table in contiguous memory

    Build a TableMeta message from a Table in contiguous memory

    tableId

    the ID to use for this table

    ct

    the contiguous table whose metadata will be encoded in the message

    returns

    heap-based flatbuffer message

  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  12. def closeOnExcept[T <: AutoCloseable, V](r: Option[T])(block: (Option[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
  13. 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
  14. 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
  15. 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
  16. 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
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  19. 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
  20. def getBatchFromMeta(deviceBuffer: DeviceMemoryBuffer, meta: TableMeta, sparkTypes: Array[DataType]): ColumnarBatch

    Construct a columnar batch from a contiguous device buffer and a TableMeta message describing the schema of the buffer data.

    Construct a columnar batch from a contiguous device buffer and a TableMeta message describing the schema of the buffer data.

    deviceBuffer

    contiguous buffer

    meta

    schema metadata

    sparkTypes

    the spark types that the ColumnarBatch should have.

    returns

    columnar batch that must be closed by the caller

  21. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. def getTableFromMeta(deviceBuffer: DeviceMemoryBuffer, meta: TableMeta): Table

    Construct a table from a contiguous device buffer and a TableMeta message describing the schema of the buffer data.

    Construct a table from a contiguous device buffer and a TableMeta message describing the schema of the buffer data.

    deviceBuffer

    contiguous buffer

    meta

    schema metadata

    returns

    table that must be closed by the caller

  23. def getTableMetaNoTable(buffer: DeviceMemoryBuffer): TableMeta

    Constructs a table metadata buffer from a device buffer without describing any schema for the buffer.

  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def withResource[T <: AutoCloseable, V](h: CloseableHolder[T])(block: (CloseableHolder[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
  35. 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
  36. 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
  37. 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
  38. 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
  39. 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
  40. 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

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Arm

Inherited from AnyRef

Inherited from Any

Ungrouped