JS API for the Schema Service Deephaven schema documentation

Hierarchy

  • SchemaApiService

Constructors

Properties

NAME: string

The name of the Schema API Service. Used by the client for the name in the variable descriptor when calling getObject from the core connection.

TYPE: string

The type of the Schema API Service. Used by the client for the type in the variable descriptor when calling getObject from the core connection.

Methods

  • Checks if table names exist.

    Parameters

    • ids: string[]

      the ids to check in the format "namespace.tableName"

    Returns Promise<string[]>

    an array of the ids found to exist

  • Deletes a schema from the Schema Service using the provided namespace and table name.

    Parameters

    • namespace: string

      the namespace of the schema

    • tableName: string

      the table name of the schema

    Returns Promise<void>

    a promise that resolves on successful delete

  • Gets the schema xml String for a given namespace and table name.

    Parameters

    • namespace: string

      the namespace of the schema

    • tableName: string

      the table name of the schema

    Returns Promise<string>

    a Promise that resolves to the schema xml string for the given namespace and table name

  • Gets table names for a namespace.

    Parameters

    • namespace: string

      the namespace for the table names

    Returns Promise<string[]>

    a promise that resolves to an array of table names

  • Requests the schema api service reload the schema table names table.

    Returns Promise<void>

    a promise that resolves on successful reload

  • Saves a schema xml String to the Schema Service. Uses the namespace and table name from the xml.

    Parameters

    • xmlString: string

      the xml string for the schema to save

    • noCompile: boolean

      indicates that the server should skip compiling loggers and listeners

    Returns Promise<void>

    a promise that resolves on successful save