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
capacityintCapacity.
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
ordinalintThe 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
namestringThe column name.
Property Value
Methods
Clear()
Clears the tuple.
public void Clear()
Equals(IIgniteTuple?)
public bool Equals(IIgniteTuple? other)
Parameters
otherIIgniteTuple
Returns
Equals(IgniteTuple?)
public bool Equals(IgniteTuple? other)
Parameters
otherIgniteTuple
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
GetName(int)
Gets the name of the column, given the zero-based column ordinal.
public string GetName(int ordinal)
Parameters
ordinalintZero-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
namestringColumn name.
Returns
- int
Column ordinal, or -1 when the column with the given name does not exist.
ToString()
public override string ToString()