Returns the number of elements in the Row (alias for size()).
The number of columns in this row
Returns the number of elements in the Row.
The number of columns in this row
Returns the schema of this Row.
The StructType schema defining the fields in this row
Checks whether the value at position i is null.
The column index (0-based)
True if the value is null or undefined, false otherwise
Returns the value at position i, cast to type T.
The column index (0-based)
The value at the specified index, cast to type T
Returns the value at position i as a float (32-bit floating point number).
The column index (0-based)
The float value at the specified index
Returns the value at position i as a double (64-bit floating point number).
The column index (0-based)
The double value at the specified index
Converts the Row to a plain JavaScript object with column names as keys.
An object mapping column names to their values
Represents a row of data in a DataFrame.
Remarks
Row provides type-safe access to columnar data with support for various data types including primitives, dates, and binary data.
Example