Class

org.apache.spark.sql.execution.columnar

MutableUnsafeRow

Related Doc: package columnar

Permalink

class MutableUnsafeRow extends InternalRow with BaseGenericInternalRow

An helper class to update the fields of UnsafeRow, used by ColumnAccessor

WARNING: These setter MUST be called in increasing order of ordinals.

Linear Supertypes
BaseGenericInternalRow, InternalRow, Serializable, Serializable, SpecializedGetters, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MutableUnsafeRow
  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 MutableUnsafeRow(writer: UnsafeRowWriter)

    Permalink

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. 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
    BaseGenericInternalRowInternalRow
  5. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def copy(): InternalRow

    Permalink

    Make a copy of the current InternalRow object.

    Make a copy of the current InternalRow object.

    Definition Classes
    MutableUnsafeRowInternalRow
  8. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def genericGet(ordinal: Int): Any

    Permalink
    Attributes
    protected
    Definition Classes
    MutableUnsafeRowBaseGenericInternalRow
  12. def get(ordinal: Int, dataType: DataType): AnyRef

    Permalink
  13. def getArray(ordinal: Int): ArrayData

    Permalink
  14. def getBinary(ordinal: Int): Array[Byte]

    Permalink
  15. def getBoolean(ordinal: Int): Boolean

    Permalink
  16. def getByte(ordinal: Int): Byte

    Permalink
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def getDecimal(ordinal: Int, precision: Int, scale: Int): Decimal

    Permalink
  19. def getDouble(ordinal: Int): Double

    Permalink
  20. def getFloat(ordinal: Int): Float

    Permalink
  21. def getInt(ordinal: Int): Int

    Permalink
  22. def getInterval(ordinal: Int): CalendarInterval

    Permalink
  23. def getLong(ordinal: Int): Long

    Permalink
  24. def getMap(ordinal: Int): MapData

    Permalink
  25. def getShort(ordinal: Int): Short

    Permalink
  26. def getString(ordinal: Int): String

    Permalink
    Definition Classes
    InternalRow
  27. def getStruct(ordinal: Int, numFields: Int): InternalRow

    Permalink
  28. def getUTF8String(ordinal: Int): UTF8String

    Permalink
  29. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  31. def isNullAt(i: Int): Boolean

    Permalink
  32. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  35. def numFields: Int

    Permalink
    Definition Classes
    MutableUnsafeRowInternalRow
  36. def setBoolean(i: Int, v: Boolean): Unit

    Permalink
    Definition Classes
    MutableUnsafeRowInternalRow
  37. def setByte(i: Int, v: Byte): Unit

    Permalink
    Definition Classes
    MutableUnsafeRowInternalRow
  38. def setDecimal(i: Int, v: 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).

    Definition Classes
    MutableUnsafeRowInternalRow
  39. def setDouble(i: Int, v: Double): Unit

    Permalink
    Definition Classes
    MutableUnsafeRowInternalRow
  40. def setFloat(i: Int, v: Float): Unit

    Permalink
    Definition Classes
    MutableUnsafeRowInternalRow
  41. def setInt(i: Int, v: Int): Unit

    Permalink
    Definition Classes
    MutableUnsafeRowInternalRow
  42. def setLong(i: Int, v: Long): Unit

    Permalink
    Definition Classes
    MutableUnsafeRowInternalRow
  43. def setNullAt(i: Int): Unit

    Permalink
    Definition Classes
    MutableUnsafeRowInternalRow
  44. def setShort(i: Int, v: Short): Unit

    Permalink
    Definition Classes
    MutableUnsafeRowInternalRow
  45. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    InternalRow
  47. 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
  48. def toString(): String

    Permalink
    Definition Classes
    BaseGenericInternalRow → AnyRef → Any
  49. def update(i: Int, v: Any): Unit

    Permalink
    Definition Classes
    MutableUnsafeRowInternalRow
  50. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. val writer: UnsafeRowWriter

    Permalink

Inherited from BaseGenericInternalRow

Inherited from InternalRow

Inherited from Serializable

Inherited from Serializable

Inherited from SpecializedGetters

Inherited from AnyRef

Inherited from Any

Ungrouped