0 votes
in Spark Sql by (23.1k points)
What are the Row objects in Spark?

1 Answer

0 votes
by (30.8k points)

Row objects are nothing but the records that are presented inside SchemaRDDs and they can be treated as the fixed-length arrays. Row objects have several getter functions to obtain each index field value. A standard getter returns an object type by taking the column number. There is a getType() method for boolean, Double, Int, Short, Long, Byte, String, and Float.