Class IgniteTuple
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
intCapacity.
Properties
FieldCount
Gets the number of columns.
public int FieldCount { get; }
Property Value
this[int]
Gets the value of the specified column as an object.
public object? this[int ordinal] { get; set; }
Parameters
ordinal
intThe zero-based column ordinal.
Property Value
this[string]
Gets the value of the specified column as an object.
public object? this[string name] { get; set; }
Parameters
name
stringThe column name.
Property Value
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
IIgniteTupleAn object to compare with this object.
Returns
Equals(IgniteTuple?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(IgniteTuple? other)
Parameters
other
IgniteTupleAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
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
intZero-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
stringColumn 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.