@valkey/valkey-glide 1.3.4 → 1.3.5-rc10
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/LICENSE +201 -0
- package/README.md +53 -18
- package/build-ts/{src/BaseClient.d.ts → BaseClient.d.ts} +62 -118
- package/build-ts/BaseClient.js +6049 -0
- package/build-ts/{src/Transaction.d.ts → Batch.d.ts} +124 -67
- package/build-ts/Batch.js +3457 -0
- package/build-ts/{src/Commands.d.ts → Commands.d.ts} +171 -791
- package/build-ts/Commands.js +2708 -0
- package/build-ts/Errors.js +42 -0
- package/build-ts/{src/GlideClient.d.ts → GlideClient.d.ts} +55 -19
- package/build-ts/GlideClient.js +899 -0
- package/build-ts/{src/GlideClusterClient.d.ts → GlideClusterClient.d.ts} +78 -42
- package/build-ts/GlideClusterClient.js +1251 -0
- package/build-ts/Logger.d.ts +47 -0
- package/build-ts/Logger.js +78 -0
- package/build-ts/{src/ProtobufMessage.d.ts → ProtobufMessage.d.ts} +135 -634
- package/build-ts/ProtobufMessage.js +5159 -0
- package/build-ts/index.d.ts +16 -11
- package/build-ts/index.js +53 -216
- package/build-ts/native.d.ts +92 -0
- package/build-ts/native.js +365 -0
- package/build-ts/server-modules/GlideFt.js +628 -0
- package/build-ts/{src/server-modules → server-modules}/GlideFtOptions.d.ts +1 -1
- package/build-ts/server-modules/GlideFtOptions.js +5 -0
- package/build-ts/{src/server-modules → server-modules}/GlideJson.d.ts +65 -65
- package/build-ts/server-modules/GlideJson.js +1572 -0
- package/package.json +140 -64
- package/build-ts/src/Logger.d.ts +0 -32
- /package/build-ts/{src/Errors.d.ts → Errors.d.ts} +0 -0
- /package/build-ts/{src/server-modules → server-modules}/GlideFt.d.ts +0 -0
package/build-ts/index.d.ts
CHANGED
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Copyright Valkey GLIDE Project Contributors - SPDX Identifier: Apache-2.0
|
|
3
|
+
*
|
|
4
|
+
* This entry point re-exports:
|
|
5
|
+
* - Native bindings auto-generated by napi-rs (moved to ./native.js)
|
|
6
|
+
* - All TypeScript client-side APIs from ./src/
|
|
3
7
|
*/
|
|
4
|
-
|
|
5
|
-
export
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./
|
|
8
|
-
export * from "./
|
|
9
|
-
export * from "./
|
|
10
|
-
export * from "./
|
|
11
|
-
export * from "./
|
|
12
|
-
export * from "./
|
|
13
|
-
export * from "./
|
|
14
|
-
export * from "./
|
|
8
|
+
import * as Native from "../build-ts/native";
|
|
9
|
+
export declare const Level: typeof Native.Level, MAX_REQUEST_ARGS_LEN: number, DEFAULT_REQUEST_TIMEOUT_IN_MILLISECONDS: number, DEFAULT_CONNECTION_TIMEOUT_IN_MILLISECONDS: number, DEFAULT_INFLIGHT_REQUESTS_LIMIT: number, AsyncClient: typeof Native.AsyncClient, StartSocketConnection: typeof Native.StartSocketConnection, log: typeof Native.log, InitInternalLogger: typeof Native.InitInternalLogger, valueFromSplitPointer: typeof Native.valueFromSplitPointer, createLeakedStringVec: typeof Native.createLeakedStringVec, Script: typeof Native.Script, ClusterScanCursor: typeof Native.ClusterScanCursor, getStatistics: typeof Native.getStatistics;
|
|
10
|
+
export * from "./BaseClient.js";
|
|
11
|
+
export * from "./Batch.js";
|
|
12
|
+
export * from "./Commands.js";
|
|
13
|
+
export * from "./Errors.js";
|
|
14
|
+
export * from "./GlideClient.js";
|
|
15
|
+
export * from "./GlideClusterClient.js";
|
|
16
|
+
export * from "./Logger.js";
|
|
17
|
+
export * from "./server-modules/GlideFt.js";
|
|
18
|
+
export * from "./server-modules/GlideFtOptions.js";
|
|
19
|
+
export * from "./server-modules/GlideJson.js";
|
package/build-ts/index.js
CHANGED
|
@@ -1,222 +1,59 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
1
|
"use strict";
|
|
3
2
|
/**
|
|
4
3
|
* Copyright Valkey GLIDE Project Contributors - SPDX Identifier: Apache-2.0
|
|
4
|
+
*
|
|
5
|
+
* This entry point re-exports:
|
|
6
|
+
* - Native bindings auto-generated by napi-rs (moved to ./native.js)
|
|
7
|
+
* - All TypeScript client-side APIs from ./src/
|
|
5
8
|
*/
|
|
6
|
-
Object.
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
function loadNativeBinding() {
|
|
12
|
-
let nativeBinding = null;
|
|
13
|
-
switch (process_1.platform) {
|
|
14
|
-
case "linux":
|
|
15
|
-
switch (process_1.arch) {
|
|
16
|
-
case "x64":
|
|
17
|
-
switch ((0, detect_libc_1.familySync)()) {
|
|
18
|
-
case detect_libc_1.GLIBC:
|
|
19
|
-
nativeBinding = require("@valkey/valkey-glide-linux-x64");
|
|
20
|
-
break;
|
|
21
|
-
case detect_libc_1.MUSL:
|
|
22
|
-
nativeBinding = require("@valkey/valkey-glide-linux-musl-x64");
|
|
23
|
-
break;
|
|
24
|
-
default:
|
|
25
|
-
nativeBinding = require("@valkey/valkey-glide-linux-x64");
|
|
26
|
-
break;
|
|
27
|
-
}
|
|
28
|
-
break;
|
|
29
|
-
case "arm64":
|
|
30
|
-
switch ((0, detect_libc_1.familySync)()) {
|
|
31
|
-
case detect_libc_1.GLIBC:
|
|
32
|
-
nativeBinding = require("@valkey/valkey-glide-linux-arm64");
|
|
33
|
-
break;
|
|
34
|
-
case detect_libc_1.MUSL:
|
|
35
|
-
nativeBinding = require("@valkey/valkey-glide-linux-musl-arm64");
|
|
36
|
-
break;
|
|
37
|
-
default:
|
|
38
|
-
nativeBinding = require("@valkey/valkey-glide-linux-arm64");
|
|
39
|
-
break;
|
|
40
|
-
}
|
|
41
|
-
break;
|
|
42
|
-
default:
|
|
43
|
-
throw new Error(`Unsupported OS: ${process_1.platform}, architecture: ${process_1.arch}`);
|
|
44
|
-
}
|
|
45
|
-
break;
|
|
46
|
-
case "darwin":
|
|
47
|
-
switch (process_1.arch) {
|
|
48
|
-
case "arm64":
|
|
49
|
-
nativeBinding = require("@valkey/valkey-glide-darwin-arm64");
|
|
50
|
-
break;
|
|
51
|
-
case "x64":
|
|
52
|
-
nativeBinding = require("@valkey/valkey-glide-darwin-x64");
|
|
53
|
-
break;
|
|
54
|
-
default:
|
|
55
|
-
throw new Error(`Unsupported OS: ${process_1.platform}, architecture: ${process_1.arch}`);
|
|
56
|
-
}
|
|
57
|
-
break;
|
|
58
|
-
default:
|
|
59
|
-
throw new Error(`Unsupported OS: ${process_1.platform}, architecture: ${process_1.arch}`);
|
|
60
|
-
}
|
|
61
|
-
if (!nativeBinding) {
|
|
62
|
-
throw new Error(`Failed to load native binding`);
|
|
9
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
12
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
13
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
63
14
|
}
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
BitOffset,
|
|
83
|
-
BitOffsetMultiplier,
|
|
84
|
-
BitOffsetOptions,
|
|
85
|
-
BitOverflowControl,
|
|
86
|
-
BitmapIndexType,
|
|
87
|
-
BitwiseOperation,
|
|
88
|
-
ConditionalChange,
|
|
89
|
-
Decoder,
|
|
90
|
-
DecoderOption,
|
|
91
|
-
GeoAddOptions,
|
|
92
|
-
GlideFt,
|
|
93
|
-
Field,
|
|
94
|
-
TextField,
|
|
95
|
-
TagField,
|
|
96
|
-
NumericField,
|
|
97
|
-
VectorField,
|
|
98
|
-
VectorFieldAttributesFlat,
|
|
99
|
-
VectorFieldAttributesHnsw,
|
|
100
|
-
FtCreateOptions,
|
|
101
|
-
FtSearchOptions,
|
|
102
|
-
FtInfoReturnType,
|
|
103
|
-
FtAggregateOptions,
|
|
104
|
-
FtAggregateLimit,
|
|
105
|
-
FtAggregateFilter,
|
|
106
|
-
FtAggregateGroupBy,
|
|
107
|
-
FtAggregateReducer,
|
|
108
|
-
FtAggregateSortBy,
|
|
109
|
-
FtAggregateSortProperty,
|
|
110
|
-
FtAggregateApply,
|
|
111
|
-
FtAggregateReturnType,
|
|
112
|
-
FtSearchReturnType,
|
|
113
|
-
GlideRecord,
|
|
114
|
-
GlideJson,
|
|
115
|
-
JsonBatch,
|
|
116
|
-
GlideString,
|
|
117
|
-
JsonGetOptions,
|
|
118
|
-
JsonArrPopOptions,
|
|
119
|
-
SortedSetDataType,
|
|
120
|
-
StreamEntryDataType,
|
|
121
|
-
HashDataType,
|
|
122
|
-
CoordOrigin,
|
|
123
|
-
MemberOrigin,
|
|
124
|
-
SearchOrigin,
|
|
125
|
-
GeoBoxShape,
|
|
126
|
-
GeoCircleShape,
|
|
127
|
-
GeoSearchShape,
|
|
128
|
-
GeoSearchResultOptions,
|
|
129
|
-
GeoSearchStoreResultOptions,
|
|
130
|
-
SortOrder,
|
|
131
|
-
GeoUnit,
|
|
132
|
-
GeospatialData,
|
|
133
|
-
GlideClient,
|
|
134
|
-
GlideClusterClient,
|
|
135
|
-
GlideClientConfiguration,
|
|
136
|
-
AdvancedGlideClientConfiguration,
|
|
137
|
-
AdvancedGlideClusterClientConfiguration,
|
|
138
|
-
FunctionListOptions,
|
|
139
|
-
FunctionListResponse,
|
|
140
|
-
FunctionStatsSingleResponse,
|
|
141
|
-
FunctionStatsFullResponse,
|
|
142
|
-
FunctionRestorePolicy,
|
|
143
|
-
SlotIdTypes,
|
|
144
|
-
SlotKeyTypes,
|
|
145
|
-
StreamEntries,
|
|
146
|
-
TimeUnit,
|
|
147
|
-
ReturnTypeXinfoStream,
|
|
148
|
-
RouteByAddress,
|
|
149
|
-
RouteOption,
|
|
150
|
-
Routes,
|
|
151
|
-
RestoreOptions,
|
|
152
|
-
SingleNodeRoute,
|
|
153
|
-
PeriodicChecksManualInterval,
|
|
154
|
-
PeriodicChecks,
|
|
155
|
-
Logger,
|
|
156
|
-
LolwutOptions,
|
|
157
|
-
Limit,
|
|
158
|
-
LPosOptions,
|
|
159
|
-
ListDirection,
|
|
160
|
-
ExpireOptions,
|
|
161
|
-
FlushMode,
|
|
162
|
-
InfoOptions,
|
|
163
|
-
InsertPosition,
|
|
164
|
-
SetOptions,
|
|
165
|
-
ZAddOptions,
|
|
166
|
-
InfBoundary,
|
|
167
|
-
KeyWeight,
|
|
168
|
-
Boundary,
|
|
169
|
-
ProtocolVersion,
|
|
170
|
-
RangeByIndex,
|
|
171
|
-
RangeByScore,
|
|
172
|
-
RangeByLex,
|
|
173
|
-
ReadFrom,
|
|
174
|
-
ServerCredentials,
|
|
175
|
-
SortOptions,
|
|
176
|
-
StreamGroupOptions,
|
|
177
|
-
StreamTrimOptions,
|
|
178
|
-
StreamAddOptions,
|
|
179
|
-
StreamClaimOptions,
|
|
180
|
-
StreamReadGroupOptions,
|
|
181
|
-
StreamReadOptions,
|
|
182
|
-
StreamPendingOptions,
|
|
183
|
-
ClosingError,
|
|
184
|
-
ConfigurationError,
|
|
185
|
-
ExecAbortError,
|
|
186
|
-
ValkeyError,
|
|
187
|
-
GlideReturnType,
|
|
188
|
-
RequestError,
|
|
189
|
-
TimeoutError,
|
|
190
|
-
ConnectionError,
|
|
191
|
-
ClusterTransaction,
|
|
192
|
-
Transaction,
|
|
193
|
-
PubSubMsg,
|
|
194
|
-
ScoreFilter,
|
|
195
|
-
SignedEncoding,
|
|
196
|
-
UnsignedEncoding,
|
|
197
|
-
UpdateByScore,
|
|
198
|
-
createLeakedArray,
|
|
199
|
-
createLeakedAttribute,
|
|
200
|
-
createLeakedBigint,
|
|
201
|
-
createLeakedDouble,
|
|
202
|
-
createLeakedMap,
|
|
203
|
-
createLeakedString,
|
|
204
|
-
Script,
|
|
205
|
-
ObjectType,
|
|
206
|
-
ClusterScanCursor,
|
|
207
|
-
BaseClientConfiguration,
|
|
208
|
-
GlideClusterClientConfiguration,
|
|
209
|
-
LevelOptions,
|
|
210
|
-
ReturnTypeRecord,
|
|
211
|
-
ReturnTypeMap,
|
|
212
|
-
ClusterResponse,
|
|
213
|
-
ReturnTypeAttribute,
|
|
214
|
-
ReturnTypeJson,
|
|
215
|
-
UniversalReturnTypeJson,
|
|
216
|
-
Score,
|
|
217
|
-
ElementAndScore,
|
|
15
|
+
Object.defineProperty(o, k2, desc);
|
|
16
|
+
}) : (function(o, m, k, k2) {
|
|
17
|
+
if (k2 === undefined) k2 = k;
|
|
18
|
+
o[k2] = m[k];
|
|
19
|
+
}));
|
|
20
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
21
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
22
|
+
}) : function(o, v) {
|
|
23
|
+
o["default"] = v;
|
|
24
|
+
});
|
|
25
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
26
|
+
var ownKeys = function(o) {
|
|
27
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
28
|
+
var ar = [];
|
|
29
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
30
|
+
return ar;
|
|
31
|
+
};
|
|
32
|
+
return ownKeys(o);
|
|
218
33
|
};
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
34
|
+
return function (mod) {
|
|
35
|
+
if (mod && mod.__esModule) return mod;
|
|
36
|
+
var result = {};
|
|
37
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
38
|
+
__setModuleDefault(result, mod);
|
|
39
|
+
return result;
|
|
40
|
+
};
|
|
41
|
+
})();
|
|
42
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
43
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
44
|
+
};
|
|
45
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
+
exports.getStatistics = exports.ClusterScanCursor = exports.Script = exports.createLeakedStringVec = exports.valueFromSplitPointer = exports.InitInternalLogger = exports.log = exports.StartSocketConnection = exports.AsyncClient = exports.DEFAULT_INFLIGHT_REQUESTS_LIMIT = exports.DEFAULT_CONNECTION_TIMEOUT_IN_MILLISECONDS = exports.DEFAULT_REQUEST_TIMEOUT_IN_MILLISECONDS = exports.MAX_REQUEST_ARGS_LEN = exports.Level = void 0;
|
|
47
|
+
const Native = __importStar(require("../build-ts/native"));
|
|
48
|
+
exports.Level = Native.Level, exports.MAX_REQUEST_ARGS_LEN = Native.MAX_REQUEST_ARGS_LEN, exports.DEFAULT_REQUEST_TIMEOUT_IN_MILLISECONDS = Native.DEFAULT_REQUEST_TIMEOUT_IN_MILLISECONDS, exports.DEFAULT_CONNECTION_TIMEOUT_IN_MILLISECONDS = Native.DEFAULT_CONNECTION_TIMEOUT_IN_MILLISECONDS, exports.DEFAULT_INFLIGHT_REQUESTS_LIMIT = Native.DEFAULT_INFLIGHT_REQUESTS_LIMIT, exports.AsyncClient = Native.AsyncClient, exports.StartSocketConnection = Native.StartSocketConnection, exports.log = Native.log, exports.InitInternalLogger = Native.InitInternalLogger, exports.valueFromSplitPointer = Native.valueFromSplitPointer, exports.createLeakedStringVec = Native.createLeakedStringVec, exports.Script = Native.Script, exports.ClusterScanCursor = Native.ClusterScanCursor, exports.getStatistics = Native.getStatistics;
|
|
49
|
+
// Export TypeScript APIs
|
|
50
|
+
__exportStar(require("./BaseClient.js"), exports);
|
|
51
|
+
__exportStar(require("./Batch.js"), exports);
|
|
52
|
+
__exportStar(require("./Commands.js"), exports);
|
|
53
|
+
__exportStar(require("./Errors.js"), exports);
|
|
54
|
+
__exportStar(require("./GlideClient.js"), exports);
|
|
55
|
+
__exportStar(require("./GlideClusterClient.js"), exports);
|
|
56
|
+
__exportStar(require("./Logger.js"), exports);
|
|
57
|
+
__exportStar(require("./server-modules/GlideFt.js"), exports);
|
|
58
|
+
__exportStar(require("./server-modules/GlideFtOptions.js"), exports);
|
|
59
|
+
__exportStar(require("./server-modules/GlideJson.js"), exports);
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
|
|
4
|
+
/* auto-generated by NAPI-RS */
|
|
5
|
+
|
|
6
|
+
export const enum Level {
|
|
7
|
+
Debug = 3,
|
|
8
|
+
Error = 0,
|
|
9
|
+
Info = 2,
|
|
10
|
+
Trace = 4,
|
|
11
|
+
Warn = 1,
|
|
12
|
+
Off = 5,
|
|
13
|
+
}
|
|
14
|
+
export const MAX_REQUEST_ARGS_LEN: number;
|
|
15
|
+
export const DEFAULT_REQUEST_TIMEOUT_IN_MILLISECONDS: number;
|
|
16
|
+
export const DEFAULT_CONNECTION_TIMEOUT_IN_MILLISECONDS: number;
|
|
17
|
+
export const DEFAULT_INFLIGHT_REQUESTS_LIMIT: number;
|
|
18
|
+
export declare function StartSocketConnection(): Promise<string>;
|
|
19
|
+
export declare function log(
|
|
20
|
+
logLevel: Level,
|
|
21
|
+
logIdentifier: string,
|
|
22
|
+
message: string,
|
|
23
|
+
): void;
|
|
24
|
+
export declare function InitInternalLogger(
|
|
25
|
+
level?: Level | undefined | null,
|
|
26
|
+
fileName?: string | undefined | null,
|
|
27
|
+
): Level;
|
|
28
|
+
export declare function valueFromSplitPointer(
|
|
29
|
+
highBits: number,
|
|
30
|
+
lowBits: number,
|
|
31
|
+
stringDecoder: boolean,
|
|
32
|
+
):
|
|
33
|
+
| null
|
|
34
|
+
| string
|
|
35
|
+
| Uint8Array
|
|
36
|
+
| number
|
|
37
|
+
| {}
|
|
38
|
+
| Boolean
|
|
39
|
+
| BigInt
|
|
40
|
+
| Set<any>
|
|
41
|
+
| any[]
|
|
42
|
+
| Buffer;
|
|
43
|
+
/**
|
|
44
|
+
* @internal @test
|
|
45
|
+
* This function is for tests that require a value allocated on the heap.
|
|
46
|
+
* Should NOT be used in production.
|
|
47
|
+
*/
|
|
48
|
+
export declare function createLeakedStringVec(
|
|
49
|
+
message: Array<Uint8Array>,
|
|
50
|
+
): [number, number];
|
|
51
|
+
export declare function getStatistics(): object;
|
|
52
|
+
export declare class AsyncClient {
|
|
53
|
+
static CreateConnection(connectionAddress: string): AsyncClient;
|
|
54
|
+
get(key: string): Promise<string | Buffer | null>;
|
|
55
|
+
set(key: string, value: string): Promise<string | Buffer | "OK" | null>;
|
|
56
|
+
}
|
|
57
|
+
/** A wrapper for a script object. As long as this object is alive, the script's code is saved in memory, and can be resent to the server. */
|
|
58
|
+
export declare class Script {
|
|
59
|
+
/** Construct with the script's code. */
|
|
60
|
+
constructor(code: string | Uint8Array);
|
|
61
|
+
/** Returns the hash of the script. */
|
|
62
|
+
getHash(): string;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* This struct is used to keep track of the cursor of a cluster scan.
|
|
66
|
+
* We want to avoid passing the cursor between layers of the application,
|
|
67
|
+
* So we keep the state in the container and only pass the id of the cursor.
|
|
68
|
+
* The cursor is stored in the container and can be retrieved using the id.
|
|
69
|
+
* The cursor is removed from the container when the object is deleted (dropped).
|
|
70
|
+
* To create a cursor:
|
|
71
|
+
* ```typescript
|
|
72
|
+
* // For a new cursor
|
|
73
|
+
* let cursor = new ClusterScanCursor();
|
|
74
|
+
* // Using an existing id
|
|
75
|
+
* let cursor = new ClusterScanCursor("cursor_id");
|
|
76
|
+
* ```
|
|
77
|
+
* To get the cursor id:
|
|
78
|
+
* ```typescript
|
|
79
|
+
* let cursorId = cursor.getCursor();
|
|
80
|
+
* ```
|
|
81
|
+
* To check if the scan is finished:
|
|
82
|
+
* ```typescript
|
|
83
|
+
* let isFinished = cursor.isFinished(); // true if the scan is finished
|
|
84
|
+
* ```
|
|
85
|
+
*/
|
|
86
|
+
export declare class ClusterScanCursor {
|
|
87
|
+
constructor(newCursor?: string | undefined | null);
|
|
88
|
+
/** Returns the cursor id. */
|
|
89
|
+
getCursor(): string;
|
|
90
|
+
/** Returns true if the scan is finished. */
|
|
91
|
+
isFinished(): boolean;
|
|
92
|
+
}
|