Table of Contents

Interface IIgniteTuple

Namespace
Apache.Ignite.Table
Assembly
Apache.Ignite.dll

Ignite Tuple.

Default implementation is IgniteTuple.
public interface IIgniteTuple

Properties

FieldCount

Gets the number of columns.

int FieldCount { get; }

Property Value

int

this[int]

Gets the value of the specified column as an object.

object? this[int ordinal] { get; set; }

Parameters

ordinal int

The zero-based column ordinal.

Property Value

object

this[string]

Gets the value of the specified column as an object.

object? this[string name] { get; set; }

Parameters

name string

The column name.

Property Value

object

Methods

Equals(IIgniteTuple?, IIgniteTuple?)

Determines whether the specified object instances are considered equal. Ignores column order.

public static bool Equals(IIgniteTuple? tuple1, IIgniteTuple? tuple2)

Parameters

tuple1 IIgniteTuple

The first tuple to compare.

tuple2 IIgniteTuple

The second tuple to compare.

Returns

bool

true if the tuples are considered equal; otherwise, false. If both tuple1 and tuple1 are null, the method returns true.

GetHashCode(IIgniteTuple)

Gets a hash code for the current tuple according to column names and values, ignoring column order.

public static int GetHashCode(IIgniteTuple tuple)

Parameters

tuple IIgniteTuple

Tuple.

Returns

int

A hash code for the specified tuple.

GetName(int)

Gets the name of the column, given the zero-based column ordinal.

string GetName(int ordinal)

Parameters

ordinal int

Zero-based column ordinal.

Returns

string

Column name.

GetOrdinal(string)

Gets the column ordinal given the name of the column, or -1 when the column with the given name does not exist.

int GetOrdinal(string name)

Parameters

name string

Column name.

Returns

int

Column ordinal, or -1 when the column with the given name does not exist.

ToString(IIgniteTuple)

Converts tuple to string.

public static string ToString(IIgniteTuple tuple)

Parameters

tuple IIgniteTuple

Tuple.

Returns

string

String representation.