Options
All
  • Public
  • Public/Protected
  • All
Menu

Class default Abstract

Hierarchy

Index

Constructors

Properties

QUERY_PRIMARY_KEYS: string = ...

Methods

  • UNIVERSAL_DATATYPE(): string
  • dropTable_SQL(tableName: string): string
  • dropTempTable(name: string): Promise<void>
  • escape(str: string): string
  • generateColumnString(columns: string[]): string
  • getColumnSample(table: string, column: string): Promise<any>
  • getDatatypes(): Promise<string[]>
  • getJdbcPath(): string
  • getMaxValueByColumn(table: string, column: string): Promise<any>
  • Parameters

    • table: string
    • column: string

    Returns Promise<any>

  • getRedundantGroupLengthByColumns(table: string, columns: string[]): Promise<any>
  • Parameters

    • table: string
    • columns: string[]

    Returns Promise<any>

  • getRedundantValuesByColumns(table: string, columns: string[]): Promise<any>
  • Parameters

    • table: string
    • columns: string[]

    Returns Promise<any>

  • getTablePage(tablename: string, schemaname: string, offset: number, limit: number): Promise<default>
  • Parameters

    • tablename: string
    • schemaname: string
    • offset: number
    • limit: number

    Returns Promise<default>

  • getTableRowCount(table: string, schema: string): Promise<default>
  • getViolatingRowsForFD(sql: string, lhs: string[], rhs: string[], offset: number, limit: number): Promise<default>
  • Parameters

    • sql: string
    • lhs: string[]
    • rhs: string[]
    • offset: number
    • limit: number

    Returns Promise<default>

  • getViolatingRowsForFDCount(_sql: string, lhs: string[], rhs: string[]): Promise<default>
  • getViolatingRowsForFDCount_Sql(tablename: string, lhs: any, rhs: any): string
  • getViolatingRowsForINDCount_Sql(referencingTable: string, referencedTable: string, columnRelationships: IColumnRelationship[]): string
  • getViolatingRowsForSuggestedIND(referencingTableSql: string, referencedTableSql: string, columnRelationships: IColumnRelationship[], offset: number, limit: number): Promise<default>
  • getViolatingRowsForSuggestedINDCount(referencingTableSql: string, referencedTableSql: string, columnRelationships: IColumnRelationship[]): Promise<default>
  • init(): void
  • randomName(): string
  • tableExistsInSchema(schema: string, table: string): Promise<boolean>
  • Parameters

    • schema: string
    • table: string

    Returns Promise<boolean>

  • tempTableName(name: string): string
  • tempTableScripts(Sql: string, name: string): default
  • Parameters

    • Sql: string

      The Sql that queries the information the temp-table should contain

    • name: string

      The name of the temp-table. Relevant for multiple temp-table in one query

    Returns default

  • A key is invalid when the unioned table contains different rows with the same key. (SQL-UNION is implemented as a SET-Operation)

    Parameters

    Returns string

  • testNewValue(t: default): Promise<boolean>
  • testNewValueSql(nv: default): string
  • violatingRowsForFD_SQL(tableName: string, lhs: string[], rhs: string[]): string
  • Parameters

    • tableName: string
    • lhs: string[]
    • rhs: string[]

    Returns string

  • violatingRowsForSuggestedIND_SQL(referencingTable: string, referencedTable: string, columnRelationships: IColumnRelationship[]): string
  • Because of the LEFT OUTER JOIN and the WHERE-Clause only those rows from the referencing table are selected, which are missing in the referenced table and are therefore violating the Inclusion-Dependency.

    Parameters

    Returns string

Generated using TypeDoc