Hierarchy

  • IdeSession

Implements

Constructors

Properties

EVENT_COMMANDSTARTED: string
EVENT_REQUEST_FAILED: string

Methods

  • Listen for events on this object.

    Type Parameters

    • T

      the type of the data that the event will provide

    Parameters

    • name: string

      the name of the event to listen for

    • callback: ((e) => void)

      a function to call when the event occurs

        • (e): void
        • Parameters

          Returns void

    Returns (() => void)

    Returns a cleanup function.

      • (): void
      • Returns void

  • Parameters

    • table: Table
    • name: string

    Returns Promise<void>

  • Parameters

    • params: object

    Returns void

  • Returns void

  • Parameters

    • params: object

    Returns void

  • Creates an empty table with the specified number of rows. Optionally columns and types may be specified, but all values will be null.

    Parameters

    • size: number

    Returns Promise<Table>

    Promise of Table

  • Load the named Figure, including its tables and tablemaps as needed.

    Parameters

    • name: string

    Returns Promise<Figure>

    promise of dh.plot.Figure

  • Parameters

    • name: string

    Returns Promise<TreeTable>

  • Parameters

    • params: object

    Returns Promise<Hover>

  • Parameters

    Returns Promise<any>

  • Load the named table, with columns and size information already fully populated.

    Parameters

    • name: string
    • Optional applyPreviewColumns: boolean

      optional boolean

    Returns Promise<Table>

    Promise of Table

  • Loads the named tree table or roll-up table, with column data populated. All nodes are collapsed by default, and size is presently not available until the viewport is first set.

    Parameters

    • name: string

    Returns Promise<TreeTable>

    Promise of TreeTable

  • Merges the given tables into a single table. Assumes all tables have the same structure.

    Parameters

    Returns Promise<Table>

    Promise of Table

  • Parameters

    • columnNames: string[]
    • types: string[]
    • data: string[][]
    • userTimeZone: string

    Returns Promise<Table>

  • Type Parameters

    • T

    Parameters

    • eventName: string
    • Optional timeoutInMillis: number

    Returns Promise<Event<T>>

  • Parameters

    • callback: ((arg0) => void)
        • (arg0): void
        • Parameters

          Returns void

    Returns (() => void)

      • (): void
      • Returns void

  • Parameters

    • params: object

    Returns void

  • Removes an event listener added to this table.

    Type Parameters

    • T

    Parameters

    • name: string
    • callback: ((e) => void)
        • (e): void
        • Parameters

          Returns void

    Returns boolean

  • Parameters

    • callback: ((arg0) => void)

    Returns (() => void)

      • (): void
      • Returns void

  • Creates a new table that ticks automatically every "periodNanos" nanoseconds. A start time may be provided; if so the table will be populated with the interval from the specified date until now.

    Parameters

    Returns Promise<Table>

    Promise of Table