Table of Contents

Class ColumnValue

Namespace
The.SQL.QIR.Values
Assembly
Instagile.dll

either an entity property or a bare column

[MessagePackObject(false)]
public sealed class ColumnValue : Value, IEquatable<Value>
Inheritance
ColumnValue
Implements
Inherited Members

Constructors

ColumnValue(Table, string, bool)

public ColumnValue(Table operand, string name, bool isNullable)

Parameters

operand Table
name string
isNullable bool

Fields

Name

[Key(1)]
public readonly string Name

Field Value

string

Table

[Key(0)]
public readonly Table Table

Field Value

Table

Properties

IsLiteral

Whether the value is self-paranthesing.

[IgnoreMember]
public override bool IsLiteral { get; }

Property Value

bool

IsNullable

Whether the value can be NULL at runtime.

[IgnoreMember]
public override bool IsNullable { get; }

Property Value

bool

Joins

Joins required to reach this value.

[IgnoreMember]
public override IEnumerable<Join> Joins { get; }

Property Value

IEnumerable<Join>

Methods

Equals(Value?)

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

public override bool Equals(Value? obj)

Parameters

obj Value

Returns

bool

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

GetAttribute(IReadOnlyDictionary<string, EntityTable>)

public override Optional<AttributeColumn> GetAttribute(IReadOnlyDictionary<string, EntityTable> metadata)

Parameters

metadata IReadOnlyDictionary<string, EntityTable>

Returns

Optional<AttributeColumn>

GetColumn(IReadOnlyDictionary<string, EntityTable>)

public string GetColumn(IReadOnlyDictionary<string, EntityTable> tables)

Parameters

tables IReadOnlyDictionary<string, EntityTable>

Returns

string

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

WithSource(Table, Table)

public override Value WithSource(Table oldSource, Table newSource)

Parameters

oldSource Table
newSource Table

Returns

Value