@alicloud/dataworks-public20200518 4.3.11 → 4.3.12
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/dist/client.d.ts +34 -1
- package/dist/client.js +60 -2
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +77 -2
package/dist/client.d.ts
CHANGED
|
@@ -4886,6 +4886,26 @@ export declare class GetMetaTablePartitionRequest extends $tea.Model {
|
|
|
4886
4886
|
databaseName?: string;
|
|
4887
4887
|
pageNumber?: number;
|
|
4888
4888
|
pageSize?: number;
|
|
4889
|
+
sortCriterion?: GetMetaTablePartitionRequestSortCriterion;
|
|
4890
|
+
tableGuid?: string;
|
|
4891
|
+
tableName?: string;
|
|
4892
|
+
static names(): {
|
|
4893
|
+
[key: string]: string;
|
|
4894
|
+
};
|
|
4895
|
+
static types(): {
|
|
4896
|
+
[key: string]: any;
|
|
4897
|
+
};
|
|
4898
|
+
constructor(map?: {
|
|
4899
|
+
[key: string]: any;
|
|
4900
|
+
});
|
|
4901
|
+
}
|
|
4902
|
+
export declare class GetMetaTablePartitionShrinkRequest extends $tea.Model {
|
|
4903
|
+
clusterId?: string;
|
|
4904
|
+
dataSourceType?: string;
|
|
4905
|
+
databaseName?: string;
|
|
4906
|
+
pageNumber?: number;
|
|
4907
|
+
pageSize?: number;
|
|
4908
|
+
sortCriterionShrink?: string;
|
|
4889
4909
|
tableGuid?: string;
|
|
4890
4910
|
tableName?: string;
|
|
4891
4911
|
static names(): {
|
|
@@ -13146,6 +13166,19 @@ export declare class GetMetaTableOutputResponseBodyData extends $tea.Model {
|
|
|
13146
13166
|
[key: string]: any;
|
|
13147
13167
|
});
|
|
13148
13168
|
}
|
|
13169
|
+
export declare class GetMetaTablePartitionRequestSortCriterion extends $tea.Model {
|
|
13170
|
+
order?: string;
|
|
13171
|
+
sortField?: string;
|
|
13172
|
+
static names(): {
|
|
13173
|
+
[key: string]: string;
|
|
13174
|
+
};
|
|
13175
|
+
static types(): {
|
|
13176
|
+
[key: string]: any;
|
|
13177
|
+
};
|
|
13178
|
+
constructor(map?: {
|
|
13179
|
+
[key: string]: any;
|
|
13180
|
+
});
|
|
13181
|
+
}
|
|
13149
13182
|
export declare class GetMetaTablePartitionResponseBodyDataDataEntityList extends $tea.Model {
|
|
13150
13183
|
comment?: string;
|
|
13151
13184
|
createTime?: number;
|
|
@@ -16860,7 +16893,7 @@ export default class Client extends OpenApi {
|
|
|
16860
16893
|
getMetaTableListByCategory(request: GetMetaTableListByCategoryRequest): Promise<GetMetaTableListByCategoryResponse>;
|
|
16861
16894
|
getMetaTableOutputWithOptions(request: GetMetaTableOutputRequest, runtime: $Util.RuntimeOptions): Promise<GetMetaTableOutputResponse>;
|
|
16862
16895
|
getMetaTableOutput(request: GetMetaTableOutputRequest): Promise<GetMetaTableOutputResponse>;
|
|
16863
|
-
getMetaTablePartitionWithOptions(
|
|
16896
|
+
getMetaTablePartitionWithOptions(tmpReq: GetMetaTablePartitionRequest, runtime: $Util.RuntimeOptions): Promise<GetMetaTablePartitionResponse>;
|
|
16864
16897
|
getMetaTablePartition(request: GetMetaTablePartitionRequest): Promise<GetMetaTablePartitionResponse>;
|
|
16865
16898
|
getMetaTableThemeLevelWithOptions(request: GetMetaTableThemeLevelRequest, runtime: $Util.RuntimeOptions): Promise<GetMetaTableThemeLevelResponse>;
|
|
16866
16899
|
getMetaTableThemeLevel(request: GetMetaTableThemeLevelRequest): Promise<GetMetaTableThemeLevelResponse>;
|
package/dist/client.js
CHANGED
|
@@ -6891,6 +6891,7 @@ class GetMetaTablePartitionRequest extends $tea.Model {
|
|
|
6891
6891
|
databaseName: 'DatabaseName',
|
|
6892
6892
|
pageNumber: 'PageNumber',
|
|
6893
6893
|
pageSize: 'PageSize',
|
|
6894
|
+
sortCriterion: 'SortCriterion',
|
|
6894
6895
|
tableGuid: 'TableGuid',
|
|
6895
6896
|
tableName: 'TableName',
|
|
6896
6897
|
};
|
|
@@ -6902,12 +6903,43 @@ class GetMetaTablePartitionRequest extends $tea.Model {
|
|
|
6902
6903
|
databaseName: 'string',
|
|
6903
6904
|
pageNumber: 'number',
|
|
6904
6905
|
pageSize: 'number',
|
|
6906
|
+
sortCriterion: GetMetaTablePartitionRequestSortCriterion,
|
|
6905
6907
|
tableGuid: 'string',
|
|
6906
6908
|
tableName: 'string',
|
|
6907
6909
|
};
|
|
6908
6910
|
}
|
|
6909
6911
|
}
|
|
6910
6912
|
exports.GetMetaTablePartitionRequest = GetMetaTablePartitionRequest;
|
|
6913
|
+
class GetMetaTablePartitionShrinkRequest extends $tea.Model {
|
|
6914
|
+
constructor(map) {
|
|
6915
|
+
super(map);
|
|
6916
|
+
}
|
|
6917
|
+
static names() {
|
|
6918
|
+
return {
|
|
6919
|
+
clusterId: 'ClusterId',
|
|
6920
|
+
dataSourceType: 'DataSourceType',
|
|
6921
|
+
databaseName: 'DatabaseName',
|
|
6922
|
+
pageNumber: 'PageNumber',
|
|
6923
|
+
pageSize: 'PageSize',
|
|
6924
|
+
sortCriterionShrink: 'SortCriterion',
|
|
6925
|
+
tableGuid: 'TableGuid',
|
|
6926
|
+
tableName: 'TableName',
|
|
6927
|
+
};
|
|
6928
|
+
}
|
|
6929
|
+
static types() {
|
|
6930
|
+
return {
|
|
6931
|
+
clusterId: 'string',
|
|
6932
|
+
dataSourceType: 'string',
|
|
6933
|
+
databaseName: 'string',
|
|
6934
|
+
pageNumber: 'number',
|
|
6935
|
+
pageSize: 'number',
|
|
6936
|
+
sortCriterionShrink: 'string',
|
|
6937
|
+
tableGuid: 'string',
|
|
6938
|
+
tableName: 'string',
|
|
6939
|
+
};
|
|
6940
|
+
}
|
|
6941
|
+
}
|
|
6942
|
+
exports.GetMetaTablePartitionShrinkRequest = GetMetaTablePartitionShrinkRequest;
|
|
6911
6943
|
class GetMetaTablePartitionResponseBody extends $tea.Model {
|
|
6912
6944
|
constructor(map) {
|
|
6913
6945
|
super(map);
|
|
@@ -18780,6 +18812,24 @@ class GetMetaTableOutputResponseBodyData extends $tea.Model {
|
|
|
18780
18812
|
}
|
|
18781
18813
|
}
|
|
18782
18814
|
exports.GetMetaTableOutputResponseBodyData = GetMetaTableOutputResponseBodyData;
|
|
18815
|
+
class GetMetaTablePartitionRequestSortCriterion extends $tea.Model {
|
|
18816
|
+
constructor(map) {
|
|
18817
|
+
super(map);
|
|
18818
|
+
}
|
|
18819
|
+
static names() {
|
|
18820
|
+
return {
|
|
18821
|
+
order: 'Order',
|
|
18822
|
+
sortField: 'SortField',
|
|
18823
|
+
};
|
|
18824
|
+
}
|
|
18825
|
+
static types() {
|
|
18826
|
+
return {
|
|
18827
|
+
order: 'string',
|
|
18828
|
+
sortField: 'string',
|
|
18829
|
+
};
|
|
18830
|
+
}
|
|
18831
|
+
}
|
|
18832
|
+
exports.GetMetaTablePartitionRequestSortCriterion = GetMetaTablePartitionRequestSortCriterion;
|
|
18783
18833
|
class GetMetaTablePartitionResponseBodyDataDataEntityList extends $tea.Model {
|
|
18784
18834
|
constructor(map) {
|
|
18785
18835
|
super(map);
|
|
@@ -28001,8 +28051,13 @@ class Client extends openapi_client_1.default {
|
|
|
28001
28051
|
let runtime = new $Util.RuntimeOptions({});
|
|
28002
28052
|
return await this.getMetaTableOutputWithOptions(request, runtime);
|
|
28003
28053
|
}
|
|
28004
|
-
async getMetaTablePartitionWithOptions(
|
|
28005
|
-
tea_util_1.default.validateModel(
|
|
28054
|
+
async getMetaTablePartitionWithOptions(tmpReq, runtime) {
|
|
28055
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
28056
|
+
let request = new GetMetaTablePartitionShrinkRequest({});
|
|
28057
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
28058
|
+
if (!tea_util_1.default.isUnset($tea.toMap(tmpReq.sortCriterion))) {
|
|
28059
|
+
request.sortCriterionShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle($tea.toMap(tmpReq.sortCriterion), "SortCriterion", "json");
|
|
28060
|
+
}
|
|
28006
28061
|
let query = {};
|
|
28007
28062
|
if (!tea_util_1.default.isUnset(request.clusterId)) {
|
|
28008
28063
|
query["ClusterId"] = request.clusterId;
|
|
@@ -28019,6 +28074,9 @@ class Client extends openapi_client_1.default {
|
|
|
28019
28074
|
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
28020
28075
|
query["PageSize"] = request.pageSize;
|
|
28021
28076
|
}
|
|
28077
|
+
if (!tea_util_1.default.isUnset(request.sortCriterionShrink)) {
|
|
28078
|
+
query["SortCriterion"] = request.sortCriterionShrink;
|
|
28079
|
+
}
|
|
28022
28080
|
if (!tea_util_1.default.isUnset(request.tableGuid)) {
|
|
28023
28081
|
query["TableGuid"] = request.tableGuid;
|
|
28024
28082
|
}
|