Options
All
  • Public
  • Public/Protected
  • All
Menu

Class QueryEngine

Hierarchy

  • QueryEngine

Index

Constructors

constructor

Properties

enableCellErrors

enableCellErrors: boolean = true

fromTable

fromTable: function

Type declaration

groupByClause

groupByClause: GroupByClause

havingClause

havingClause: function

Type declaration

orderByClause

orderByClause: OrderByClause

Private parent

parent: QueryEngine

preserveGrouping

preserveGrouping: boolean = true

selectClause

selectClause: ColumnDefinition[]

top

top: number = -1

whereClause

whereClause: function

Type declaration

Methods

Private CreateFromRow

  • CreateFromRow(row: Row): TempNode

Private CreateFromRows

  • CreateFromRows(rows: Row[]): TempNode[]

_execute

  • _execute(): Promise<Table>

Private _groupNodes

  • _groupNodes(outputTable: Table, nodes: TempNode[], level: number): TempNode[]

_havingNodes

_selectNodeChildren

  • _selectNodeChildren(outputTable: Table, nodes: TempNode[], parent: Row | null, deferrals: function[]): function[]
  • Parameters

    • outputTable: Table
    • nodes: TempNode[]
    • parent: Row | null
    • deferrals: function[]

    Returns function[]

Private _startGroupNodes

  • _startGroupNodes(nodes: TempNode[], cb: MqlCallback<void>): void

_startOrderNodes

  • _startOrderNodes(root: TempNode, cb: MqlCallback): Promise<void>

applyRollup

  • applyRollup(node: TempNode, maxDepth: number): void

compareNodes

  • compareNodes(left: TempNode, right: TempNode): 0 | 1 | -1

execute

  • execute(): Promise<Table>

finishWhereClause

  • finishWhereClause(nodes: Row[], filterMap: boolean[]): Row[]

groupNodes

  • groupNodes(outputTable: Table, root: TempNode): TempNode

havingNodes

  • havingNodes(root: TempNode): Promise<unknown>

makeColumnDef

makeGroupBy

makeOrderBy

makeSelectStar

orderNodes

  • orderNodes(root: TempNode): void

selectNodes

  • selectNodes(outputTable: Table, node: TempNode, parent: Row | null, cb: MqlCallback<Table>): void

startGroupNodes

  • startGroupNodes(root: TempNode): Promise<unknown>

startOrderNodes

  • startOrderNodes(root: TempNode): Promise<unknown>

startWhereClause

  • startWhereClause(nodes: Row[], done: MqlCallback<boolean[]>): void

whereNodes

  • whereNodes(nodes: Row[]): Promise<Row[]>

Static copyRowRecursive

  • copyRowRecursive(table: Table, row: Row): void

Static copyTableFlat

  • copyTableFlat(table: Table): Table

Generated using TypeDoc