Class ValuesTable
An inline VALUES list used as a derived (aliased) table, e.g. (VALUES (..), (..)) L0 (c0, c1).
[MessagePackObject(false)]
public sealed class ValuesTable : Table, IEquatable<Table>
- Inheritance
-
ValuesTable
- Implements
- Inherited Members
Constructors
ValuesTable(RecordList<string>, RecordList<RecordList<Value>>, int)
public ValuesTable(RecordList<string> columnNames, RecordList<RecordList<Value>> rows, int alias)
Parameters
columnNamesRecordList<string>rowsRecordList<RecordList<Value>>aliasint
Fields
Alias
[Key(2)]
public readonly int Alias
Field Value
ColumnNames
[Key(0)]
public readonly RecordList<string> ColumnNames
Field Value
Rows
[Key(1)]
public readonly RecordList<RecordList<Value>> Rows
Field Value
Methods
Equals(Table?)
Indicates whether the current object is equal to another object of the same type.
public override bool Equals(Table? obj)
Parameters
objTable
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
ToRefString()
public override string ToRefString()
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.