Packages

c

org.apache.spark.sql.catalyst.expressions

SpecificInternalRow

final class SpecificInternalRow extends InternalRow with BaseGenericInternalRow

A row type that holds an array specialized container objects, of type MutableValue, chosen based on the dataTypes of each column. The intent is to decrease garbage when modifying the values of primitive columns.

Linear Supertypes
BaseGenericInternalRow, InternalRow, Serializable, Serializable, SpecializedGetters, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SpecificInternalRow
  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 SpecificInternalRow(schema: StructType)
  2. new SpecificInternalRow()
  3. new SpecificInternalRow(dataTypes: Seq[DataType])
  4. new SpecificInternalRow(values: Array[MutableValue])

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(i: Int): Any
    Attributes
    protected
    Definition Classes
    SpecificInternalRowBaseGenericInternalRow
  12. def get(ordinal: Int, dataType: DataType): AnyRef
  13. def getArray(ordinal: Int): ArrayData
  14. def getBinary(ordinal: Int): Array[Byte]
  15. def getBoolean(i: Int): Boolean
  16. def getByte(i: 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(i: Int): Double
  20. def getFloat(i: Int): Float
  21. def getInt(i: Int): Int
  22. def getInterval(ordinal: Int): CalendarInterval
  23. def getLong(i: Int): Long
  24. def getMap(ordinal: Int): MapData
  25. def getShort(i: 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(i: 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
    SpecificInternalRowInternalRow
  36. def setBoolean(ordinal: Int, value: Boolean): Unit
    Definition Classes
    SpecificInternalRowInternalRow
  37. def setByte(ordinal: Int, value: Byte): Unit
    Definition Classes
    SpecificInternalRowInternalRow
  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(ordinal: Int, value: Double): Unit
    Definition Classes
    SpecificInternalRowInternalRow
  40. def setFloat(ordinal: Int, value: Float): Unit
    Definition Classes
    SpecificInternalRowInternalRow
  41. def setInt(ordinal: Int, value: Int): Unit
    Definition Classes
    SpecificInternalRowInternalRow
  42. def setInterval(i: Int, value: CalendarInterval): Unit
    Definition Classes
    InternalRow
  43. def setLong(ordinal: Int, value: Long): Unit
    Definition Classes
    SpecificInternalRowInternalRow
  44. def setNullAt(i: Int): Unit
    Definition Classes
    SpecificInternalRowInternalRow
  45. def setShort(ordinal: Int, value: Short): Unit
    Definition Classes
    SpecificInternalRowInternalRow
  46. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  47. def toSeq(schema: StructType): Seq[Any]
    Definition Classes
    InternalRow
  48. 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
  49. def toString(): String
    Definition Classes
    BaseGenericInternalRow → AnyRef → Any
  50. def update(ordinal: 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
    SpecificInternalRowInternalRow
  51. val values: Array[MutableValue]
  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