Packages

c

org.apache.spark.sql.catalyst

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
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  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
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(other: Any): Boolean
    Definition Classes
    CudfUnsafeRow → AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def get(ordinal: Int, dataType: DataType): AnyRef
    Definition Classes
    CudfUnsafeRow → SpecializedGetters
  12. def getArray(ordinal: Int): ArrayData
    Definition Classes
    CudfUnsafeRow → SpecializedGetters
  13. def getBinary(ordinal: Int): Array[Byte]
    Definition Classes
    CudfUnsafeRow → SpecializedGetters
  14. def getBoolean(ordinal: Int): Boolean
    Definition Classes
    CudfUnsafeRow → SpecializedGetters
  15. def getByte(ordinal: Int): Byte
    Definition Classes
    CudfUnsafeRow → SpecializedGetters
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def getDecimal(ordinal: Int, precision: Int, scale: Int): Decimal
    Definition Classes
    CudfUnsafeRow → SpecializedGetters
  18. def getDouble(ordinal: Int): Double
    Definition Classes
    CudfUnsafeRow → SpecializedGetters
  19. def getFloat(ordinal: Int): Float
    Definition Classes
    CudfUnsafeRow → SpecializedGetters
  20. def getInt(ordinal: Int): Int
    Definition Classes
    CudfUnsafeRow → SpecializedGetters
  21. def getInterval(ordinal: Int): CalendarInterval
    Definition Classes
    CudfUnsafeRow → SpecializedGetters
  22. def getLong(ordinal: Int): Long
    Definition Classes
    CudfUnsafeRow → SpecializedGetters
  23. def getMap(ordinal: Int): MapData
    Definition Classes
    CudfUnsafeRow → SpecializedGetters
  24. def getShort(ordinal: Int): Short
    Definition Classes
    CudfUnsafeRow → SpecializedGetters
  25. def getString(ordinal: Int): String
    Definition Classes
    InternalRow
  26. def getStruct(ordinal: Int, numFields: Int): CudfUnsafeRow
    Definition Classes
    CudfUnsafeRow → SpecializedGetters
  27. def getUTF8String(ordinal: Int): UTF8String
    Definition Classes
    CudfUnsafeRow → SpecializedGetters
  28. def hashCode(): Int
    Definition Classes
    CudfUnsafeRow → AnyRef → Any
  29. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  30. def isNullAt(ordinal: Int): Boolean
    Definition Classes
    CudfUnsafeRow → SpecializedGetters
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. def numFields(): Int
    Definition Classes
    CudfUnsafeRow → InternalRow
  35. 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

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

Inherited from InternalRow

Inherited from Serializable

Inherited from Serializable

Inherited from SpecializedGetters

Inherited from AnyRef

Inherited from Any

Ungrouped