Table of Contents

Class SubqueryTable

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

Inline query, for emit as sub-select (not WITH clause)

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

Constructors

SubqueryTable(SelectExpression, int, AliasedEntity?)

public SubqueryTable(SelectExpression expression, int alias, AliasedEntity? targetEntity)

Parameters

expression SelectExpression
alias int
targetEntity AliasedEntity

Fields

Alias

[Key(1)]
public readonly int Alias

Field Value

int

Expression

[Key(0)]
public readonly SelectExpression Expression

Field Value

SelectExpression

Methods

AsEntity()

Some tables contain (or reproject) the columns of an entity type.

public override Optional<AliasedEntity> AsEntity()

Returns

Optional<AliasedEntity>

Equals(Table?)

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

public override bool Equals(Table? obj)

Parameters

obj Table

Returns

bool

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

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

ToLines()

public override IEnumerable<string> ToLines()

Returns

IEnumerable<string>

ToRefString()

public override string ToRefString()

Returns

string

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.