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.
- Alphabetic
- By Inheritance
- CudfUnsafeRow
- InternalRow
- Serializable
- Serializable
- SpecializedGetters
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
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
anyNull(): Boolean
- Definition Classes
- CudfUnsafeRow → InternalRow
- Annotations
- @Override()
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
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()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(other: Any): Boolean
- Definition Classes
- CudfUnsafeRow → AnyRef → Any
- Annotations
- @Override()
-
def
get(ordinal: Int, dataType: DataType): AnyRef
- Definition Classes
- CudfUnsafeRow → SpecializedGetters
- Annotations
- @Override()
-
def
getArray(ordinal: Int): ArrayData
- Definition Classes
- CudfUnsafeRow → SpecializedGetters
- Annotations
- @Override()
-
def
getBinary(ordinal: Int): Array[Byte]
- Definition Classes
- CudfUnsafeRow → SpecializedGetters
- Annotations
- @Override()
-
def
getBoolean(ordinal: Int): Boolean
- Definition Classes
- CudfUnsafeRow → SpecializedGetters
- Annotations
- @Override()
-
def
getByte(ordinal: Int): Byte
- Definition Classes
- CudfUnsafeRow → SpecializedGetters
- Annotations
- @Override()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getDecimal(ordinal: Int, precision: Int, scale: Int): Decimal
- Definition Classes
- CudfUnsafeRow → SpecializedGetters
- Annotations
- @Override()
-
def
getDouble(ordinal: Int): Double
- Definition Classes
- CudfUnsafeRow → SpecializedGetters
- Annotations
- @Override()
-
def
getFloat(ordinal: Int): Float
- Definition Classes
- CudfUnsafeRow → SpecializedGetters
- Annotations
- @Override()
-
def
getInt(ordinal: Int): Int
- Definition Classes
- CudfUnsafeRow → SpecializedGetters
- Annotations
- @Override()
-
def
getInterval(ordinal: Int): CalendarInterval
- Definition Classes
- CudfUnsafeRow → SpecializedGetters
- Annotations
- @Override()
-
def
getLong(ordinal: Int): Long
- Definition Classes
- CudfUnsafeRow → SpecializedGetters
- Annotations
- @Override()
-
def
getMap(ordinal: Int): MapData
- Definition Classes
- CudfUnsafeRow → SpecializedGetters
- Annotations
- @Override()
-
def
getShort(ordinal: Int): Short
- Definition Classes
- CudfUnsafeRow → SpecializedGetters
- Annotations
- @Override()
-
def
getString(ordinal: Int): String
- Definition Classes
- InternalRow
-
def
getStruct(ordinal: Int, numFields: Int): CudfUnsafeRow
- Definition Classes
- CudfUnsafeRow → SpecializedGetters
- Annotations
- @Override()
-
def
getUTF8String(ordinal: Int): UTF8String
- Definition Classes
- CudfUnsafeRow → SpecializedGetters
- Annotations
- @Override()
-
def
hashCode(): Int
- Definition Classes
- CudfUnsafeRow → AnyRef → Any
- Annotations
- @Override()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isNullAt(ordinal: Int): Boolean
- Definition Classes
- CudfUnsafeRow → SpecializedGetters
- Annotations
- @Override()
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
numFields(): Int
- Definition Classes
- CudfUnsafeRow → InternalRow
- Annotations
- @Override()
-
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
-
def
setBoolean(i: Int, value: Boolean): Unit
- Definition Classes
- InternalRow
-
def
setByte(i: Int, value: Byte): Unit
- Definition Classes
- InternalRow
-
def
setDecimal(i: Int, value: Decimal, precision: Int): Unit
- Definition Classes
- InternalRow
-
def
setDouble(i: Int, value: Double): Unit
- Definition Classes
- InternalRow
-
def
setFloat(i: Int, value: Float): Unit
- Definition Classes
- InternalRow
-
def
setInt(i: Int, value: Int): Unit
- Definition Classes
- InternalRow
-
def
setInterval(i: Int, value: CalendarInterval): Unit
- Definition Classes
- InternalRow
-
def
setLong(i: Int, value: Long): Unit
- Definition Classes
- InternalRow
-
def
setNullAt(ordinal: Int): Unit
- Definition Classes
- CudfUnsafeRow → InternalRow
- Annotations
- @Override()
-
def
setShort(i: Int, value: Short): Unit
- Definition Classes
- InternalRow
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toSeq(schema: StructType): Seq[Any]
- Definition Classes
- InternalRow
-
def
toSeq(fieldTypes: Seq[DataType]): Seq[Any]
- Definition Classes
- InternalRow
-
def
toString(): String
- Definition Classes
- CudfUnsafeRow → AnyRef → Any
- Annotations
- @Override()
-
def
update(ordinal: Int, value: Any): Unit
- Definition Classes
- CudfUnsafeRow → InternalRow
- Annotations
- @Override()
-
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()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )