UNPKG

@databricks/sql

Version:

Driver for connection to Databricks SQL via Thrift API.

15 lines 675 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const BaseCommand_1 = __importDefault(require("./BaseCommand")); const TCLIService_types_1 = require("../../../thrift/TCLIService_types"); class GetTableTypesCommand extends BaseCommand_1.default { execute(data) { const request = new TCLIService_types_1.TGetTableTypesReq(data); return this.executeCommand(request, this.client.GetTableTypes); } } exports.default = GetTableTypesCommand; //# sourceMappingURL=GetTableTypesCommand.js.map