Class

org.apache.spark.sql.catalyst.expressions

MutableRow

Related Doc: package expressions

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MutableRow()

    Permalink

Abstract Value Members

  1. abstract def anyNull: Boolean

    Permalink

    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

    Permalink

    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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    SpecializedGetters
  19. abstract def numFields: Int

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

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

    Permalink

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

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

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

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

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

    Permalink
    Definition Classes
    InternalRow
  11. def hashCode(): Int

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

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

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

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

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

    Permalink
  18. def setDecimal(i: Int, value: Decimal, precision: Int): Unit

    Permalink

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

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

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

    Permalink
  21. def setInt(i: Int, value: Int): Unit

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

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

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

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

    Permalink
    Definition Classes
    InternalRow
  26. def toSeq(fieldTypes: Seq[DataType]): Seq[Any]

    Permalink

    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
  27. def toString(): String

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from InternalRow

Inherited from Serializable

Inherited from Serializable

Inherited from SpecializedGetters

Inherited from AnyRef

Inherited from Any

Ungrouped