@databricks/sql 0.1.8-beta.1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +45 -1
- package/NOTICE +35 -0
- package/README.md +41 -20
- package/dist/DBSQLClient.d.ts +34 -39
- package/dist/DBSQLClient.js +137 -98
- package/dist/DBSQLClient.js.map +1 -1
- package/dist/DBSQLLogger.d.ts +12 -0
- package/dist/DBSQLLogger.js +43 -0
- package/dist/DBSQLLogger.js.map +1 -0
- package/dist/DBSQLOperation/CompleteOperationHelper.d.ts +13 -0
- package/dist/DBSQLOperation/CompleteOperationHelper.js +61 -0
- package/dist/DBSQLOperation/CompleteOperationHelper.js.map +1 -0
- package/dist/DBSQLOperation/FetchResultsHelper.d.ts +14 -0
- package/dist/DBSQLOperation/FetchResultsHelper.js +79 -0
- package/dist/DBSQLOperation/FetchResultsHelper.js.map +1 -0
- package/dist/DBSQLOperation/OperationStatusHelper.d.ts +17 -0
- package/dist/DBSQLOperation/OperationStatusHelper.js +115 -0
- package/dist/DBSQLOperation/OperationStatusHelper.js.map +1 -0
- package/dist/DBSQLOperation/SchemaHelper.d.ts +10 -0
- package/dist/DBSQLOperation/SchemaHelper.js +39 -0
- package/dist/DBSQLOperation/SchemaHelper.js.map +1 -0
- package/dist/DBSQLOperation/getResult.d.ts +2 -0
- package/dist/DBSQLOperation/getResult.js +19 -0
- package/dist/DBSQLOperation/getResult.js.map +1 -0
- package/dist/DBSQLOperation/index.d.ts +55 -0
- package/dist/DBSQLOperation/index.js +139 -0
- package/dist/DBSQLOperation/index.js.map +1 -0
- package/dist/DBSQLSession.d.ts +99 -0
- package/dist/DBSQLSession.js +187 -0
- package/dist/DBSQLSession.js.map +1 -0
- package/dist/connection/auth/NoSaslAuthentication.d.ts +2 -2
- package/dist/connection/auth/NoSaslAuthentication.js +9 -9
- package/dist/connection/auth/NoSaslAuthentication.js.map +1 -1
- package/dist/connection/auth/PlainHttpAuthentication.d.ts +2 -2
- package/dist/connection/auth/PlainHttpAuthentication.js +9 -21
- package/dist/connection/auth/PlainHttpAuthentication.js.map +1 -1
- package/dist/connection/auth/helpers/SaslPackageFactory.js +5 -9
- package/dist/connection/auth/helpers/SaslPackageFactory.js.map +1 -1
- package/dist/connection/connections/HttpConnection.d.ts +4 -4
- package/dist/connection/connections/HttpConnection.js +42 -47
- package/dist/connection/connections/HttpConnection.js.map +1 -1
- package/dist/connection/contracts/IAuthentication.d.ts +1 -1
- package/dist/connection/transports/HttpTransport.d.ts +1 -1
- package/dist/connection/transports/HttpTransport.js +16 -31
- package/dist/connection/transports/HttpTransport.js.map +1 -1
- package/dist/contracts/IDBSQLClient.d.ts +21 -0
- package/dist/contracts/{IHiveClient.js → IDBSQLClient.js} +1 -1
- package/dist/contracts/IDBSQLClient.js.map +1 -0
- package/dist/contracts/IDBSQLLogger.d.ts +13 -0
- package/dist/contracts/IDBSQLLogger.js +11 -0
- package/dist/contracts/IDBSQLLogger.js.map +1 -0
- package/dist/contracts/{IHiveSession.d.ts → IDBSQLSession.d.ts} +59 -45
- package/dist/contracts/{IHiveSession.js → IDBSQLSession.js} +1 -1
- package/dist/contracts/IDBSQLSession.js.map +1 -0
- package/dist/contracts/IOperation.d.ts +26 -23
- package/dist/dto/InfoValue.d.ts +5 -3
- package/dist/dto/InfoValue.js +11 -14
- package/dist/dto/InfoValue.js.map +1 -1
- package/dist/dto/Status.js +9 -10
- package/dist/dto/Status.js.map +1 -1
- package/dist/errors/AuthenticationError.d.ts +1 -1
- package/dist/errors/AuthenticationError.js +3 -23
- package/dist/errors/AuthenticationError.js.map +1 -1
- package/dist/errors/HiveDriverError.js +2 -22
- package/dist/errors/HiveDriverError.js.map +1 -1
- package/dist/errors/OperationStateError.d.ts +4 -4
- package/dist/errors/OperationStateError.js +6 -24
- package/dist/errors/OperationStateError.js.map +1 -1
- package/dist/errors/StatusError.d.ts +2 -2
- package/dist/errors/StatusError.js +3 -4
- package/dist/errors/StatusError.js.map +1 -1
- package/dist/factory/StatusFactory.d.ts +2 -4
- package/dist/factory/StatusFactory.js +16 -21
- package/dist/factory/StatusFactory.js.map +1 -1
- package/dist/hive/Commands/BaseCommand.d.ts +3 -4
- package/dist/hive/Commands/BaseCommand.js +10 -12
- package/dist/hive/Commands/BaseCommand.js.map +1 -1
- package/dist/hive/Commands/CancelDelegationTokenCommand.d.ts +3 -10
- package/dist/hive/Commands/CancelDelegationTokenCommand.js +7 -26
- package/dist/hive/Commands/CancelDelegationTokenCommand.js.map +1 -1
- package/dist/hive/Commands/CancelOperationCommand.d.ts +3 -9
- package/dist/hive/Commands/CancelOperationCommand.js +7 -26
- package/dist/hive/Commands/CancelOperationCommand.js.map +1 -1
- package/dist/hive/Commands/CloseOperationCommand.d.ts +3 -9
- package/dist/hive/Commands/CloseOperationCommand.js +7 -26
- package/dist/hive/Commands/CloseOperationCommand.js.map +1 -1
- package/dist/hive/Commands/CloseSessionCommand.d.ts +3 -9
- package/dist/hive/Commands/CloseSessionCommand.js +7 -26
- package/dist/hive/Commands/CloseSessionCommand.js.map +1 -1
- package/dist/hive/Commands/ExecuteStatementCommand.d.ts +3 -15
- package/dist/hive/Commands/ExecuteStatementCommand.js +7 -26
- package/dist/hive/Commands/ExecuteStatementCommand.js.map +1 -1
- package/dist/hive/Commands/FetchResultsCommand.d.ts +4 -16
- package/dist/hive/Commands/FetchResultsCommand.js +10 -26
- package/dist/hive/Commands/FetchResultsCommand.js.map +1 -1
- package/dist/hive/Commands/GetCatalogsCommand.d.ts +3 -10
- package/dist/hive/Commands/GetCatalogsCommand.js +7 -26
- package/dist/hive/Commands/GetCatalogsCommand.js.map +1 -1
- package/dist/hive/Commands/GetColumnsCommand.d.ts +3 -14
- package/dist/hive/Commands/GetColumnsCommand.js +7 -26
- package/dist/hive/Commands/GetColumnsCommand.js.map +1 -1
- package/dist/hive/Commands/GetCrossReferenceCommand.d.ts +3 -16
- package/dist/hive/Commands/GetCrossReferenceCommand.js +7 -26
- package/dist/hive/Commands/GetCrossReferenceCommand.js.map +1 -1
- package/dist/hive/Commands/GetDelegationTokenCommand.d.ts +3 -12
- package/dist/hive/Commands/GetDelegationTokenCommand.js +7 -26
- package/dist/hive/Commands/GetDelegationTokenCommand.js.map +1 -1
- package/dist/hive/Commands/GetFunctionsCommand.d.ts +3 -13
- package/dist/hive/Commands/GetFunctionsCommand.js +7 -26
- package/dist/hive/Commands/GetFunctionsCommand.js.map +1 -1
- package/dist/hive/Commands/GetInfoCommand.d.ts +3 -14
- package/dist/hive/Commands/GetInfoCommand.js +7 -26
- package/dist/hive/Commands/GetInfoCommand.js.map +1 -1
- package/dist/hive/Commands/GetOperationStatusCommand.d.ts +3 -21
- package/dist/hive/Commands/GetOperationStatusCommand.js +7 -26
- package/dist/hive/Commands/GetOperationStatusCommand.js.map +1 -1
- package/dist/hive/Commands/GetPrimaryKeysCommand.d.ts +3 -13
- package/dist/hive/Commands/GetPrimaryKeysCommand.js +7 -26
- package/dist/hive/Commands/GetPrimaryKeysCommand.js.map +1 -1
- package/dist/hive/Commands/GetResultSetMetadataCommand.d.ts +3 -10
- package/dist/hive/Commands/GetResultSetMetadataCommand.js +7 -26
- package/dist/hive/Commands/GetResultSetMetadataCommand.js.map +1 -1
- package/dist/hive/Commands/GetSchemasCommand.d.ts +3 -12
- package/dist/hive/Commands/GetSchemasCommand.js +7 -26
- package/dist/hive/Commands/GetSchemasCommand.js.map +1 -1
- package/dist/hive/Commands/GetTableTypesCommand.d.ts +3 -10
- package/dist/hive/Commands/GetTableTypesCommand.js +7 -26
- package/dist/hive/Commands/GetTableTypesCommand.js.map +1 -1
- package/dist/hive/Commands/GetTablesCommand.d.ts +3 -14
- package/dist/hive/Commands/GetTablesCommand.js +7 -26
- package/dist/hive/Commands/GetTablesCommand.js.map +1 -1
- package/dist/hive/Commands/GetTypeInfoCommand.d.ts +3 -10
- package/dist/hive/Commands/GetTypeInfoCommand.js +7 -26
- package/dist/hive/Commands/GetTypeInfoCommand.js.map +1 -1
- package/dist/hive/Commands/OpenSessionCommand.d.ts +9 -28
- package/dist/hive/Commands/OpenSessionCommand.js +16 -26
- package/dist/hive/Commands/OpenSessionCommand.js.map +1 -1
- package/dist/hive/Commands/RenewDelegationTokenCommand.d.ts +3 -10
- package/dist/hive/Commands/RenewDelegationTokenCommand.js +7 -26
- package/dist/hive/Commands/RenewDelegationTokenCommand.js.map +1 -1
- package/dist/hive/HiveDriver.d.ts +24 -49
- package/dist/hive/HiveDriver.js +87 -99
- package/dist/hive/HiveDriver.js.map +1 -1
- package/dist/hive/Types/index.d.ts +7 -218
- package/dist/hive/Types/index.js +11 -2
- package/dist/hive/Types/index.js.map +1 -1
- package/dist/index.d.ts +16 -16
- package/dist/index.js +19 -51
- package/dist/index.js.map +1 -1
- package/dist/result/IOperationResult.d.ts +0 -2
- package/dist/result/JsonResult.d.ts +5 -8
- package/dist/result/JsonResult.js +81 -99
- package/dist/result/JsonResult.js.map +1 -1
- package/dist/result/NullResult.d.ts +1 -3
- package/dist/result/NullResult.js +4 -8
- package/dist/result/NullResult.js.map +1 -1
- package/dist/utils/buildUserAgentString.d.ts +1 -0
- package/dist/utils/buildUserAgentString.js +25 -0
- package/dist/utils/buildUserAgentString.js.map +1 -0
- package/dist/utils/definedOrError.d.ts +1 -0
- package/dist/utils/definedOrError.js +10 -0
- package/dist/utils/definedOrError.js.map +1 -0
- package/dist/utils/formatProgress.d.ts +9 -0
- package/dist/utils/formatProgress.js +24 -0
- package/dist/utils/formatProgress.js.map +1 -0
- package/dist/utils/index.d.ts +4 -0
- package/dist/utils/index.js +37 -0
- package/dist/utils/index.js.map +1 -0
- package/package.json +28 -7
- package/thrift/TCLIService.d.ts +196 -0
- package/thrift/{gen-nodejs/TCLIService.js → TCLIService.js} +1 -397
- package/thrift/TCLIService_types.d.ts +947 -0
- package/thrift/{gen-nodejs/TCLIService_types.js → TCLIService_types.js} +2830 -516
- package/.gitattributes +0 -32
- package/CONTRIBUTING.md +0 -55
- package/dist/HiveClient.d.ts +0 -35
- package/dist/HiveClient.js +0 -156
- package/dist/HiveClient.js.map +0 -1
- package/dist/HiveOperation.d.ts +0 -65
- package/dist/HiveOperation.js +0 -190
- package/dist/HiveOperation.js.map +0 -1
- package/dist/HiveSession.d.ts +0 -30
- package/dist/HiveSession.js +0 -197
- package/dist/HiveSession.js.map +0 -1
- package/dist/contracts/IHiveClient.d.ts +0 -10
- package/dist/contracts/IHiveClient.js.map +0 -1
- package/dist/contracts/IHiveSession.js.map +0 -1
- package/dist/hive/Commands/GetQueryIdCommand.d.ts +0 -11
- package/dist/hive/Commands/GetQueryIdCommand.js +0 -34
- package/dist/hive/Commands/GetQueryIdCommand.js.map +0 -1
- package/dist/hive/Commands/SetClientInfoCommand.d.ts +0 -12
- package/dist/hive/Commands/SetClientInfoCommand.js +0 -34
- package/dist/hive/Commands/SetClientInfoCommand.js.map +0 -1
- package/dist/utils/GetResult.d.ts +0 -16
- package/dist/utils/GetResult.js +0 -38
- package/dist/utils/GetResult.js.map +0 -1
- package/dist/utils/HiveUtils.d.ts +0 -11
- package/dist/utils/HiveUtils.js +0 -39
- package/dist/utils/HiveUtils.js.map +0 -1
- package/dist/utils/ProgressUpdateTransformer.d.ts +0 -8
- package/dist/utils/ProgressUpdateTransformer.js +0 -33
- package/dist/utils/ProgressUpdateTransformer.js.map +0 -1
- package/dist/utils/WaitUntilReady.d.ts +0 -16
- package/dist/utils/WaitUntilReady.js +0 -120
- package/dist/utils/WaitUntilReady.js.map +0 -1
- package/docs/readme.md +0 -227
- package/docs/troubleshooting.md +0 -84
- package/examples/data_types.js +0 -173
- package/examples/repl +0 -106
- package/examples/session.js +0 -55
- package/examples/usage.js +0 -18
- package/nyc.config.js +0 -8
- package/tests/e2e/data_types.test.js +0 -353
- package/tests/e2e/utils/config.js +0 -20
- package/tests/e2e/utils/logger.js +0 -22
- package/tests/unit/HiveClient.test.js +0 -153
- package/tests/unit/HiveOperation.test.js +0 -340
- package/tests/unit/HiveSession.test.js +0 -146
- package/tests/unit/connection/auth/PlainHttpAuthentication.test.js +0 -44
- package/tests/unit/connection/connections/HttpConnection.test.js +0 -141
- package/tests/unit/dto/InfoValue.test.js +0 -50
- package/tests/unit/factory/StatusFactory.test.js +0 -62
- package/tests/unit/hive/HiveDriver.test.js +0 -115
- package/tests/unit/hive/commands/CancelDelegationTokenCommand.test.js +0 -43
- package/tests/unit/hive/commands/CancelOperationCommand.test.js +0 -45
- package/tests/unit/hive/commands/CloseOperationCommand.test.js +0 -45
- package/tests/unit/hive/commands/CloseSessionCommand.test.js +0 -38
- package/tests/unit/hive/commands/ExecuteStatementCommand.test.js +0 -54
- package/tests/unit/hive/commands/FetchResultsCommand.test.js +0 -59
- package/tests/unit/hive/commands/GetCatalogsCommand.test.js +0 -50
- package/tests/unit/hive/commands/GetColumnsCommand.test.js +0 -50
- package/tests/unit/hive/commands/GetCrossReferenceCommand.test.js +0 -56
- package/tests/unit/hive/commands/GetDelegationTokenCommand.test.js +0 -45
- package/tests/unit/hive/commands/GetFunctionsCommand.test.js +0 -50
- package/tests/unit/hive/commands/GetInfoCommand.test.js +0 -51
- package/tests/unit/hive/commands/GetOperationStatusCommand.test.js +0 -63
- package/tests/unit/hive/commands/GetPrimaryKeysCommand.test.js +0 -50
- package/tests/unit/hive/commands/GetQueryIdCommand.test.js +0 -42
- package/tests/unit/hive/commands/GetResultSetMetadataCommand.test.js +0 -54
- package/tests/unit/hive/commands/GetSchemasCommand.test.js +0 -52
- package/tests/unit/hive/commands/GetTableTypesCommand.test.js +0 -50
- package/tests/unit/hive/commands/GetTablesCommand.test.js +0 -54
- package/tests/unit/hive/commands/GetTypeInfoCommand.test.js +0 -50
- package/tests/unit/hive/commands/OpenSessionCommand.test.js +0 -43
- package/tests/unit/hive/commands/RenewDelegationTokenCommand.test.js +0 -43
- package/tests/unit/hive/commands/SetClientInfoCommand.test.js +0 -45
- package/tests/unit/result/JsonResult.test.js +0 -295
- package/tests/unit/utils/GetResult.test.js +0 -30
- package/tests/unit/utils/HiveUtils.test.js +0 -60
- package/tests/unit/utils/ProgressUpdateTransformer.test.js +0 -28
- package/tests/unit/utils/WaitUntilReady.test.js +0 -105
- package/thrift/TCLIService.thrift +0 -1299
- package/tsconfig.json +0 -13
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetSchemasCommand.js","sourceRoot":"","sources":["../../../lib/hive/Commands/GetSchemasCommand.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"GetSchemasCommand.js","sourceRoot":"","sources":["../../../lib/hive/Commands/GetSchemasCommand.ts"],"names":[],"mappings":";;;;;AAAA,gEAAwC;AACxC,yEAAoF;AAEpF,MAAqB,iBAAkB,SAAQ,qBAAW;IACxD,OAAO,CAAC,IAAoB;QAC1B,MAAM,OAAO,GAAG,IAAI,kCAAc,CAAC,IAAI,CAAC,CAAC;QAEzC,OAAO,IAAI,CAAC,cAAc,CAAkB,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;IAC/E,CAAC;CACF;AAND,oCAMC"}
|
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
import BaseCommand from
|
|
2
|
-
import {
|
|
3
|
-
export declare type GetTableTypesRequest = {
|
|
4
|
-
sessionHandle: SessionHandle;
|
|
5
|
-
};
|
|
6
|
-
export declare type GetTableTypesResponse = {
|
|
7
|
-
status: Status;
|
|
8
|
-
operationHandle: OperationHandle;
|
|
9
|
-
};
|
|
1
|
+
import BaseCommand from './BaseCommand';
|
|
2
|
+
import { TGetTableTypesReq, TGetTableTypesResp } from '../../../thrift/TCLIService_types';
|
|
10
3
|
export default class GetTableTypesCommand extends BaseCommand {
|
|
11
|
-
execute(data:
|
|
4
|
+
execute(data: TGetTableTypesReq): Promise<TGetTableTypesResp>;
|
|
12
5
|
}
|
|
@@ -1,34 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
2
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
18
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
19
4
|
};
|
|
20
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
GetTableTypesCommand.prototype.execute = function (data) {
|
|
28
|
-
var request = new this.TCLIService_types.TGetTableTypesReq(data);
|
|
6
|
+
const BaseCommand_1 = __importDefault(require("./BaseCommand"));
|
|
7
|
+
const TCLIService_types_1 = require("../../../thrift/TCLIService_types");
|
|
8
|
+
class GetTableTypesCommand extends BaseCommand_1.default {
|
|
9
|
+
execute(data) {
|
|
10
|
+
const request = new TCLIService_types_1.TGetTableTypesReq(data);
|
|
29
11
|
return this.executeCommand(request, this.client.GetTableTypes);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
}(BaseCommand_1.default));
|
|
12
|
+
}
|
|
13
|
+
}
|
|
33
14
|
exports.default = GetTableTypesCommand;
|
|
34
15
|
//# sourceMappingURL=GetTableTypesCommand.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetTableTypesCommand.js","sourceRoot":"","sources":["../../../lib/hive/Commands/GetTableTypesCommand.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"GetTableTypesCommand.js","sourceRoot":"","sources":["../../../lib/hive/Commands/GetTableTypesCommand.ts"],"names":[],"mappings":";;;;;AAAA,gEAAwC;AACxC,yEAA0F;AAE1F,MAAqB,oBAAqB,SAAQ,qBAAW;IAC3D,OAAO,CAAC,IAAuB;QAC7B,MAAM,OAAO,GAAG,IAAI,qCAAiB,CAAC,IAAI,CAAC,CAAC;QAE5C,OAAO,IAAI,CAAC,cAAc,CAAqB,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;IACrF,CAAC;CACF;AAND,uCAMC"}
|
|
@@ -1,16 +1,5 @@
|
|
|
1
|
-
import BaseCommand from
|
|
2
|
-
import {
|
|
3
|
-
export declare type GetTablesRequest = {
|
|
4
|
-
sessionHandle: SessionHandle;
|
|
5
|
-
catalogName?: string;
|
|
6
|
-
schemaName?: string;
|
|
7
|
-
tableName?: string;
|
|
8
|
-
tableTypes?: Array<string>;
|
|
9
|
-
};
|
|
10
|
-
export declare type GetTablesResponse = {
|
|
11
|
-
status: Status;
|
|
12
|
-
operationHandle: OperationHandle;
|
|
13
|
-
};
|
|
1
|
+
import BaseCommand from './BaseCommand';
|
|
2
|
+
import { TGetTablesReq, TGetTablesResp } from '../../../thrift/TCLIService_types';
|
|
14
3
|
export default class GetTablesCommand extends BaseCommand {
|
|
15
|
-
execute(data:
|
|
4
|
+
execute(data: TGetTablesReq): Promise<TGetTablesResp>;
|
|
16
5
|
}
|
|
@@ -1,34 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
2
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
18
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
19
4
|
};
|
|
20
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
GetTablesCommand.prototype.execute = function (data) {
|
|
28
|
-
var request = new this.TCLIService_types.TGetTablesReq(data);
|
|
6
|
+
const BaseCommand_1 = __importDefault(require("./BaseCommand"));
|
|
7
|
+
const TCLIService_types_1 = require("../../../thrift/TCLIService_types");
|
|
8
|
+
class GetTablesCommand extends BaseCommand_1.default {
|
|
9
|
+
execute(data) {
|
|
10
|
+
const request = new TCLIService_types_1.TGetTablesReq(data);
|
|
29
11
|
return this.executeCommand(request, this.client.GetTables);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
}(BaseCommand_1.default));
|
|
12
|
+
}
|
|
13
|
+
}
|
|
33
14
|
exports.default = GetTablesCommand;
|
|
34
15
|
//# sourceMappingURL=GetTablesCommand.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetTablesCommand.js","sourceRoot":"","sources":["../../../lib/hive/Commands/GetTablesCommand.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"GetTablesCommand.js","sourceRoot":"","sources":["../../../lib/hive/Commands/GetTablesCommand.ts"],"names":[],"mappings":";;;;;AAAA,gEAAwC;AACxC,yEAAkF;AAElF,MAAqB,gBAAiB,SAAQ,qBAAW;IACvD,OAAO,CAAC,IAAmB;QACzB,MAAM,OAAO,GAAG,IAAI,iCAAa,CAAC,IAAI,CAAC,CAAC;QAExC,OAAO,IAAI,CAAC,cAAc,CAAiB,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;IAC7E,CAAC;CACF;AAND,mCAMC"}
|
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
import BaseCommand from
|
|
2
|
-
import {
|
|
3
|
-
export declare type GetTypeInfoRequest = {
|
|
4
|
-
sessionHandle: SessionHandle;
|
|
5
|
-
};
|
|
6
|
-
export declare type GetTypeInfoResponse = {
|
|
7
|
-
status: Status;
|
|
8
|
-
operationHandle: OperationHandle;
|
|
9
|
-
};
|
|
1
|
+
import BaseCommand from './BaseCommand';
|
|
2
|
+
import { TGetTypeInfoReq, TGetTypeInfoResp } from '../../../thrift/TCLIService_types';
|
|
10
3
|
export default class GetTypeInfoCommand extends BaseCommand {
|
|
11
|
-
execute(data:
|
|
4
|
+
execute(data: TGetTypeInfoReq): Promise<TGetTypeInfoResp>;
|
|
12
5
|
}
|
|
@@ -1,34 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
2
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
18
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
19
4
|
};
|
|
20
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
GetTypeInfoCommand.prototype.execute = function (data) {
|
|
28
|
-
var request = new this.TCLIService_types.TGetTypeInfoReq(data);
|
|
6
|
+
const BaseCommand_1 = __importDefault(require("./BaseCommand"));
|
|
7
|
+
const TCLIService_types_1 = require("../../../thrift/TCLIService_types");
|
|
8
|
+
class GetTypeInfoCommand extends BaseCommand_1.default {
|
|
9
|
+
execute(data) {
|
|
10
|
+
const request = new TCLIService_types_1.TGetTypeInfoReq(data);
|
|
29
11
|
return this.executeCommand(request, this.client.GetTypeInfo);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
}(BaseCommand_1.default));
|
|
12
|
+
}
|
|
13
|
+
}
|
|
33
14
|
exports.default = GetTypeInfoCommand;
|
|
34
15
|
//# sourceMappingURL=GetTypeInfoCommand.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetTypeInfoCommand.js","sourceRoot":"","sources":["../../../lib/hive/Commands/GetTypeInfoCommand.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"GetTypeInfoCommand.js","sourceRoot":"","sources":["../../../lib/hive/Commands/GetTypeInfoCommand.ts"],"names":[],"mappings":";;;;;AAAA,gEAAwC;AACxC,yEAAsF;AAEtF,MAAqB,kBAAmB,SAAQ,qBAAW;IACzD,OAAO,CAAC,IAAqB;QAC3B,MAAM,OAAO,GAAG,IAAI,mCAAe,CAAC,IAAI,CAAC,CAAC;QAE1C,OAAO,IAAI,CAAC,cAAc,CAAmB,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;IACjF,CAAC;CACF;AAND,qCAMC"}
|
|
@@ -1,33 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import BaseCommand from './BaseCommand';
|
|
2
|
+
import { TOpenSessionReq, TOpenSessionResp } from '../../../thrift/TCLIService_types';
|
|
3
3
|
/**
|
|
4
4
|
* For auth mechanism GSSAPI the host and service should be provided when session is opened.
|
|
5
|
+
*
|
|
6
|
+
* TOpenSessionReq.configuration: {
|
|
7
|
+
* krb_host?: string;
|
|
8
|
+
* krb_service?: string;
|
|
9
|
+
* [key: string]: any;
|
|
10
|
+
* }
|
|
5
11
|
*/
|
|
6
|
-
declare type SessionConfiguration = {
|
|
7
|
-
krb_host?: string;
|
|
8
|
-
krb_service?: string;
|
|
9
|
-
[key: string]: any;
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* @param client_protocol One of the values TCLIService_types.TProtocolVersion. May be different depends on version of Hive you use.
|
|
13
|
-
* For instance, for Hive lower that 3.x it is better to use HIVE_CLI_SERVICE_PROTOCOL_V8.
|
|
14
|
-
* @param username if authorization is used you should define username and password
|
|
15
|
-
* @param password
|
|
16
|
-
* @param configuration in case of GSSAPI you should define configuration
|
|
17
|
-
*/
|
|
18
|
-
export declare type OpenSessionRequest = {
|
|
19
|
-
client_protocol: number;
|
|
20
|
-
username?: string;
|
|
21
|
-
password?: string;
|
|
22
|
-
configuration?: SessionConfiguration;
|
|
23
|
-
};
|
|
24
|
-
export declare type OpenSessionResponse = {
|
|
25
|
-
status: Status;
|
|
26
|
-
serverProtocolVersion: number;
|
|
27
|
-
sessionHandle: SessionHandle;
|
|
28
|
-
configuration?: SessionConfiguration;
|
|
29
|
-
};
|
|
30
12
|
export default class OpenSessionCommand extends BaseCommand {
|
|
31
|
-
execute(openSessionRequest:
|
|
13
|
+
execute(openSessionRequest: TOpenSessionReq): Promise<TOpenSessionResp>;
|
|
32
14
|
}
|
|
33
|
-
export {};
|
|
@@ -1,34 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
2
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
18
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
19
4
|
};
|
|
20
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
6
|
+
const BaseCommand_1 = __importDefault(require("./BaseCommand"));
|
|
7
|
+
const TCLIService_types_1 = require("../../../thrift/TCLIService_types");
|
|
8
|
+
/**
|
|
9
|
+
* For auth mechanism GSSAPI the host and service should be provided when session is opened.
|
|
10
|
+
*
|
|
11
|
+
* TOpenSessionReq.configuration: {
|
|
12
|
+
* krb_host?: string;
|
|
13
|
+
* krb_service?: string;
|
|
14
|
+
* [key: string]: any;
|
|
15
|
+
* }
|
|
16
|
+
*/
|
|
17
|
+
class OpenSessionCommand extends BaseCommand_1.default {
|
|
18
|
+
execute(openSessionRequest) {
|
|
19
|
+
const request = new TCLIService_types_1.TOpenSessionReq(openSessionRequest);
|
|
29
20
|
return this.executeCommand(request, this.client.OpenSession);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
}(BaseCommand_1.default));
|
|
21
|
+
}
|
|
22
|
+
}
|
|
33
23
|
exports.default = OpenSessionCommand;
|
|
34
24
|
//# sourceMappingURL=OpenSessionCommand.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OpenSessionCommand.js","sourceRoot":"","sources":["../../../lib/hive/Commands/OpenSessionCommand.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"OpenSessionCommand.js","sourceRoot":"","sources":["../../../lib/hive/Commands/OpenSessionCommand.ts"],"names":[],"mappings":";;;;;AAAA,gEAAwC;AACxC,yEAAsF;AAEtF;;;;;;;;GAQG;AACH,MAAqB,kBAAmB,SAAQ,qBAAW;IACzD,OAAO,CAAC,kBAAmC;QACzC,MAAM,OAAO,GAAG,IAAI,mCAAe,CAAC,kBAAkB,CAAC,CAAC;QAExD,OAAO,IAAI,CAAC,cAAc,CAAmB,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;IACjF,CAAC;CACF;AAND,qCAMC"}
|
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
import BaseCommand from
|
|
2
|
-
import {
|
|
3
|
-
export declare type RenewDelegationTokenRequest = {
|
|
4
|
-
sessionHandle: SessionHandle;
|
|
5
|
-
delegationToken: string;
|
|
6
|
-
};
|
|
7
|
-
export declare type RenewDelegationTokenResponse = {
|
|
8
|
-
status: Status;
|
|
9
|
-
};
|
|
1
|
+
import BaseCommand from './BaseCommand';
|
|
2
|
+
import { TRenewDelegationTokenReq, TRenewDelegationTokenResp } from '../../../thrift/TCLIService_types';
|
|
10
3
|
export default class RenewDelegationTokenCommand extends BaseCommand {
|
|
11
|
-
execute(data:
|
|
4
|
+
execute(data: TRenewDelegationTokenReq): Promise<TRenewDelegationTokenResp>;
|
|
12
5
|
}
|
|
@@ -1,34 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
2
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
18
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
19
4
|
};
|
|
20
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
RenewDelegationTokenCommand.prototype.execute = function (data) {
|
|
28
|
-
var request = new this.TCLIService_types.TRenewDelegationTokenReq(data);
|
|
6
|
+
const BaseCommand_1 = __importDefault(require("./BaseCommand"));
|
|
7
|
+
const TCLIService_types_1 = require("../../../thrift/TCLIService_types");
|
|
8
|
+
class RenewDelegationTokenCommand extends BaseCommand_1.default {
|
|
9
|
+
execute(data) {
|
|
10
|
+
const request = new TCLIService_types_1.TRenewDelegationTokenReq(data);
|
|
29
11
|
return this.executeCommand(request, this.client.RenewDelegationToken);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
}(BaseCommand_1.default));
|
|
12
|
+
}
|
|
13
|
+
}
|
|
33
14
|
exports.default = RenewDelegationTokenCommand;
|
|
34
15
|
//# sourceMappingURL=RenewDelegationTokenCommand.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RenewDelegationTokenCommand.js","sourceRoot":"","sources":["../../../lib/hive/Commands/RenewDelegationTokenCommand.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RenewDelegationTokenCommand.js","sourceRoot":"","sources":["../../../lib/hive/Commands/RenewDelegationTokenCommand.ts"],"names":[],"mappings":";;;;;AAAA,gEAAwC;AACxC,yEAAwG;AAExG,MAAqB,2BAA4B,SAAQ,qBAAW;IAClE,OAAO,CAAC,IAA8B;QACpC,MAAM,OAAO,GAAG,IAAI,4CAAwB,CAAC,IAAI,CAAC,CAAC;QAEnD,OAAO,IAAI,CAAC,cAAc,CAA4B,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAAC;IACnG,CAAC;CACF;AAND,8CAMC"}
|
|
@@ -1,52 +1,27 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { CloseSessionRequest, CloseSessionResponse } from "./Commands/CloseSessionCommand";
|
|
4
|
-
import { ExecuteStatementResponse, ExecuteStatementRequest } from "./Commands/ExecuteStatementCommand";
|
|
5
|
-
import { GetResultSetMetadataRequest, GetResultSetMetadataResponse } from "./Commands/GetResultSetMetadataCommand";
|
|
6
|
-
import { FetchResultsRequest, FetchResultsResponse } from "./Commands/FetchResultsCommand";
|
|
7
|
-
import { GetInfoRequest, GetInfoResponse } from "./Commands/GetInfoCommand";
|
|
8
|
-
import { GetTypeInfoRequest, GetTypeInfoResponse } from "./Commands/GetTypeInfoCommand";
|
|
9
|
-
import { GetCatalogsRequest, GetCatalogsResponse } from "./Commands/GetCatalogsCommand";
|
|
10
|
-
import { GetSchemasRequest, GetSchemasResponse } from "./Commands/GetSchemasCommand";
|
|
11
|
-
import { GetTablesRequest, GetTablesResponse } from "./Commands/GetTablesCommand";
|
|
12
|
-
import { GetTableTypesRequest, GetTableTypesResponse } from "./Commands/GetTableTypesCommand";
|
|
13
|
-
import { GetColumnsRequest, GetColumnsResponse } from "./Commands/GetColumnsCommand";
|
|
14
|
-
import { GetFunctionsRequest, GetFunctionsResponse } from "./Commands/GetFunctionsCommand";
|
|
15
|
-
import { GetPrimaryKeysRequest, GetPrimaryKeysResponse } from "./Commands/GetPrimaryKeysCommand";
|
|
16
|
-
import { GetCrossReferenceRequest, GetCrossReferenceResponse } from "./Commands/GetCrossReferenceCommand";
|
|
17
|
-
import { GetOperationStatusRequest, GetOperationStatusResponse } from "./Commands/GetOperationStatusCommand";
|
|
18
|
-
import { CancelOperationRequest, CancelOperationResponse } from "./Commands/CancelOperationCommand";
|
|
19
|
-
import { CloseOperationRequest, CloseOperationResponse } from "./Commands/CloseOperationCommand";
|
|
20
|
-
import { GetDelegationTokenRequest, GetDelegationTokenResponse } from "./Commands/GetDelegationTokenCommand";
|
|
21
|
-
import { CancelDelegationTokenRequest, CancelDelegationTokenResponse } from "./Commands/CancelDelegationTokenCommand";
|
|
22
|
-
import { RenewDelegationTokenRequest, RenewDelegationTokenResponse } from "./Commands/RenewDelegationTokenCommand";
|
|
23
|
-
import { GetQueryIdRequest, GetQueryIdResponse } from "./Commands/GetQueryIdCommand";
|
|
24
|
-
import { SetClientInfoRequest, SetClientInfoResponse } from "./Commands/SetClientInfoCommand";
|
|
1
|
+
import TCLIService from '../../thrift/TCLIService';
|
|
2
|
+
import { TOpenSessionReq, TCloseSessionReq, TExecuteStatementReq, TGetResultSetMetadataReq, TFetchResultsReq, TGetInfoReq, TGetTypeInfoReq, TGetCatalogsReq, TGetSchemasReq, TGetTablesReq, TGetTableTypesReq, TGetColumnsReq, TGetFunctionsReq, TGetPrimaryKeysReq, TGetCrossReferenceReq, TGetOperationStatusReq, TCancelOperationReq, TCloseOperationReq, TGetDelegationTokenReq, TCancelDelegationTokenReq, TRenewDelegationTokenReq } from '../../thrift/TCLIService_types';
|
|
25
3
|
export default class HiveDriver {
|
|
26
|
-
private TCLIService_types;
|
|
27
4
|
private client;
|
|
28
|
-
constructor(
|
|
29
|
-
openSession(request:
|
|
30
|
-
closeSession(request:
|
|
31
|
-
executeStatement(request:
|
|
32
|
-
getResultSetMetadata(request:
|
|
33
|
-
fetchResults(request:
|
|
34
|
-
getInfo(request:
|
|
35
|
-
getTypeInfo(request:
|
|
36
|
-
getCatalogs(request:
|
|
37
|
-
getSchemas(request:
|
|
38
|
-
getTables(request:
|
|
39
|
-
getTableTypes(request:
|
|
40
|
-
getColumns(request:
|
|
41
|
-
getFunctions(request:
|
|
42
|
-
getPrimaryKeys(request:
|
|
43
|
-
getCrossReference(request:
|
|
44
|
-
getOperationStatus(request:
|
|
45
|
-
cancelOperation(request:
|
|
46
|
-
closeOperation(request:
|
|
47
|
-
getDelegationToken(request:
|
|
48
|
-
cancelDelegationToken(request:
|
|
49
|
-
renewDelegationToken(request:
|
|
50
|
-
getQueryId(request: GetQueryIdRequest): Promise<GetQueryIdResponse>;
|
|
51
|
-
setClientInfo(request: SetClientInfoRequest): Promise<SetClientInfoResponse>;
|
|
5
|
+
constructor(client: TCLIService.Client);
|
|
6
|
+
openSession(request: TOpenSessionReq): Promise<import("../../thrift/TCLIService_types").TOpenSessionResp>;
|
|
7
|
+
closeSession(request: TCloseSessionReq): Promise<import("../../thrift/TCLIService_types").TCloseSessionResp>;
|
|
8
|
+
executeStatement(request: TExecuteStatementReq): Promise<import("../../thrift/TCLIService_types").TExecuteStatementResp>;
|
|
9
|
+
getResultSetMetadata(request: TGetResultSetMetadataReq): Promise<import("../../thrift/TCLIService_types").TGetResultSetMetadataResp>;
|
|
10
|
+
fetchResults(request: TFetchResultsReq): Promise<import("../../thrift/TCLIService_types").TFetchResultsResp>;
|
|
11
|
+
getInfo(request: TGetInfoReq): Promise<import("../../thrift/TCLIService_types").TGetInfoResp>;
|
|
12
|
+
getTypeInfo(request: TGetTypeInfoReq): Promise<import("../../thrift/TCLIService_types").TGetTypeInfoResp>;
|
|
13
|
+
getCatalogs(request: TGetCatalogsReq): Promise<import("../../thrift/TCLIService_types").TGetCatalogsResp>;
|
|
14
|
+
getSchemas(request: TGetSchemasReq): Promise<import("../../thrift/TCLIService_types").TGetSchemasResp>;
|
|
15
|
+
getTables(request: TGetTablesReq): Promise<import("../../thrift/TCLIService_types").TGetTablesResp>;
|
|
16
|
+
getTableTypes(request: TGetTableTypesReq): Promise<import("../../thrift/TCLIService_types").TGetTableTypesResp>;
|
|
17
|
+
getColumns(request: TGetColumnsReq): Promise<import("../../thrift/TCLIService_types").TGetColumnsResp>;
|
|
18
|
+
getFunctions(request: TGetFunctionsReq): Promise<import("../../thrift/TCLIService_types").TGetFunctionsResp>;
|
|
19
|
+
getPrimaryKeys(request: TGetPrimaryKeysReq): Promise<import("../../thrift/TCLIService_types").TGetPrimaryKeysResp>;
|
|
20
|
+
getCrossReference(request: TGetCrossReferenceReq): Promise<import("../../thrift/TCLIService_types").TGetCrossReferenceResp>;
|
|
21
|
+
getOperationStatus(request: TGetOperationStatusReq): Promise<import("../../thrift/TCLIService_types").TGetOperationStatusResp>;
|
|
22
|
+
cancelOperation(request: TCancelOperationReq): Promise<import("../../thrift/TCLIService_types").TCancelOperationResp>;
|
|
23
|
+
closeOperation(request: TCloseOperationReq): Promise<import("../../thrift/TCLIService_types").TCloseOperationResp>;
|
|
24
|
+
getDelegationToken(request: TGetDelegationTokenReq): Promise<import("../../thrift/TCLIService_types").TGetDelegationTokenResp>;
|
|
25
|
+
cancelDelegationToken(request: TCancelDelegationTokenReq): Promise<import("../../thrift/TCLIService_types").TCancelDelegationTokenResp>;
|
|
26
|
+
renewDelegationToken(request: TRenewDelegationTokenReq): Promise<import("../../thrift/TCLIService_types").TRenewDelegationTokenResp>;
|
|
52
27
|
}
|