org.apache.spark.sql.catalyst.expressions

MutableRow

abstract class MutableRow extends InternalRow

An extended interface to InternalRow that allows the values for each column to be updated. Setting a value through a primitive function implicitly marks that column as not null.

Linear Supertypes
InternalRow, Serializable, Serializable, SpecializedGetters, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MutableRow
  2. InternalRow
  3. Serializable
  4. Serializable
  5. SpecializedGetters
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MutableRow()

Abstract Value Members

  1. abstract 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
  2. abstract def copy(): InternalRow

    Make a copy of the current InternalRow object.

    Make a copy of the current InternalRow object.

    Definition Classes
    InternalRow
  3. abstract def get(ordinal: Int, dataType: DataType): AnyRef

    Definition Classes
    SpecializedGetters
  4. abstract def getArray(ordinal: Int): ArrayData

    Definition Classes
    SpecializedGetters
  5. abstract def getBinary(ordinal: Int): Array[Byte]

    Definition Classes
    SpecializedGetters
  6. abstract def getBoolean(ordinal: Int): Boolean

    Definition Classes
    SpecializedGetters
  7. abstract def getByte(ordinal: Int): Byte

    Definition Classes
    SpecializedGetters
  8. abstract def getDecimal(ordinal: Int, precision: Int, scale: Int): Decimal

    Definition Classes
    SpecializedGetters
  9. abstract def getDouble(ordinal: Int): Double

    Definition Classes
    SpecializedGetters
  10. abstract def getFloat(ordinal: Int): Float

    Definition Classes
    SpecializedGetters
  11. abstract def getInt(ordinal: Int): Int

    Definition Classes
    SpecializedGetters
  12. abstract def getInterval(ordinal: Int): CalendarInterval

    Definition Classes
    SpecializedGetters
  13. abstract def getLong(ordinal: Int): Long

    Definition Classes
    SpecializedGetters
  14. abstract def getMap(ordinal: Int): MapData

    Definition Classes
    SpecializedGetters
  15. abstract def getShort(ordinal: Int): Short

    Definition Classes
    SpecializedGetters
  16. abstract def getStruct(ordinal: Int, numFields: Int): InternalRow

    Definition Classes
    SpecializedGetters
  17. abstract def getUTF8String(ordinal: Int): UTF8String

    Definition Classes
    SpecializedGetters
  18. abstract def isNullAt(ordinal: Int): Boolean

    Definition Classes
    SpecializedGetters
  19. abstract def numFields: Int

    Definition Classes
    InternalRow
  20. abstract def setNullAt(i: Int): Unit

  21. abstract def update(i: Int, value: Any): Unit

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def getString(ordinal: Int): String

    Definition Classes
    InternalRow
  13. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  18. def setBoolean(i: Int, value: Boolean): Unit

  19. def setByte(i: Int, value: Byte): Unit

  20. 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).

  21. def setDouble(i: Int, value: Double): Unit

  22. def setFloat(i: Int, value: Float): Unit

  23. def setInt(i: Int, value: Int): Unit

  24. def setLong(i: Int, value: Long): Unit

  25. def setShort(i: Int, value: Short): Unit

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. def toSeq(schema: StructType): Seq[Any]

    Definition Classes
    InternalRow
  28. 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
    InternalRow
  29. def toString(): String

    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  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( ... )

Inherited from InternalRow

Inherited from Serializable

Inherited from Serializable

Inherited from SpecializedGetters

Inherited from AnyRef

Inherited from Any

Ungrouped