Packages

c

com.nvidia.spark.rapids

CudfUnsafeRow

final class CudfUnsafeRow extends InternalRow

This is an InternalRow implementation based off of UnsafeRow, but follows a format for use with the row format supported by cudf. In this format each column is padded to match the alignment needed by it, and validity is placed at the end one byte at a time.

It also supports remapping the columns so that if the columns were re-ordered to reduce packing in the format, then they can be mapped back to their original positions.

This class is likely to go away once we move to code generation when going directly to an UnsafeRow through code generation. This is rather difficult because of some details in how UnsafeRow works.

Linear Supertypes
InternalRow, Serializable, Serializable, SpecializedGetters, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CudfUnsafeRow
  2. InternalRow
  3. Serializable
  4. Serializable
  5. SpecializedGetters
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CudfUnsafeRow()
  2. new CudfUnsafeRow(attributes: Array[Attribute], remapping: Array[Int])

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 anyNull(): Boolean
    Definition Classes
    CudfUnsafeRow → InternalRow
    Annotations
    @Override()
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. def copy(): CudfUnsafeRow

    Copies this row, returning a self-contained UnsafeRow that stores its data in an internal byte array rather than referencing data stored in a data page.

    Copies this row, returning a self-contained UnsafeRow that stores its data in an internal byte array rather than referencing data stored in a data page.

    Definition Classes
    CudfUnsafeRow → InternalRow
    Annotations
    @Override()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(other: Any): Boolean
    Definition Classes
    CudfUnsafeRow → AnyRef → Any
    Annotations
    @Override()
  10. def get(ordinal: Int, dataType: DataType): AnyRef
    Definition Classes
    CudfUnsafeRow → SpecializedGetters
    Annotations
    @Override()
  11. def getArray(ordinal: Int): ArrayData
    Definition Classes
    CudfUnsafeRow → SpecializedGetters
    Annotations
    @Override()
  12. def getBinary(ordinal: Int): Array[Byte]
    Definition Classes
    CudfUnsafeRow → SpecializedGetters
    Annotations
    @Override()
  13. def getBoolean(ordinal: Int): Boolean
    Definition Classes
    CudfUnsafeRow → SpecializedGetters
    Annotations
    @Override()
  14. def getByte(ordinal: Int): Byte
    Definition Classes
    CudfUnsafeRow → SpecializedGetters
    Annotations
    @Override()
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def getDecimal(ordinal: Int, precision: Int, scale: Int): Decimal
    Definition Classes
    CudfUnsafeRow → SpecializedGetters
    Annotations
    @Override()
  17. def getDouble(ordinal: Int): Double
    Definition Classes
    CudfUnsafeRow → SpecializedGetters
    Annotations
    @Override()
  18. def getFloat(ordinal: Int): Float
    Definition Classes
    CudfUnsafeRow → SpecializedGetters
    Annotations
    @Override()
  19. def getInt(ordinal: Int): Int
    Definition Classes
    CudfUnsafeRow → SpecializedGetters
    Annotations
    @Override()
  20. def getInterval(ordinal: Int): CalendarInterval
    Definition Classes
    CudfUnsafeRow → SpecializedGetters
    Annotations
    @Override()
  21. def getLong(ordinal: Int): Long
    Definition Classes
    CudfUnsafeRow → SpecializedGetters
    Annotations
    @Override()
  22. def getMap(ordinal: Int): MapData
    Definition Classes
    CudfUnsafeRow → SpecializedGetters
    Annotations
    @Override()
  23. def getShort(ordinal: Int): Short
    Definition Classes
    CudfUnsafeRow → SpecializedGetters
    Annotations
    @Override()
  24. def getString(ordinal: Int): String
    Definition Classes
    InternalRow
  25. def getStruct(ordinal: Int, numFields: Int): CudfUnsafeRow
    Definition Classes
    CudfUnsafeRow → SpecializedGetters
    Annotations
    @Override()
  26. def getUTF8String(ordinal: Int): UTF8String
    Definition Classes
    CudfUnsafeRow → SpecializedGetters
    Annotations
    @Override()
  27. def hashCode(): Int
    Definition Classes
    CudfUnsafeRow → AnyRef → Any
    Annotations
    @Override()
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. def isNullAt(ordinal: Int): Boolean
    Definition Classes
    CudfUnsafeRow → SpecializedGetters
    Annotations
    @Override()
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  33. def numFields(): Int
    Definition Classes
    CudfUnsafeRow → InternalRow
    Annotations
    @Override()
  34. def pointTo(address: Long, sizeInBytes: Int): Unit

    Update this CudfUnsafeRow to point to different backing data.

    Update this CudfUnsafeRow to point to different backing data.

    address

    the address in host memory for this. We should change this to be a MemoryBuffer class or something like that.

    sizeInBytes

    the size of this row's backing data, in bytes

  35. def setBoolean(i: Int, value: Boolean): Unit
    Definition Classes
    InternalRow
  36. def setByte(i: Int, value: Byte): Unit
    Definition Classes
    InternalRow
  37. def setDecimal(i: Int, value: Decimal, precision: Int): Unit
    Definition Classes
    InternalRow
  38. def setDouble(i: Int, value: Double): Unit
    Definition Classes
    InternalRow
  39. def setFloat(i: Int, value: Float): Unit
    Definition Classes
    InternalRow
  40. def setInt(i: Int, value: Int): Unit
    Definition Classes
    InternalRow
  41. def setInterval(i: Int, value: CalendarInterval): Unit
    Definition Classes
    InternalRow
  42. def setLong(i: Int, value: Long): Unit
    Definition Classes
    InternalRow
  43. def setNullAt(ordinal: Int): Unit
    Definition Classes
    CudfUnsafeRow → InternalRow
    Annotations
    @Override()
  44. def setShort(i: Int, value: Short): Unit
    Definition Classes
    InternalRow
  45. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  46. def toSeq(schema: StructType): Seq[Any]
    Definition Classes
    InternalRow
  47. def toSeq(fieldTypes: Seq[DataType]): Seq[Any]
    Definition Classes
    InternalRow
  48. def toString(): String
    Definition Classes
    CudfUnsafeRow → AnyRef → Any
    Annotations
    @Override()
  49. def update(ordinal: Int, value: Any): Unit
    Definition Classes
    CudfUnsafeRow → InternalRow
    Annotations
    @Override()
  50. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  52. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

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

Inherited from InternalRow

Inherited from Serializable

Inherited from Serializable

Inherited from SpecializedGetters

Inherited from AnyRef

Inherited from Any

Ungrouped