Row Class

Definition

Represents a row object in RDD, equivalent to GenericRowWithSchema in Spark.

public sealed class Row
type Row = class
Public NotInheritable Class Row
Inheritance
Row

Properties

Item[Int32]

Returns the column value at the given index.

Schema

Schema associated with this row.

Values

Values representing this row.

Methods

Equals(Object)

Checks if the given object is same as the current object.

Get(Int32)

Returns the column value at the given index.

Get(String)

Returns the column value whose column name is given.

GetAs<T>(Int32)

Returns the column value at the given index, as a type T. TODO: If the original type is "long" and its value can be fit into the "int", Pickler will serialize the value as int. Since the value is boxed, GetAs<T>(Int32) will throw an exception.

GetAs<T>(String)

Returns the column value whose column name is given, as a type T. TODO: If the original type is "long" and its value can be fit into the "int", Pickler will serialize the value as int. Since the value is boxed, GetAs<T>(String) will throw an exception.

GetHashCode()

Returns the hash code of the current object.

Size()

Returns the number of columns in this row.

ToString()

Returns the string version of this row.

Operators

Implicit(GenericRow to Row)

Returns schema-less Row which can happen within chained UDFs (same behavior as PySpark).

Applies to