Packages

class GenericInternalRow extends InternalRow with BaseGenericInternalRow

An internal row implementation that uses an array of objects as the underlying storage. Note that, while the array is not copied, and thus could technically be mutated after creation, this is not allowed.

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

Instance Constructors

  1. new GenericInternalRow(size: Int)
  2. new GenericInternalRow()

    No-arg constructor for serialization.

    No-arg constructor for serialization.

    Attributes
    protected
  3. new GenericInternalRow(values: Array[Any])

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

    Returns true if there are any NULL values in this row.

    Returns true if there are any NULL values in this row.

    Definition Classes
    InternalRow
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def copy(): GenericInternalRow

    Make a copy of the current InternalRow object.

    Make a copy of the current InternalRow object.

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

    Update the decimal column at i.

    Update the decimal column at i.

    Note: In order to support update decimal with precision > 18 in UnsafeRow, CAN NOT call setNullAt() for decimal column on UnsafeRow, call setDecimal(i, null, precision).

    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(i: Int): Unit
    Definition Classes
    GenericInternalRowInternalRow
  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(fieldTypes: Seq[DataType]): Seq[Any]

    Return a Scala Seq representing the row.

    Return a Scala Seq representing the row. Elements are placed in the same order in the Seq.

    Definition Classes
    GenericInternalRowInternalRow
  48. def toSeq(schema: StructType): Seq[Any]
    Definition Classes
    InternalRow
  49. def toString(): String
    Definition Classes
    BaseGenericInternalRow → AnyRef → Any
  50. def update(i: Int, value: Any): Unit

    Updates the value at column i.

    Updates the value at column i. Note that after updating, the given value will be kept in this row, and the caller side should guarantee that this value won't be changed afterwards.

    Definition Classes
    GenericInternalRowInternalRow
  51. val values: Array[Any]
  52. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from BaseGenericInternalRow

Inherited from InternalRow

Inherited from Serializable

Inherited from Serializable

Inherited from SpecializedGetters

Inherited from AnyRef

Inherited from Any

Ungrouped