Table of Contents

Class IgniteTuple

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

Ignite tuple.

public sealed class IgniteTuple : IIgniteTuple, IEquatable<IgniteTuple>, IEquatable<IIgniteTuple>
Inheritance
IgniteTuple
Implements
Inherited Members

Constructors

IgniteTuple(int)

Initializes a new instance of the IgniteTuple class.

public IgniteTuple(int capacity = 16)

Parameters

capacity int

Capacity.

Properties

FieldCount

Gets the number of columns.

public int FieldCount { get; }

Property Value

int

this[int]

Gets the value of the specified column as an object.

public 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.

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

Parameters

name string

The column name.

Property Value

object

Methods

Clear()

Clears the tuple.

public void Clear()

Equals(IIgniteTuple?)

public bool Equals(IIgniteTuple? other)

Parameters

other IIgniteTuple

Returns

bool

Equals(IgniteTuple?)

public bool Equals(IgniteTuple? other)

Parameters

other IgniteTuple

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

GetName(int)

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

public 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.

public 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()

public override string ToString()

Returns

string