Share via


GenericRow Class

Definition

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

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

Constructors

GenericRow(Object[])

Constructor for the GenericRow class.

Properties

Item[Int32]

Returns the column value at the given index.

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.

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.

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.

Applies to