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?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(IIgniteTuple? other)

Parameters

other IIgniteTuple

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(IgniteTuple?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(IgniteTuple? other)

Parameters

other IgniteTuple

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

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

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.