Class DataClient

Constructors

  • Parameters

    • serviceHost: string
    • grpcOptions: RpcOptions

    Returns DataClient

Properties

service: DataServiceClient

Methods

  • Filter and download tabular data. The returned metadata might be empty if the metadata index of the data is out of the bounds of the returned metadata list.

    Parameters

    • Optional filter: Filter

      Optional pb.Filter specifying tabular data to retrieve. No filter implies all tabular data.

    Returns Promise<TabularData[]>

  • Obtain unified tabular data and metadata, queried with MQL.

    Parameters

    • organizationId: string

      The ID of the organization that owns the data

    • query: Uint8Array[]

      The MQL query to run as a list of BSON documents

    Returns Promise<{
        [key: string]: JavaScriptValue;
    }[]>

    An array of data objects

  • Obtain unified tabular data and metadata, queried with SQL.

    Parameters

    • organizationId: string

      The ID of the organization that owns the data

    • query: string

      The SQL query to run

    Returns Promise<{
        [key: string]: JavaScriptValue;
    }[]>

    An array of data objects

Generated using TypeDoc