abstract class InternalRow extends SpecializedGetters with Serializable
An abstract class for row used internally in Spark SQL, which only contains the columns as internal types.
- Alphabetic
- By Inheritance
- InternalRow
- Serializable
- SpecializedGetters
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new InternalRow()
Abstract Value Members
- abstract def copy(): InternalRow
Make a copy of the current InternalRow object.
- abstract def get(ordinal: Int, dataType: DataType): AnyRef
- Definition Classes
- SpecializedGetters
- abstract def getArray(ordinal: Int): ArrayData
- Definition Classes
- SpecializedGetters
- abstract def getBinary(ordinal: Int): Array[Byte]
- Definition Classes
- SpecializedGetters
- abstract def getBoolean(ordinal: Int): Boolean
- Definition Classes
- SpecializedGetters
- abstract def getByte(ordinal: Int): Byte
- Definition Classes
- SpecializedGetters
- abstract def getDecimal(ordinal: Int, precision: Int, scale: Int): Decimal
- Definition Classes
- SpecializedGetters
- abstract def getDouble(ordinal: Int): Double
- Definition Classes
- SpecializedGetters
- abstract def getFloat(ordinal: Int): Float
- Definition Classes
- SpecializedGetters
- abstract def getInt(ordinal: Int): Int
- Definition Classes
- SpecializedGetters
- abstract def getInterval(ordinal: Int): CalendarInterval
- Definition Classes
- SpecializedGetters
- abstract def getLong(ordinal: Int): Long
- Definition Classes
- SpecializedGetters
- abstract def getMap(ordinal: Int): MapData
- Definition Classes
- SpecializedGetters
- abstract def getShort(ordinal: Int): Short
- Definition Classes
- SpecializedGetters
- abstract def getStruct(ordinal: Int, numFields: Int): InternalRow
- Definition Classes
- SpecializedGetters
- abstract def getUTF8String(ordinal: Int): UTF8String
- Definition Classes
- SpecializedGetters
- abstract def isNullAt(ordinal: Int): Boolean
- Definition Classes
- SpecializedGetters
- abstract def numFields: Int
- abstract def setNullAt(i: Int): Unit
- abstract 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.
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def anyNull: Boolean
Returns true if there are any NULL values in this row.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getString(ordinal: Int): String
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def setBoolean(i: Int, value: Boolean): Unit
- def setByte(i: Int, value: Byte): Unit
- 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).
- def setDouble(i: Int, value: Double): Unit
- def setFloat(i: Int, value: Float): Unit
- def setInt(i: Int, value: Int): Unit
- def setInterval(i: Int, value: CalendarInterval): Unit
- def setLong(i: Int, value: Long): Unit
- def setShort(i: Int, value: Short): Unit
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toSeq(schema: StructType): Seq[Any]
- 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.
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()