@zilliz/milvus2-sdk-node 2.3.4 → 2.4.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/README.md +154 -35
- package/dist/milvus/HttpClient.d.ts +165 -2
- package/dist/milvus/HttpClient.js +17 -3
- package/dist/milvus/HttpClient.js.map +1 -1
- package/dist/milvus/MilvusClient.d.ts +3 -3
- package/dist/milvus/MilvusClient.js +42 -8
- package/dist/milvus/MilvusClient.js.map +1 -1
- package/dist/milvus/const/client.d.ts +4 -3
- package/dist/milvus/const/client.js +4 -3
- package/dist/milvus/const/client.js.map +1 -1
- package/dist/milvus/const/defaults.d.ts +5 -4
- package/dist/milvus/const/defaults.js +14 -13
- package/dist/milvus/const/defaults.js.map +1 -1
- package/dist/milvus/const/error.js +1 -1
- package/dist/milvus/const/error.js.map +1 -1
- package/dist/milvus/const/milvus.d.ts +45 -8
- package/dist/milvus/const/milvus.js +41 -3
- package/dist/milvus/const/milvus.js.map +1 -1
- package/dist/milvus/grpc/BaseClient.d.ts +11 -9
- package/dist/milvus/grpc/BaseClient.js +59 -21
- package/dist/milvus/grpc/BaseClient.js.map +1 -1
- package/dist/milvus/grpc/Collection.d.ts +311 -366
- package/dist/milvus/grpc/Collection.js +355 -387
- package/dist/milvus/grpc/Collection.js.map +1 -1
- package/dist/milvus/grpc/Data.d.ts +244 -291
- package/dist/milvus/grpc/Data.js +402 -539
- package/dist/milvus/grpc/Data.js.map +1 -1
- package/dist/milvus/grpc/Database.d.ts +29 -41
- package/dist/milvus/grpc/Database.js +32 -44
- package/dist/milvus/grpc/Database.js.map +1 -1
- package/dist/milvus/grpc/GrpcClient.d.ts +34 -13
- package/dist/milvus/grpc/GrpcClient.js +80 -70
- package/dist/milvus/grpc/GrpcClient.js.map +1 -1
- package/dist/milvus/grpc/MilvusIndex.d.ts +127 -67
- package/dist/milvus/grpc/MilvusIndex.js +166 -70
- package/dist/milvus/grpc/MilvusIndex.js.map +1 -1
- package/dist/milvus/grpc/Partition.d.ts +78 -113
- package/dist/milvus/grpc/Partition.js +109 -119
- package/dist/milvus/grpc/Partition.js.map +1 -1
- package/dist/milvus/grpc/Resource.d.ts +63 -92
- package/dist/milvus/grpc/Resource.js +69 -98
- package/dist/milvus/grpc/Resource.js.map +1 -1
- package/dist/milvus/grpc/User.d.ts +263 -295
- package/dist/milvus/grpc/User.js +287 -310
- package/dist/milvus/grpc/User.js.map +1 -1
- package/dist/milvus/http/Alias.d.ts +37 -0
- package/dist/milvus/http/Alias.js +62 -0
- package/dist/milvus/http/Alias.js.map +1 -0
- package/dist/milvus/http/Collection.d.ts +15 -1
- package/dist/milvus/http/Collection.js +55 -9
- package/dist/milvus/http/Collection.js.map +1 -1
- package/dist/milvus/http/Import.d.ts +33 -0
- package/dist/milvus/http/Import.js +48 -0
- package/dist/milvus/http/Import.js.map +1 -0
- package/dist/milvus/http/MilvusIndex.d.ts +35 -0
- package/dist/milvus/http/MilvusIndex.js +55 -0
- package/dist/milvus/http/MilvusIndex.js.map +1 -0
- package/dist/milvus/http/Partition.d.ts +41 -0
- package/dist/milvus/http/Partition.js +76 -0
- package/dist/milvus/http/Partition.js.map +1 -0
- package/dist/milvus/http/Role.d.ts +39 -0
- package/dist/milvus/http/Role.js +69 -0
- package/dist/milvus/http/Role.js.map +1 -0
- package/dist/milvus/http/User.d.ts +41 -0
- package/dist/milvus/http/User.js +76 -0
- package/dist/milvus/http/User.js.map +1 -0
- package/dist/milvus/http/Vector.d.ts +5 -3
- package/dist/milvus/http/Vector.js +10 -7
- package/dist/milvus/http/Vector.js.map +1 -1
- package/dist/milvus/http/index.d.ts +6 -0
- package/dist/milvus/http/index.js +6 -0
- package/dist/milvus/http/index.js.map +1 -1
- package/dist/milvus/index.d.ts +0 -1
- package/dist/milvus/index.js +0 -1
- package/dist/milvus/index.js.map +1 -1
- package/dist/milvus/types/Client.d.ts +5 -0
- package/dist/milvus/types/Collection.d.ts +34 -9
- package/dist/milvus/types/Common.d.ts +1 -3
- package/dist/milvus/types/Data.d.ts +79 -23
- package/dist/milvus/types/Data.js +1 -0
- package/dist/milvus/types/Data.js.map +1 -1
- package/dist/milvus/types/HighLevel.d.ts +6 -3
- package/dist/milvus/types/Http.d.ts +191 -9
- package/dist/milvus/types/MilvusIndex.d.ts +17 -3
- package/dist/milvus/types/User.d.ts +10 -9
- package/dist/milvus/utils/Bytes.d.ts +84 -0
- package/dist/milvus/utils/Bytes.js +261 -0
- package/dist/milvus/utils/Bytes.js.map +1 -0
- package/dist/milvus/utils/Format.d.ts +126 -68
- package/dist/milvus/utils/Format.js +375 -94
- package/dist/milvus/utils/Format.js.map +1 -1
- package/dist/milvus/utils/Function.d.ts +4 -2
- package/dist/milvus/utils/Function.js +58 -25
- package/dist/milvus/utils/Function.js.map +1 -1
- package/dist/milvus/utils/Grpc.d.ts +3 -2
- package/dist/milvus/utils/Grpc.js +65 -98
- package/dist/milvus/utils/Grpc.js.map +1 -1
- package/dist/milvus/utils/Validate.d.ts +18 -3
- package/dist/milvus/utils/Validate.js +38 -12
- package/dist/milvus/utils/Validate.js.map +1 -1
- package/dist/milvus/utils/index.d.ts +1 -1
- package/dist/milvus/utils/index.js +1 -1
- package/dist/milvus/utils/index.js.map +1 -1
- package/dist/proto/proto/common.proto +29 -1
- package/dist/proto/proto/google/protobuf/descriptor.proto +96 -34
- package/dist/proto/proto/milvus.proto +168 -2
- package/dist/proto/proto/rg.proto +28 -0
- package/dist/proto/proto/schema.proto +36 -0
- package/dist/sdk.json +1 -1
- package/package.json +8 -5
- package/dist/milvus/OrmClient.d.ts +0 -19
- package/dist/milvus/OrmClient.js +0 -51
- package/dist/milvus/OrmClient.js.map +0 -1
- package/dist/milvus/orm/Collection.d.ts +0 -43
- package/dist/milvus/orm/Collection.js +0 -165
- package/dist/milvus/orm/Collection.js.map +0 -1
- package/dist/milvus/orm/index.d.ts +0 -1
- package/dist/milvus/orm/index.js +0 -18
- package/dist/milvus/orm/index.js.map +0 -1
- package/dist/milvus/utils/Blob.d.ts +0 -4
- package/dist/milvus/utils/Blob.js +0 -18
- package/dist/milvus/utils/Blob.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"User.js","sourceRoot":"","sources":["../../../milvus/grpc/User.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAAsC;AACtC,2BA4Ba;AAEb,MAAa,IAAK,SAAQ,mBAAQ;
|
|
1
|
+
{"version":3,"file":"User.js","sourceRoot":"","sources":["../../../milvus/grpc/User.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAAsC;AACtC,2BA4Ba;AAEb,MAAa,IAAK,SAAQ,mBAAQ;IAAlC;;QAmFE,QAAQ;QACR,mBAAc,GAAG,IAAI,CAAC,UAAU,CAAC;QAiCjC,aAAQ,GAAG,IAAI,CAAC,UAAU,CAAC;QA0H3B,QAAQ;QACR,cAAS,GAAG,IAAI,CAAC,aAAa,CAAC;QAmC/B,QAAQ;QACR,eAAU,GAAG,IAAI,CAAC,kBAAkB,CAAC;QAsCrC,QAAQ;QACR,eAAU,GAAG,IAAI,CAAC,YAAY,CAAC;QAoE/B,QAAQ;QACR,eAAU,GAAG,IAAI,CAAC,YAAY,CAAC;QA+C/B,QAAQ;QACR,uBAAkB,GAAG,IAAI,CAAC,cAAc,CAAC;QA+CzC,wBAAmB,GAAG,IAAI,CAAC,eAAe,CAAC;IA4K7C,CAAC;IA1oBC;;;;;;;;;;;;;;;;;;;OAmBG;IACG,UAAU,CAAC,IAAmB;;YAClC,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,EAAE;gBAC9D,MAAM,IAAI,KAAK,CAAC,iBAAa,CAAC,yBAAyB,CAAC,CAAC;aAC1D;YACD,MAAM,iBAAiB,GAAG,IAAA,kBAAc,EAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YACxD,MAAM,OAAO,GAAG,MAAM,IAAA,aAAS,EAC7B,IAAI,CAA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AAC,OAAO,CAC7B,CAAC;YAEF,OAAO,OAAO,CAAC;QACjB,CAAC;KAAA;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACG,OAAO,CAAC,IAAgB;;YAC5B,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;YAEtC,OAAO;gBACL,MAAM,EAAE,MAAM,CAAC,MAAM;gBACrB,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC;aACtE,CAAC;QACJ,CAAC;KAAA;CACF;AA3oBD,oBA2oBC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { HttpBaseClient } from '../HttpClient';
|
|
2
|
+
import { Constructor, FetchOptions, HttpAliasBaseReq, HttpBaseResponse, HttpAliasCreateReq, HttpAliasAlterReq, HttpAliasDescribeReq, HttpAliasDropReq, HttpAliasDescribeResponse } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* @param {Constructor<HttpBaseClient>} Base - The base class to be extended.
|
|
6
|
+
* @returns {class} - The extended class with additional methods for collection management.
|
|
7
|
+
*
|
|
8
|
+
* @method listAliases - Lists all aliases in a collection.
|
|
9
|
+
* @method createAlias - Creates a new alias in a collection.
|
|
10
|
+
* @method describeAlias - Describes an alias.
|
|
11
|
+
* @method dropAlias - Deletes an alias.
|
|
12
|
+
* @method alterAlias - Modifies an alias to another collection.
|
|
13
|
+
*/
|
|
14
|
+
export declare function Alias<T extends Constructor<HttpBaseClient>>(Base: T): {
|
|
15
|
+
new (...args: any[]): {
|
|
16
|
+
readonly aliasPrefix: string;
|
|
17
|
+
listAliases(params: HttpAliasBaseReq, options?: FetchOptions): Promise<HttpBaseResponse<string[]>>;
|
|
18
|
+
createAlias(params: HttpAliasCreateReq, options?: FetchOptions): Promise<HttpBaseResponse<{}>>;
|
|
19
|
+
describeAlias(params: HttpAliasDescribeReq, options?: FetchOptions): Promise<HttpAliasDescribeResponse>;
|
|
20
|
+
dropAlias(params: HttpAliasDropReq, options?: FetchOptions): Promise<HttpBaseResponse<{}>>;
|
|
21
|
+
alterAlias(params: HttpAliasAlterReq, options?: FetchOptions): Promise<HttpBaseResponse<{}>>;
|
|
22
|
+
config: import("../types").HttpClientConfig;
|
|
23
|
+
readonly baseURL: string;
|
|
24
|
+
readonly authorization: string;
|
|
25
|
+
readonly database: string;
|
|
26
|
+
readonly timeout: number;
|
|
27
|
+
readonly headers: {
|
|
28
|
+
Authorization: string;
|
|
29
|
+
Accept: string;
|
|
30
|
+
ContentType: string;
|
|
31
|
+
'Accept-Type-Allow-Int64': string;
|
|
32
|
+
};
|
|
33
|
+
readonly fetch: ((input: any, init?: any) => Promise<any>) | typeof fetch;
|
|
34
|
+
POST<T>(url: string, data?: Record<string, any>, options?: FetchOptions | undefined): Promise<T>;
|
|
35
|
+
GET<T_1>(url: string, params?: Record<string, any>, options?: FetchOptions | undefined): Promise<T_1>;
|
|
36
|
+
};
|
|
37
|
+
} & T;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Alias = void 0;
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @param {Constructor<HttpBaseClient>} Base - The base class to be extended.
|
|
16
|
+
* @returns {class} - The extended class with additional methods for collection management.
|
|
17
|
+
*
|
|
18
|
+
* @method listAliases - Lists all aliases in a collection.
|
|
19
|
+
* @method createAlias - Creates a new alias in a collection.
|
|
20
|
+
* @method describeAlias - Describes an alias.
|
|
21
|
+
* @method dropAlias - Deletes an alias.
|
|
22
|
+
* @method alterAlias - Modifies an alias to another collection.
|
|
23
|
+
*/
|
|
24
|
+
function Alias(Base) {
|
|
25
|
+
return class extends Base {
|
|
26
|
+
get aliasPrefix() {
|
|
27
|
+
return '/vectordb/aliases';
|
|
28
|
+
}
|
|
29
|
+
listAliases(params, options) {
|
|
30
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
31
|
+
const url = `${this.aliasPrefix}/list`;
|
|
32
|
+
return yield this.POST(url, params, options);
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
createAlias(params, options) {
|
|
36
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37
|
+
const url = `${this.aliasPrefix}/create`;
|
|
38
|
+
return yield this.POST(url, params, options);
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
describeAlias(params, options) {
|
|
42
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
43
|
+
const url = `${this.aliasPrefix}/describe`;
|
|
44
|
+
return yield this.POST(url, params, options);
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
dropAlias(params, options) {
|
|
48
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
49
|
+
const url = `${this.aliasPrefix}/drop`;
|
|
50
|
+
return yield this.POST(url, params, options);
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
alterAlias(params, options) {
|
|
54
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
55
|
+
const url = `${this.aliasPrefix}/alter`;
|
|
56
|
+
return yield this.POST(url, params, options);
|
|
57
|
+
});
|
|
58
|
+
}
|
|
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GAAG,GAAG,IAAI,CAAC,WAAW,QAAQ,CAAC;gBACxC,OAAO,MAAM,IAAI,CAAC,IAAI,CAAmB,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;YACjE,CAAC;SAAA;KACF,CAAC;AACJ,CAAC;AA/BD,sBA+BC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpBaseClient } from '../HttpClient';
|
|
2
2
|
import { Constructor } from '../types/index';
|
|
3
|
-
import { HttpCollectionCreateReq, HttpCollectionListReq, HttpCollectionListResponse, HttpCollectionDescribeResponse, HttpBaseResponse, HttpBaseReq, FetchOptions } from '../types';
|
|
3
|
+
import { HttpCollectionCreateReq, HttpCollectionListReq, HttpCollectionListResponse, HttpCollectionDescribeResponse, HttpBaseResponse, HttpBaseReq, FetchOptions, HttpCollectionRenameReq, HttpCollectionHasResponse, HttpCollectionStatisticsResponse, HttpCollectionLoadStateReq, HttpCollectionLoadStateResponse } from '../types';
|
|
4
4
|
/**
|
|
5
5
|
* Collection is a mixin function that extends the functionality of a base class.
|
|
6
6
|
* It provides methods to interact with collections in a Milvus cluster.
|
|
@@ -12,13 +12,26 @@ import { HttpCollectionCreateReq, HttpCollectionListReq, HttpCollectionListRespo
|
|
|
12
12
|
* @method describeCollection - Retrieves the description of a specific collection.
|
|
13
13
|
* @method dropCollection - Deletes a specific collection from Milvus.
|
|
14
14
|
* @method listCollections - Lists all collections in the Milvus cluster.
|
|
15
|
+
* @method hasCollection - Checks if a collection exists in the Milvus cluster.
|
|
16
|
+
* @method renameCollection - Renames a collection in the Milvus cluster.
|
|
17
|
+
* @method getCollectionStatistics - Retrieves statistics about a collection.
|
|
18
|
+
* @method loadCollection - Loads a collection into memory.
|
|
19
|
+
* @method releaseCollection - Releases a collection from memory.
|
|
20
|
+
* @method getCollectionLoadState - Retrieves the load state of a collection.
|
|
15
21
|
*/
|
|
16
22
|
export declare function Collection<T extends Constructor<HttpBaseClient>>(Base: T): {
|
|
17
23
|
new (...args: any[]): {
|
|
24
|
+
readonly collectionPrefix: string;
|
|
18
25
|
createCollection(data: HttpCollectionCreateReq, options?: FetchOptions): Promise<HttpBaseResponse>;
|
|
19
26
|
describeCollection(params: HttpBaseReq, options?: FetchOptions): Promise<HttpCollectionDescribeResponse>;
|
|
20
27
|
dropCollection(data: HttpBaseReq, options?: FetchOptions): Promise<HttpBaseResponse>;
|
|
21
28
|
listCollections(params?: HttpCollectionListReq, options?: FetchOptions): Promise<HttpCollectionListResponse>;
|
|
29
|
+
hasCollection(params: Required<HttpBaseReq>, options?: FetchOptions): Promise<HttpCollectionHasResponse>;
|
|
30
|
+
renameCollection(params: HttpCollectionRenameReq, options?: FetchOptions): Promise<HttpBaseResponse<{}>>;
|
|
31
|
+
getCollectionStatistics(params: HttpBaseReq, options?: FetchOptions): Promise<HttpCollectionStatisticsResponse>;
|
|
32
|
+
loadCollection(params: HttpBaseReq, options?: FetchOptions): Promise<HttpBaseResponse<{}>>;
|
|
33
|
+
releaseCollection(params: HttpBaseReq, options?: FetchOptions): Promise<HttpBaseResponse<{}>>;
|
|
34
|
+
getCollectionLoadState(params: HttpCollectionLoadStateReq, options?: FetchOptions): Promise<HttpCollectionLoadStateResponse>;
|
|
22
35
|
config: import("../types").HttpClientConfig;
|
|
23
36
|
readonly baseURL: string;
|
|
24
37
|
readonly authorization: string;
|
|
@@ -28,6 +41,7 @@ export declare function Collection<T extends Constructor<HttpBaseClient>>(Base:
|
|
|
28
41
|
Authorization: string;
|
|
29
42
|
Accept: string;
|
|
30
43
|
ContentType: string;
|
|
44
|
+
'Accept-Type-Allow-Int64': string;
|
|
31
45
|
};
|
|
32
46
|
readonly fetch: ((input: any, init?: any) => Promise<any>) | typeof fetch;
|
|
33
47
|
POST<T>(url: string, data?: Record<string, any>, options?: FetchOptions | undefined): Promise<T>;
|
|
@@ -22,39 +22,85 @@ const const_1 = require("../const");
|
|
|
22
22
|
* @method describeCollection - Retrieves the description of a specific collection.
|
|
23
23
|
* @method dropCollection - Deletes a specific collection from Milvus.
|
|
24
24
|
* @method listCollections - Lists all collections in the Milvus cluster.
|
|
25
|
+
* @method hasCollection - Checks if a collection exists in the Milvus cluster.
|
|
26
|
+
* @method renameCollection - Renames a collection in the Milvus cluster.
|
|
27
|
+
* @method getCollectionStatistics - Retrieves statistics about a collection.
|
|
28
|
+
* @method loadCollection - Loads a collection into memory.
|
|
29
|
+
* @method releaseCollection - Releases a collection from memory.
|
|
30
|
+
* @method getCollectionLoadState - Retrieves the load state of a collection.
|
|
25
31
|
*/
|
|
26
32
|
function Collection(Base) {
|
|
27
33
|
return class extends Base {
|
|
34
|
+
get collectionPrefix() {
|
|
35
|
+
return '/vectordb/collections';
|
|
36
|
+
}
|
|
28
37
|
// POST create collection
|
|
29
38
|
createCollection(data, options) {
|
|
30
39
|
return __awaiter(this, void 0, void 0, function* () {
|
|
31
|
-
const url =
|
|
40
|
+
const url = `${this.collectionPrefix}/create`;
|
|
32
41
|
// if some keys not provided, using default value
|
|
33
42
|
data.metricType = data.metricType || const_1.DEFAULT_METRIC_TYPE;
|
|
34
|
-
data.
|
|
35
|
-
|
|
43
|
+
data.primaryFieldName =
|
|
44
|
+
data.primaryFieldName || const_1.DEFAULT_PRIMARY_KEY_FIELD;
|
|
45
|
+
data.vectorFieldName = data.vectorFieldName || const_1.DEFAULT_VECTOR_FIELD;
|
|
36
46
|
return yield this.POST(url, data, options);
|
|
37
47
|
});
|
|
38
48
|
}
|
|
39
49
|
// GET describe collection
|
|
40
50
|
describeCollection(params, options) {
|
|
41
51
|
return __awaiter(this, void 0, void 0, function* () {
|
|
42
|
-
const url =
|
|
43
|
-
return yield this.
|
|
52
|
+
const url = `${this.collectionPrefix}/describe`;
|
|
53
|
+
return yield this.POST(url, params, options);
|
|
44
54
|
});
|
|
45
55
|
}
|
|
46
56
|
// POST drop collection
|
|
47
57
|
dropCollection(data, options) {
|
|
48
58
|
return __awaiter(this, void 0, void 0, function* () {
|
|
49
|
-
const url =
|
|
59
|
+
const url = `${this.collectionPrefix}/drop`;
|
|
50
60
|
return yield this.POST(url, data, options);
|
|
51
61
|
});
|
|
52
62
|
}
|
|
53
63
|
// GET list collections
|
|
54
|
-
listCollections(params = {}, options) {
|
|
64
|
+
listCollections(params = { dbName: const_1.DEFAULT_DB }, options) {
|
|
65
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
66
|
+
const url = `${this.collectionPrefix}/list`;
|
|
67
|
+
return yield this.POST(url, params, options);
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
hasCollection(params, options) {
|
|
71
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
72
|
+
const url = `${this.collectionPrefix}/has`;
|
|
73
|
+
return yield this.POST(url, params, options);
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
renameCollection(params, options) {
|
|
77
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
78
|
+
const url = `${this.collectionPrefix}/rename`;
|
|
79
|
+
return yield this.POST(url, params, options);
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
getCollectionStatistics(params, options) {
|
|
83
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
84
|
+
const url = `${this.collectionPrefix}/get_stats`;
|
|
85
|
+
return yield this.POST(url, params, options);
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
loadCollection(params, options) {
|
|
89
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
90
|
+
const url = `${this.collectionPrefix}/load`;
|
|
91
|
+
return yield this.POST(url, params, options);
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
releaseCollection(params, options) {
|
|
95
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
96
|
+
const url = `${this.collectionPrefix}/release`;
|
|
97
|
+
return yield this.POST(url, params, options);
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
getCollectionLoadState(params, options) {
|
|
55
101
|
return __awaiter(this, void 0, void 0, function* () {
|
|
56
|
-
const url =
|
|
57
|
-
return yield this.
|
|
102
|
+
const url = `${this.collectionPrefix}/get_load_state`;
|
|
103
|
+
return yield this.POST(url, params, options);
|
|
58
104
|
});
|
|
59
105
|
}
|
|
60
106
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Collection.js","sourceRoot":"","sources":["../../../milvus/http/Collection.ts"],"names":[],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Collection.js","sourceRoot":"","sources":["../../../milvus/http/Collection.ts"],"names":[],"mappings":";;;;;;;;;;;;AAgBA,oCAKkB;AAElB;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,UAAU,CAAwC,IAAO;IACvE,OAAO,KAAM,SAAQ,IAAI;QACvB,IAAI,gBAAgB;YAClB,OAAO,uBAAuB,CAAC;QACjC,CAAC;QAED,yBAAyB;QACnB,gBAAgB,CACpB,IAA6B,EAC7B,OAAsB;;gBAEtB,MAAM,GAAG,GAAG,GAAG,IAAI,CAAC,gBAAgB,SAAS,CAAC;gBAE9C,iDAAiD;gBACjD,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,IAAI,2BAAmB,CAAC;gBACzD,IAAI,CAAC,gBAAgB;oBACnB,IAAI,CAAC,gBAAgB,IAAI,iCAAyB,CAAC;gBACrD,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,eAAe,IAAI,4BAAoB,CAAC;gBAEpE,OAAO,MAAM,IAAI,CAAC,IAAI,CAAmB,GAAG,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;YAC/D,CAAC;SAAA;QAED,0BAA0B;QACpB,kBAAkB,CACtB,MAAmB,EACnB,OAAsB;;gBAEtB,MAAM,GAAG,GAAG,GAAG,IAAI,CAAC,gBAAgB,WAAW,CAAC;gBAChD,OAAO,MAAM,IAAI,CAAC,IAAI,CACpB,GAAG,EACH,MAAM,EACN,OAAO,CACR,CAAC;YACJ,CAAC;SAAA;QAED,uBAAuB;QACjB,cAAc,CAClB,IAAiB,EACjB,OAAsB;;gBAEtB,MA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C,CAAC;YACjE,CAAC;SAAA;QAEK,iBAAiB,CAAC,MAAmB,EAAE,OAAsB;;gBACjE,MAAM,GAAG,GAAG,GAAG,IAAI,CAAC,gBAAgB,UAAU,CAAC;gBAC/C,OAAO,MAAM,IAAI,CAAC,IAAI,CAAmB,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;YACjE,CAAC;SAAA;QAEK,sBAAsB,CAC1B,MAAkC,EAClC,OAAsB;;gBAEtB,MAAM,GAAG,GAAG,GAAG,IAAI,CAAC,gBAAgB,iBAAiB,CAAC;gBACtD,OAAO,MAAM,IAAI,CAAC,IAAI,CACpB,GAAG,EACH,MAAM,EACN,OAAO,CACR,CAAC;YACJ,CAAC;SAAA;KACF,CAAC;AACJ,CAAC;AAnGD,gCAmGC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { HttpBaseClient } from '../HttpClient';
|
|
2
|
+
import { Constructor, FetchOptions, HttpBaseReq, HttpImportListResponse, HttpImportCreateReq, HttpImportCreateResponse, HttpImportProgressReq } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* @param {Constructor<HttpBaseClient>} Base - The base class to be extended.
|
|
6
|
+
* @returns {class} - The extended class with additional methods for collection management.
|
|
7
|
+
*
|
|
8
|
+
* @method listImportJobs - Lists all import jobs.
|
|
9
|
+
* @method createImportJobs - Creates new import jobs.
|
|
10
|
+
* @method getImportJobProgress - Retrieves the progress of an import job.
|
|
11
|
+
*/
|
|
12
|
+
export declare function Import<T extends Constructor<HttpBaseClient>>(Base: T): {
|
|
13
|
+
new (...args: any[]): {
|
|
14
|
+
readonly importPrefix: string;
|
|
15
|
+
listImportJobs(params: HttpBaseReq, options?: FetchOptions): Promise<HttpImportListResponse>;
|
|
16
|
+
createImportJobs(params: HttpImportCreateReq, options?: FetchOptions): Promise<HttpImportCreateResponse>;
|
|
17
|
+
getImportJobProgress(params: HttpImportProgressReq, options?: FetchOptions): Promise<HttpImportCreateResponse>;
|
|
18
|
+
config: import("../types").HttpClientConfig;
|
|
19
|
+
readonly baseURL: string;
|
|
20
|
+
readonly authorization: string;
|
|
21
|
+
readonly database: string;
|
|
22
|
+
readonly timeout: number;
|
|
23
|
+
readonly headers: {
|
|
24
|
+
Authorization: string;
|
|
25
|
+
Accept: string;
|
|
26
|
+
ContentType: string;
|
|
27
|
+
'Accept-Type-Allow-Int64': string;
|
|
28
|
+
};
|
|
29
|
+
readonly fetch: ((input: any, init?: any) => Promise<any>) | typeof fetch;
|
|
30
|
+
POST<T>(url: string, data?: Record<string, any>, options?: FetchOptions | undefined): Promise<T>;
|
|
31
|
+
GET<T_1>(url: string, params?: Record<string, any>, options?: FetchOptions | undefined): Promise<T_1>;
|
|
32
|
+
};
|
|
33
|
+
} & T;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Import = void 0;
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @param {Constructor<HttpBaseClient>} Base - The base class to be extended.
|
|
16
|
+
* @returns {class} - The extended class with additional methods for collection management.
|
|
17
|
+
*
|
|
18
|
+
* @method listImportJobs - Lists all import jobs.
|
|
19
|
+
* @method createImportJobs - Creates new import jobs.
|
|
20
|
+
* @method getImportJobProgress - Retrieves the progress of an import job.
|
|
21
|
+
*/
|
|
22
|
+
function Import(Base) {
|
|
23
|
+
return class extends Base {
|
|
24
|
+
get importPrefix() {
|
|
25
|
+
return '/vectordb/jobs/import';
|
|
26
|
+
}
|
|
27
|
+
listImportJobs(params, options) {
|
|
28
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
29
|
+
const url = `${this.importPrefix}/list`;
|
|
30
|
+
return yield this.POST(url, params, options);
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
createImportJobs(params, options) {
|
|
34
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
35
|
+
const url = `${this.importPrefix}/create`;
|
|
36
|
+
return yield this.POST(url, params, options);
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
getImportJobProgress(params, options) {
|
|
40
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
41
|
+
const url = `${this.importPrefix}/get_progress`;
|
|
42
|
+
return yield this.POST(url, params, options);
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
exports.Import = Import;
|
|
48
|
+
//# sourceMappingURL=Import.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Import.js","sourceRoot":"","sources":["../../../milvus/http/Import.ts"],"names":[],"mappings":";;;;;;;;;;;;AAWA;;;;;;;;GAQG;AACH,SAAgB,MAAM,CAAwC,IAAO;IACnE,OAAO,KAAM,SAAQ,IAAI;QACvB,IAAI,YAAY;YACd,OAAO,uBAAuB,CAAC;QACjC,CAAC;QAEK,cAAc,CAAC,MAAmB,EAAE,OAAsB;;gBAC9D,MAAM,GAAG,GAAG,GAAG,IAAI,CAAC,YAAY,OAAO,CAAC;gBACxC,OAAO,MAAM,IAAI,CAAC,IAAI,CAAyB,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;YACvE,CAAC;SAAA;QAEK,gBAAgB,CACpB,MAA2B,EAC3B,OAAsB;;gBAEtB,MAAM,GAAG,GAAG,GAAG,IAAI,CAAC,YAAY,SAAS,CAAC;gBAC1C,OAAO,MAAM,IAAI,CAAC,IAAI,CAA2B,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;YACzE,CAAC;SAAA;QAEK,oBAAoB,CACxB,MAA6B,EAC7B,OAAsB;;gBAEtB,MAAM,GAAG,GAAG,GAAG,IAAI,CAAC,YAAY,eAAe,CAAC;gBAChD,OAAO,MAAM,IAAI,CAAC,IAAI,CAA2B,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;YACzE,CAAC;SAAA;KACF,CAAC;AACJ,CAAC;AA3BD,wBA2BC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { HttpBaseClient } from '../HttpClient';
|
|
2
|
+
import { Constructor, FetchOptions, HttpBaseReq, HttpBaseResponse, HttpIndexCreateReq, HttpIndexBaseReq, HttpIndexDescribeResponse } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* @param {Constructor<HttpBaseClient>} Base - The base class to be extended.
|
|
6
|
+
* @returns {class} - The extended class with additional methods for collection management.
|
|
7
|
+
*
|
|
8
|
+
*@method createIndex - Creates an index.
|
|
9
|
+
*@method dropIndex - Deletes an index.
|
|
10
|
+
*@method describeIndex - Describes an index.
|
|
11
|
+
*@method listIndexes - Lists all indexes.
|
|
12
|
+
*/
|
|
13
|
+
export declare function MilvusIndex<T extends Constructor<HttpBaseClient>>(Base: T): {
|
|
14
|
+
new (...args: any[]): {
|
|
15
|
+
readonly indexPrefix: string;
|
|
16
|
+
createIndex(params: HttpIndexCreateReq, options?: FetchOptions): Promise<HttpBaseResponse<{}>>;
|
|
17
|
+
dropIndex(params: HttpIndexBaseReq, options?: FetchOptions): Promise<HttpBaseResponse<{}>>;
|
|
18
|
+
describeIndex(params: HttpIndexBaseReq, options?: FetchOptions): Promise<HttpIndexDescribeResponse>;
|
|
19
|
+
listIndexes(params: HttpBaseReq, options?: FetchOptions): Promise<HttpBaseResponse<string[]>>;
|
|
20
|
+
config: import("../types").HttpClientConfig;
|
|
21
|
+
readonly baseURL: string;
|
|
22
|
+
readonly authorization: string;
|
|
23
|
+
readonly database: string;
|
|
24
|
+
readonly timeout: number;
|
|
25
|
+
readonly headers: {
|
|
26
|
+
Authorization: string;
|
|
27
|
+
Accept: string;
|
|
28
|
+
ContentType: string;
|
|
29
|
+
'Accept-Type-Allow-Int64': string;
|
|
30
|
+
};
|
|
31
|
+
readonly fetch: ((input: any, init?: any) => Promise<any>) | typeof fetch;
|
|
32
|
+
POST<T>(url: string, data?: Record<string, any>, options?: FetchOptions | undefined): Promise<T>;
|
|
33
|
+
GET<T_1>(url: string, params?: Record<string, any>, options?: FetchOptions | undefined): Promise<T_1>;
|
|
34
|
+
};
|
|
35
|
+
} & T;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.MilvusIndex = void 0;
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @param {Constructor<HttpBaseClient>} Base - The base class to be extended.
|
|
16
|
+
* @returns {class} - The extended class with additional methods for collection management.
|
|
17
|
+
*
|
|
18
|
+
*@method createIndex - Creates an index.
|
|
19
|
+
*@method dropIndex - Deletes an index.
|
|
20
|
+
*@method describeIndex - Describes an index.
|
|
21
|
+
*@method listIndexes - Lists all indexes.
|
|
22
|
+
*/
|
|
23
|
+
function MilvusIndex(Base) {
|
|
24
|
+
return class extends Base {
|
|
25
|
+
get indexPrefix() {
|
|
26
|
+
return '/vectordb/indexes';
|
|
27
|
+
}
|
|
28
|
+
createIndex(params, options) {
|
|
29
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
30
|
+
const url = `${this.indexPrefix}/create`;
|
|
31
|
+
return this.POST(url, params, options);
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
dropIndex(params, options) {
|
|
35
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
+
const url = `${this.indexPrefix}/drop`;
|
|
37
|
+
return this.POST(url, params, options);
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
describeIndex(params, options) {
|
|
41
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
42
|
+
const url = `${this.indexPrefix}/describe`;
|
|
43
|
+
return this.POST(url, params, options);
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
listIndexes(params, options) {
|
|
47
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
48
|
+
const url = `${this.indexPrefix}/list`;
|
|
49
|
+
return this.POST(url, params, options);
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
exports.MilvusIndex = MilvusIndex;
|
|
55
|
+
//# sourceMappingURL=MilvusIndex.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MilvusIndex.js","sourceRoot":"","sources":["../../../milvus/http/MilvusIndex.ts"],"names":[],"mappings":";;;;;;;;;;;;AAWA;;;;;;;;;GASG;AACH,SAAgB,WAAW,CAAwC,IAAO;IACxE,OAAO,KAAM,SAAQ,IAAI;QACvB,IAAI,WAAW;YACb,OAAO,mBAAmB,CAAC;QAC7B,CAAC;QAEK,WAAW,CAAC,MAA0B,EAAE,OAAsB;;gBAClE,MAAM,GAAG,GAAG,GAAG,IAAI,CAAC,WAAW,SAAS,CAAC;gBACzC,OAAO,IAAI,CAAC,IAAI,CAAmB,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;YAC3D,CAAC;SAAA;QAEK,SAAS,CAAC,MAAwB,EAAE,OAAsB;;gBAC9D,MAAM,GAAG,GAAG,GAAG,IAAI,CAAC,WAAW,OAAO,CAAC;gBACvC,OAAO,IAAI,CAAC,IAAI,CAAmB,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;YAC3D,CAAC;SAAA;QAEK,aAAa,CAAC,MAAwB,EAAE,OAAsB;;gBAClE,MAAM,GAAG,GAAG,GAAG,IAAI,CAAC,WAAW,WAAW,CAAC;gBAC3C,OAAO,IAAI,CAAC,IAAI,CAA4B,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;YACpE,CAAC;SAAA;QAEK,WAAW,CAAC,MAAmB,EAAE,OAAsB;;gBAC3D,MAAM,GAAG,GAAG,GAAG,IAAI,CAAC,WAAW,OAAO,CAAC;gBACvC,OAAO,IAAI,CAAC,IAAI,CAA6B,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;YACrE,CAAC;SAAA;KACF,CAAC;AACJ,CAAC;AA1BD,kCA0BC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { HttpBaseClient } from '../HttpClient';
|
|
2
|
+
import { Constructor, FetchOptions, HttpBaseReq, HttpBaseResponse, HttpPartitionBaseReq, HttpPartitionListReq, HttpPartitionHasResponse, HttpPartitionStatisticsResponse } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* @param {Constructor<HttpBaseClient>} Base - The base class to be extended.
|
|
6
|
+
* @returns {class} - The extended class with additional methods for collection management.
|
|
7
|
+
*
|
|
8
|
+
* @method listPartitions - Lists all partitions in a collection.
|
|
9
|
+
* @method createPartition - Creates a new partition in a collection.
|
|
10
|
+
* @method dropPartition - Deletes a partition from a collection.
|
|
11
|
+
* @method loadPartitions - Loads partitions into memory.
|
|
12
|
+
* @method releasePartitions - Releases partitions from memory.
|
|
13
|
+
* @method hasPartition - Checks if a partition exists in a collection.
|
|
14
|
+
* @method getPartitionStatistics - Retrieves statistics about a partition.
|
|
15
|
+
*/
|
|
16
|
+
export declare function Partition<T extends Constructor<HttpBaseClient>>(Base: T): {
|
|
17
|
+
new (...args: any[]): {
|
|
18
|
+
readonly partitionPrefix: string;
|
|
19
|
+
listPartitions(params: HttpBaseReq, options?: FetchOptions): Promise<HttpBaseResponse<string[]>>;
|
|
20
|
+
createPartition(params: HttpPartitionBaseReq, options?: FetchOptions): Promise<HttpBaseResponse<{}>>;
|
|
21
|
+
dropPartition(params: HttpPartitionBaseReq, options?: FetchOptions): Promise<HttpBaseResponse<{}>>;
|
|
22
|
+
loadPartitions(params: HttpPartitionListReq, options?: FetchOptions): Promise<HttpBaseResponse<{}>>;
|
|
23
|
+
releasePartitions(params: HttpPartitionListReq, options?: FetchOptions): Promise<HttpBaseResponse<{}>>;
|
|
24
|
+
hasPartition(params: HttpPartitionBaseReq, options?: FetchOptions): Promise<HttpPartitionHasResponse>;
|
|
25
|
+
getPartitionStatistics(params: HttpPartitionBaseReq, options?: FetchOptions): Promise<HttpPartitionStatisticsResponse>;
|
|
26
|
+
config: import("../types").HttpClientConfig;
|
|
27
|
+
readonly baseURL: string;
|
|
28
|
+
readonly authorization: string;
|
|
29
|
+
readonly database: string;
|
|
30
|
+
readonly timeout: number;
|
|
31
|
+
readonly headers: {
|
|
32
|
+
Authorization: string;
|
|
33
|
+
Accept: string;
|
|
34
|
+
ContentType: string;
|
|
35
|
+
'Accept-Type-Allow-Int64': string;
|
|
36
|
+
};
|
|
37
|
+
readonly fetch: ((input: any, init?: any) => Promise<any>) | typeof fetch;
|
|
38
|
+
POST<T>(url: string, data?: Record<string, any>, options?: FetchOptions | undefined): Promise<T>;
|
|
39
|
+
GET<T_1>(url: string, params?: Record<string, any>, options?: FetchOptions | undefined): Promise<T_1>;
|
|
40
|
+
};
|
|
41
|
+
} & T;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Partition = void 0;
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @param {Constructor<HttpBaseClient>} Base - The base class to be extended.
|
|
16
|
+
* @returns {class} - The extended class with additional methods for collection management.
|
|
17
|
+
*
|
|
18
|
+
* @method listPartitions - Lists all partitions in a collection.
|
|
19
|
+
* @method createPartition - Creates a new partition in a collection.
|
|
20
|
+
* @method dropPartition - Deletes a partition from a collection.
|
|
21
|
+
* @method loadPartitions - Loads partitions into memory.
|
|
22
|
+
* @method releasePartitions - Releases partitions from memory.
|
|
23
|
+
* @method hasPartition - Checks if a partition exists in a collection.
|
|
24
|
+
* @method getPartitionStatistics - Retrieves statistics about a partition.
|
|
25
|
+
*/
|
|
26
|
+
function Partition(Base) {
|
|
27
|
+
return class extends Base {
|
|
28
|
+
get partitionPrefix() {
|
|
29
|
+
return '/vectordb/partitions';
|
|
30
|
+
}
|
|
31
|
+
listPartitions(params, options) {
|
|
32
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
33
|
+
const url = `${this.partitionPrefix}/list`;
|
|
34
|
+
return yield this.POST(url, params, options);
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
createPartition(params, options) {
|
|
38
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
39
|
+
const url = `${this.partitionPrefix}/create`;
|
|
40
|
+
return yield this.POST(url, params, options);
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
dropPartition(params, options) {
|
|
44
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
45
|
+
const url = `${this.partitionPrefix}/drop`;
|
|
46
|
+
return yield this.POST(url, params, options);
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
loadPartitions(params, options) {
|
|
50
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
51
|
+
const url = `${this.partitionPrefix}/load`;
|
|
52
|
+
return yield this.POST(url, params, options);
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
releasePartitions(params, options) {
|
|
56
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
57
|
+
const url = `${this.partitionPrefix}/release`;
|
|
58
|
+
return yield this.POST(url, params, options);
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
hasPartition(params, options) {
|
|
62
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
63
|
+
const url = `${this.partitionPrefix}/has`;
|
|
64
|
+
return yield this.POST(url, params, options);
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
getPartitionStatistics(params, options) {
|
|
68
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
69
|
+
const url = `${this.partitionPrefix}/get_stats`;
|
|
70
|
+
return yield this.POST(url, params, options);
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
exports.Partition = Partition;
|
|
76
|
+
//# sourceMappingURL=Partition.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Partition.js","sourceRoot":"","sources":["../../../milvus/http/Partition.ts"],"names":[],"mappings":";;;;;;;;;;;;AAYA;;;;;;;;;;;;GAYG;AACH,S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