This method can be used to construct a Row with the given values.
Returns an empty row.
This method can be used to construct a Row from a Seq of values.
Merge multiple rows into a single row, one after another.
This method can be used to extract fields from a Row object in a pattern match.
This method can be used to extract fields from a Row object in a pattern match. Example:
import org.apache.spark.sql._ val pairs = sql("SELECT key, value FROM src").rdd.map { case Row(key: Int, value: String) => key -> value }