@deephaven-enterprise/jsapi-coreplus-types 2026.1.54 → 2026.1.55
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/index.d.ts +72 -72
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,18 @@ declare module '@deephaven/jsapi-types' {
|
|
|
3
3
|
// Generated using com.vertispan.tsdefs.doclet.TsDoclet
|
|
4
4
|
export namespace dh.coreplus.pivot {
|
|
5
5
|
|
|
6
|
+
/**
|
|
7
|
+
* Describes the desired subscription for a pivot table.
|
|
8
|
+
*/
|
|
9
|
+
export class PivotSubscriptionOptions {
|
|
10
|
+
rows:dh.RangeSet|dh.SimpleRange;
|
|
11
|
+
columns:dh.RangeSet|dh.SimpleRange;
|
|
12
|
+
sources:Array<PivotSource>;
|
|
13
|
+
updateIntervalMs?:number|null;
|
|
14
|
+
|
|
15
|
+
constructor();
|
|
16
|
+
}
|
|
17
|
+
|
|
6
18
|
/**
|
|
7
19
|
* Represents a PivotTable on the Deephaven server, with support for sorting, filtering, and viewports with
|
|
8
20
|
* expand/collapse on rows and columns.
|
|
@@ -220,13 +232,21 @@ export namespace dh.coreplus.pivot {
|
|
|
220
232
|
}
|
|
221
233
|
|
|
222
234
|
/**
|
|
223
|
-
* Describes the desired
|
|
235
|
+
* Describes the desired snapshot for a pivot table.
|
|
224
236
|
*/
|
|
225
|
-
export class
|
|
237
|
+
export class PivotSnapshotOptions {
|
|
238
|
+
/**
|
|
239
|
+
* The rows to include in the snapshot.
|
|
240
|
+
*/
|
|
226
241
|
rows:dh.RangeSet|dh.SimpleRange;
|
|
242
|
+
/**
|
|
243
|
+
* The columns to include in the snapshot
|
|
244
|
+
*/
|
|
227
245
|
columns:dh.RangeSet|dh.SimpleRange;
|
|
246
|
+
/**
|
|
247
|
+
* The aggregated sources to include in the snapshot
|
|
248
|
+
*/
|
|
228
249
|
sources:Array<PivotSource>;
|
|
229
|
-
updateIntervalMs?:number|null;
|
|
230
250
|
|
|
231
251
|
constructor();
|
|
232
252
|
}
|
|
@@ -258,23 +278,56 @@ export namespace dh.coreplus.pivot {
|
|
|
258
278
|
}
|
|
259
279
|
|
|
260
280
|
/**
|
|
261
|
-
*
|
|
281
|
+
* This type is an analog of {@link dh.Sort}, with a few differences:
|
|
282
|
+
* <ul>
|
|
283
|
+
* <li>The {@link column} property always returns null, and instead there is a {@link name} property</li>
|
|
284
|
+
* <li>Reverse is not supported</li>
|
|
285
|
+
* </ul>
|
|
286
|
+
*
|
|
287
|
+
* A PivotSort doesn't sort the columns of the pivot directly, but sorts the keys uses for columns or rows.
|
|
262
288
|
*/
|
|
263
|
-
export class
|
|
289
|
+
export class PivotSort {
|
|
290
|
+
static readonly ASCENDING:string;
|
|
291
|
+
static readonly DESCENDING:string;
|
|
292
|
+
|
|
293
|
+
protected constructor();
|
|
294
|
+
|
|
264
295
|
/**
|
|
265
|
-
*
|
|
296
|
+
* Builds a Sort instance to sort values in ascending order.
|
|
297
|
+
* @return {@link dh.coreplus.pivot.PivotSort}
|
|
266
298
|
*/
|
|
267
|
-
|
|
299
|
+
asc():PivotSort;
|
|
268
300
|
/**
|
|
269
|
-
*
|
|
301
|
+
* Builds a Sort instance to sort values in descending order.
|
|
302
|
+
* @return {@link dh.coreplus.pivot.PivotSort}
|
|
270
303
|
*/
|
|
271
|
-
|
|
304
|
+
desc():PivotSort;
|
|
272
305
|
/**
|
|
273
|
-
*
|
|
306
|
+
* Builds a Sort instance which takes the absolute value before applying order.
|
|
307
|
+
* @return {@link dh.coreplus.pivot.PivotSort}
|
|
274
308
|
*/
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
309
|
+
abs():PivotSort;
|
|
310
|
+
toString():string;
|
|
311
|
+
/**
|
|
312
|
+
* True if the absolute value of the column should be used when sorting; defaults to false.
|
|
313
|
+
* @return boolean
|
|
314
|
+
*/
|
|
315
|
+
get isAbs():boolean;
|
|
316
|
+
/**
|
|
317
|
+
* The column which is sorted.
|
|
318
|
+
* @return {@link dh.Column}
|
|
319
|
+
*/
|
|
320
|
+
get column():dh.Column;
|
|
321
|
+
/**
|
|
322
|
+
* The name of the column which is sorted.
|
|
323
|
+
* @return String
|
|
324
|
+
*/
|
|
325
|
+
get name():string;
|
|
326
|
+
/**
|
|
327
|
+
* The direction of this sort, either <b>ASC</b> or <b>DESC</b>.
|
|
328
|
+
* @return String
|
|
329
|
+
*/
|
|
330
|
+
get direction():string;
|
|
278
331
|
}
|
|
279
332
|
|
|
280
333
|
/**
|
|
@@ -319,20 +372,6 @@ export namespace dh.coreplus.pivot {
|
|
|
319
372
|
get valueSources():Array<PivotSource>;
|
|
320
373
|
}
|
|
321
374
|
|
|
322
|
-
/**
|
|
323
|
-
* Options for creating a pivot table.
|
|
324
|
-
*/
|
|
325
|
-
export class PivotCreationOptions {
|
|
326
|
-
source:dh.JoinableTable;
|
|
327
|
-
rowKeys:string[];
|
|
328
|
-
columnKeys:string[];
|
|
329
|
-
aggregations:{ [key: string]: Array<string>; };
|
|
330
|
-
|
|
331
|
-
protected constructor();
|
|
332
|
-
|
|
333
|
-
toString():string;
|
|
334
|
-
}
|
|
335
|
-
|
|
336
375
|
/**
|
|
337
376
|
* For either the row or column dimension, this class provides access to dimension-specific metadata and data made
|
|
338
377
|
* available by the viewport subscription.
|
|
@@ -395,56 +434,17 @@ export namespace dh.coreplus.pivot {
|
|
|
395
434
|
}
|
|
396
435
|
|
|
397
436
|
/**
|
|
398
|
-
*
|
|
399
|
-
* <ul>
|
|
400
|
-
* <li>The {@link column} property always returns null, and instead there is a {@link name} property</li>
|
|
401
|
-
* <li>Reverse is not supported</li>
|
|
402
|
-
* </ul>
|
|
403
|
-
*
|
|
404
|
-
* A PivotSort doesn't sort the columns of the pivot directly, but sorts the keys uses for columns or rows.
|
|
437
|
+
* Options for creating a pivot table.
|
|
405
438
|
*/
|
|
406
|
-
export class
|
|
407
|
-
|
|
408
|
-
|
|
439
|
+
export class PivotCreationOptions {
|
|
440
|
+
source:dh.JoinableTable;
|
|
441
|
+
rowKeys:string[];
|
|
442
|
+
columnKeys:string[];
|
|
443
|
+
aggregations:{ [key: string]: Array<string>; };
|
|
409
444
|
|
|
410
445
|
protected constructor();
|
|
411
446
|
|
|
412
|
-
/**
|
|
413
|
-
* Builds a Sort instance to sort values in ascending order.
|
|
414
|
-
* @return {@link dh.coreplus.pivot.PivotSort}
|
|
415
|
-
*/
|
|
416
|
-
asc():PivotSort;
|
|
417
|
-
/**
|
|
418
|
-
* Builds a Sort instance to sort values in descending order.
|
|
419
|
-
* @return {@link dh.coreplus.pivot.PivotSort}
|
|
420
|
-
*/
|
|
421
|
-
desc():PivotSort;
|
|
422
|
-
/**
|
|
423
|
-
* Builds a Sort instance which takes the absolute value before applying order.
|
|
424
|
-
* @return {@link dh.coreplus.pivot.PivotSort}
|
|
425
|
-
*/
|
|
426
|
-
abs():PivotSort;
|
|
427
447
|
toString():string;
|
|
428
|
-
/**
|
|
429
|
-
* True if the absolute value of the column should be used when sorting; defaults to false.
|
|
430
|
-
* @return boolean
|
|
431
|
-
*/
|
|
432
|
-
get isAbs():boolean;
|
|
433
|
-
/**
|
|
434
|
-
* The column which is sorted.
|
|
435
|
-
* @return {@link dh.Column}
|
|
436
|
-
*/
|
|
437
|
-
get column():dh.Column;
|
|
438
|
-
/**
|
|
439
|
-
* The name of the column which is sorted.
|
|
440
|
-
* @return String
|
|
441
|
-
*/
|
|
442
|
-
get name():string;
|
|
443
|
-
/**
|
|
444
|
-
* The direction of this sort, either <b>ASC</b> or <b>DESC</b>.
|
|
445
|
-
* @return String
|
|
446
|
-
*/
|
|
447
|
-
get direction():string;
|
|
448
448
|
}
|
|
449
449
|
|
|
450
450
|
/**
|
package/package.json
CHANGED