UNPKG

@databricks/sql

Version:

Driver for connection to Databricks SQL via Thrift API.

12 lines (11 loc) 473 B
import BaseCommand from './BaseCommand'; import { TFetchResultsReq, TFetchResultsResp } from '../../../thrift/TCLIService_types'; import IThriftClient from '../../contracts/IThriftClient'; type Client = Pick<IThriftClient, 'FetchResults'>; /** * TFetchResultsReq.fetchType - 0 represents Query output. 1 represents Log */ export default class FetchResultsCommand extends BaseCommand<Client> { execute(data: TFetchResultsReq): Promise<TFetchResultsResp>; } export {};