trino-client
    Preparing search index...

    Class Trino

    Trino is a client for the Trino REST API.

    Index

    Methods

    • It cancels a query.

      Parameters

      • queryId: string

        The queryId of the query to cancel.

      Returns Promise<QueryResult>

      The result of the query.

    • Submittes a query for execution and returns a QueryIterator object that can be used to iterate over the query results.

      Parameters

      • query: string | Query

        The query to execute.

      Returns Promise<Iterator<QueryResult>>

      A QueryIterator object.

    • Retrieves the query info for a given queryId.

      Parameters

      • queryId: string

        The query to execute.

      Returns Promise<QueryInfo>

      The query info