@loaders.gl/schema 4.0.0-alpha.9 → 4.0.0-beta.1
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/dist.min.js +558 -943
- package/dist/es5/index.js +7 -0
- package/dist/es5/index.js.map +1 -1
- package/dist/es5/lib/table/arrow-api/arrow-like-table.js +4 -3
- package/dist/es5/lib/table/arrow-api/arrow-like-table.js.map +1 -1
- package/dist/es5/lib/table/batches/row-table-batch-aggregator.js.map +1 -1
- package/dist/es5/lib/table/simple-table/convert-table.js +24 -0
- package/dist/es5/lib/table/simple-table/convert-table.js.map +1 -1
- package/dist/es5/lib/table/simple-table/table-accessors.js +69 -42
- package/dist/es5/lib/table/simple-table/table-accessors.js.map +1 -1
- package/dist/es5/types/batch.js +2 -0
- package/dist/es5/types/batch.js.map +1 -0
- package/dist/es5/types/binary-geometries.js +2 -0
- package/dist/es5/types/binary-geometries.js.map +1 -0
- package/dist/es5/types/category-gis.js.map +1 -1
- package/dist/es5/types/category-image.js.map +1 -1
- package/dist/es5/types/category-table.js.map +1 -1
- package/dist/es5/types/flat-geometries.js +2 -0
- package/dist/es5/types/flat-geometries.js.map +1 -0
- package/dist/es5/types/schema.js.map +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/lib/table/arrow-api/arrow-like-table.js +4 -3
- package/dist/esm/lib/table/arrow-api/arrow-like-table.js.map +1 -1
- package/dist/esm/lib/table/batches/row-table-batch-aggregator.js.map +1 -1
- package/dist/esm/lib/table/simple-table/convert-table.js +22 -0
- package/dist/esm/lib/table/simple-table/convert-table.js.map +1 -1
- package/dist/esm/lib/table/simple-table/table-accessors.js +49 -22
- package/dist/esm/lib/table/simple-table/table-accessors.js.map +1 -1
- package/dist/esm/types/batch.js +2 -0
- package/dist/esm/types/batch.js.map +1 -0
- package/dist/esm/types/binary-geometries.js +2 -0
- package/dist/esm/types/binary-geometries.js.map +1 -0
- package/dist/esm/types/category-gis.js.map +1 -1
- package/dist/esm/types/category-image.js.map +1 -1
- package/dist/esm/types/category-table.js.map +1 -1
- package/dist/esm/types/flat-geometries.js +2 -0
- package/dist/esm/types/flat-geometries.js.map +1 -0
- package/dist/esm/types/schema.js.map +1 -1
- package/dist/index.d.ts +7 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/lib/table/arrow-api/arrow-like-table.d.ts +1 -5
- package/dist/lib/table/arrow-api/arrow-like-table.d.ts.map +1 -1
- package/dist/lib/table/batches/row-table-batch-aggregator.d.ts +3 -3
- package/dist/lib/table/batches/row-table-batch-aggregator.d.ts.map +1 -1
- package/dist/lib/table/simple-table/convert-table.d.ts +34 -1
- package/dist/lib/table/simple-table/convert-table.d.ts.map +1 -1
- package/dist/lib/table/simple-table/table-accessors.d.ts.map +1 -1
- package/dist/types/batch.d.ts +34 -0
- package/dist/types/batch.d.ts.map +1 -0
- package/dist/types/binary-geometries.d.ts +56 -0
- package/dist/types/binary-geometries.d.ts.map +1 -0
- package/dist/types/category-gis.d.ts +3 -84
- package/dist/types/category-gis.d.ts.map +1 -1
- package/dist/types/category-image.d.ts +1 -1
- package/dist/types/category-image.d.ts.map +1 -1
- package/dist/types/category-table.d.ts +42 -22
- package/dist/types/category-table.d.ts.map +1 -1
- package/dist/types/flat-geometries.d.ts +30 -0
- package/dist/types/flat-geometries.d.ts.map +1 -0
- package/dist/types/schema.d.ts +0 -15
- package/dist/types/schema.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +13 -7
- package/src/lib/table/arrow-api/arrow-like-table.ts +3 -2
- package/src/lib/table/batches/row-table-batch-aggregator.ts +2 -2
- package/src/lib/table/simple-table/convert-table.ts +73 -1
- package/src/lib/table/simple-table/table-accessors.ts +56 -22
- package/src/types/batch.ts +41 -0
- package/src/types/binary-geometries.ts +62 -0
- package/src/types/category-gis.ts +30 -104
- package/src/types/category-image.ts +1 -1
- package/src/types/category-table.ts +49 -27
- package/src/types/flat-geometries.ts +40 -0
- package/src/types/schema.ts +0 -17
- package/dist/bundle.js +0 -5
- package/dist/index.js +0 -92
- package/dist/lib/mesh/convert-mesh.js +0 -40
- package/dist/lib/mesh/deduce-mesh-schema.js +0 -66
- package/dist/lib/mesh/mesh-to-arrow-table.js +0 -44
- package/dist/lib/mesh/mesh-utils.js +0 -51
- package/dist/lib/table/arrow/arrow-type-utils.js +0 -53
- package/dist/lib/table/arrow/convert-schema-arrow.js +0 -187
- package/dist/lib/table/arrow/convert-table-to-arrow.js +0 -57
- package/dist/lib/table/arrow-api/arrow-like-field.js +0 -34
- package/dist/lib/table/arrow-api/arrow-like-schema.js +0 -81
- package/dist/lib/table/arrow-api/arrow-like-table.js +0 -53
- package/dist/lib/table/arrow-api/arrow-like-type.js +0 -463
- package/dist/lib/table/arrow-api/enum.js +0 -97
- package/dist/lib/table/arrow-api/get-type-info.js +0 -29
- package/dist/lib/table/arrow-api/index.js +0 -25
- package/dist/lib/table/batches/base-table-batch-aggregator.js +0 -60
- package/dist/lib/table/batches/columnar-table-batch-aggregator.js +0 -92
- package/dist/lib/table/batches/row-table-batch-aggregator.js +0 -81
- package/dist/lib/table/batches/table-batch-aggregator.js +0 -3
- package/dist/lib/table/batches/table-batch-builder.js +0 -152
- package/dist/lib/table/simple-table/convert-table.js +0 -65
- package/dist/lib/table/simple-table/data-type.js +0 -93
- package/dist/lib/table/simple-table/make-table.js +0 -95
- package/dist/lib/table/simple-table/row-utils.js +0 -33
- package/dist/lib/table/simple-table/table-accessors.js +0 -319
- package/dist/lib/table/simple-table/table-column.js +0 -41
- package/dist/lib/table/simple-table/table-schema.js +0 -85
- package/dist/lib/utils/assert.js +0 -12
- package/dist/lib/utils/async-queue.js +0 -92
- package/dist/types/category-gis.js +0 -2
- package/dist/types/category-image.js +0 -2
- package/dist/types/category-mesh.js +0 -3
- package/dist/types/category-table.js +0 -3
- package/dist/types/category-texture.js +0 -3
- package/dist/types/schema.js +0 -3
- package/dist/types/types.js +0 -2
package/dist/dist.min.js
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
(() => {
|
|
2
|
-
var __create = Object.create;
|
|
3
2
|
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
3
|
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
9
4
|
var __esm = (fn, res) => function __init() {
|
|
10
5
|
return fn && (res = (0, fn[Object.keys(fn)[0]])(fn = 0)), res;
|
|
@@ -17,17 +12,6 @@
|
|
|
17
12
|
for (var name in all)
|
|
18
13
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
19
14
|
};
|
|
20
|
-
var __reExport = (target, module, desc) => {
|
|
21
|
-
if (module && typeof module === "object" || typeof module === "function") {
|
|
22
|
-
for (let key of __getOwnPropNames(module))
|
|
23
|
-
if (!__hasOwnProp.call(target, key) && key !== "default")
|
|
24
|
-
__defProp(target, key, { get: () => module[key], enumerable: !(desc = __getOwnPropDesc(module, key)) || desc.enumerable });
|
|
25
|
-
}
|
|
26
|
-
return target;
|
|
27
|
-
};
|
|
28
|
-
var __toModule = (module) => {
|
|
29
|
-
return __reExport(__markAsModule(__defProp(module != null ? __create(__getProtoOf(module)) : {}, "default", module && module.__esModule && "default" in module ? { get: () => module.default, enumerable: true } : { value: module, enumerable: true })), module);
|
|
30
|
-
};
|
|
31
15
|
|
|
32
16
|
// src/lib/table/batches/base-table-batch-aggregator.ts
|
|
33
17
|
var DEFAULT_ROW_COUNT, BaseTableBatchAggregator;
|
|
@@ -422,10 +406,12 @@
|
|
|
422
406
|
switch (table.shape) {
|
|
423
407
|
case "array-row-table":
|
|
424
408
|
case "object-row-table":
|
|
425
|
-
case "geojson-row-table":
|
|
426
409
|
return table.data.length;
|
|
410
|
+
case "geojson-table":
|
|
411
|
+
return table.features.length;
|
|
427
412
|
case "arrow-table":
|
|
428
|
-
|
|
413
|
+
const arrowTable = table.data;
|
|
414
|
+
return arrowTable.numRows;
|
|
429
415
|
case "columnar-table":
|
|
430
416
|
for (const column of Object.values(table.data)) {
|
|
431
417
|
return column.length || 0;
|
|
@@ -446,12 +432,14 @@
|
|
|
446
432
|
case "array-row-table":
|
|
447
433
|
return table.data[0].length;
|
|
448
434
|
case "object-row-table":
|
|
449
|
-
case "geojson-row-table":
|
|
450
435
|
return Object.keys(table.data[0]).length;
|
|
436
|
+
case "geojson-table":
|
|
437
|
+
return Object.keys(table.features[0]).length;
|
|
451
438
|
case "columnar-table":
|
|
452
439
|
return Object.keys(table.data).length;
|
|
453
440
|
case "arrow-table":
|
|
454
|
-
|
|
441
|
+
const arrowTable = table.data;
|
|
442
|
+
return arrowTable.numCols;
|
|
455
443
|
default:
|
|
456
444
|
throw new Error("table");
|
|
457
445
|
}
|
|
@@ -462,14 +450,16 @@
|
|
|
462
450
|
const columnIndex = getTableColumnIndex(table, columnName);
|
|
463
451
|
return table.data[rowIndex][columnIndex];
|
|
464
452
|
case "object-row-table":
|
|
465
|
-
case "geojson-row-table":
|
|
466
453
|
return table.data[rowIndex][columnName];
|
|
454
|
+
case "geojson-table":
|
|
455
|
+
return table.features[rowIndex][columnName];
|
|
467
456
|
case "columnar-table":
|
|
468
457
|
const column = table.data[columnName];
|
|
469
458
|
return column[rowIndex];
|
|
470
459
|
case "arrow-table":
|
|
471
|
-
const
|
|
472
|
-
|
|
460
|
+
const arrowTable = table.data;
|
|
461
|
+
const arrowColumnIndex = arrowTable.schema.fields.findIndex((field) => field.name === columnName);
|
|
462
|
+
return arrowTable.getChildAt(arrowColumnIndex)?.get(rowIndex);
|
|
473
463
|
default:
|
|
474
464
|
throw new Error("todo");
|
|
475
465
|
}
|
|
@@ -479,7 +469,7 @@
|
|
|
479
469
|
case "array-row-table":
|
|
480
470
|
case "object-row-table":
|
|
481
471
|
return table.shape;
|
|
482
|
-
case "geojson-
|
|
472
|
+
case "geojson-table":
|
|
483
473
|
return "object-row-table";
|
|
484
474
|
case "columnar-table":
|
|
485
475
|
default:
|
|
@@ -505,7 +495,6 @@
|
|
|
505
495
|
case "object-row-table":
|
|
506
496
|
return copy ? Object.fromEntries(Object.entries(table.data[rowIndex])) : table.data[rowIndex];
|
|
507
497
|
case "array-row-table":
|
|
508
|
-
case "geojson-row-table":
|
|
509
498
|
if (table.schema) {
|
|
510
499
|
const objectRow2 = target || {};
|
|
511
500
|
for (let i = 0; i < table.schema.fields.length; i++) {
|
|
@@ -514,6 +503,15 @@
|
|
|
514
503
|
return objectRow2;
|
|
515
504
|
}
|
|
516
505
|
throw new Error("no schema");
|
|
506
|
+
case "geojson-table":
|
|
507
|
+
if (table.schema) {
|
|
508
|
+
const objectRow2 = target || {};
|
|
509
|
+
for (let i = 0; i < table.schema.fields.length; i++) {
|
|
510
|
+
objectRow2[table.schema.fields[i].name] = table.features[rowIndex][i];
|
|
511
|
+
}
|
|
512
|
+
return objectRow2;
|
|
513
|
+
}
|
|
514
|
+
throw new Error("no schema");
|
|
517
515
|
case "columnar-table":
|
|
518
516
|
if (table.schema) {
|
|
519
517
|
const objectRow2 = target || {};
|
|
@@ -529,9 +527,10 @@
|
|
|
529
527
|
return objectRow2;
|
|
530
528
|
}
|
|
531
529
|
case "arrow-table":
|
|
530
|
+
const arrowTable = table.data;
|
|
532
531
|
const objectRow = target || {};
|
|
533
|
-
const row =
|
|
534
|
-
const schema =
|
|
532
|
+
const row = arrowTable.get(rowIndex);
|
|
533
|
+
const schema = arrowTable.schema;
|
|
535
534
|
for (let i = 0; i < schema.fields.length; i++) {
|
|
536
535
|
objectRow[schema.fields[i].name] = row?.[schema.fields[i].name];
|
|
537
536
|
}
|
|
@@ -545,7 +544,6 @@
|
|
|
545
544
|
case "array-row-table":
|
|
546
545
|
return copy ? Array.from(table.data[rowIndex]) : table.data[rowIndex];
|
|
547
546
|
case "object-row-table":
|
|
548
|
-
case "geojson-row-table":
|
|
549
547
|
if (table.schema) {
|
|
550
548
|
const arrayRow2 = target || [];
|
|
551
549
|
for (let i = 0; i < table.schema.fields.length; i++) {
|
|
@@ -554,6 +552,15 @@
|
|
|
554
552
|
return arrayRow2;
|
|
555
553
|
}
|
|
556
554
|
return Object.values(table.data[rowIndex]);
|
|
555
|
+
case "geojson-table":
|
|
556
|
+
if (table.schema) {
|
|
557
|
+
const arrayRow2 = target || [];
|
|
558
|
+
for (let i = 0; i < table.schema.fields.length; i++) {
|
|
559
|
+
arrayRow2[i] = table.features[rowIndex][table.schema.fields[i].name];
|
|
560
|
+
}
|
|
561
|
+
return arrayRow2;
|
|
562
|
+
}
|
|
563
|
+
return Object.values(table.features[rowIndex]);
|
|
557
564
|
case "columnar-table":
|
|
558
565
|
if (table.schema) {
|
|
559
566
|
const arrayRow2 = target || [];
|
|
@@ -571,9 +578,10 @@
|
|
|
571
578
|
return arrayRow2;
|
|
572
579
|
}
|
|
573
580
|
case "arrow-table":
|
|
581
|
+
const arrowTable = table.data;
|
|
574
582
|
const arrayRow = target || [];
|
|
575
|
-
const row =
|
|
576
|
-
const schema =
|
|
583
|
+
const row = arrowTable.get(rowIndex);
|
|
584
|
+
const schema = arrowTable.schema;
|
|
577
585
|
for (let i = 0; i < schema.fields.length; i++) {
|
|
578
586
|
arrayRow[i] = row?.[schema.fields[i].name];
|
|
579
587
|
}
|
|
@@ -751,6 +759,31 @@
|
|
|
751
759
|
return "null";
|
|
752
760
|
}
|
|
753
761
|
}
|
|
762
|
+
function getArrayTypeFromDataType(type, nullable) {
|
|
763
|
+
if (!nullable) {
|
|
764
|
+
switch (type) {
|
|
765
|
+
case "int8":
|
|
766
|
+
return Int8Array;
|
|
767
|
+
case "uint8":
|
|
768
|
+
return Uint8Array;
|
|
769
|
+
case "int16":
|
|
770
|
+
return Int16Array;
|
|
771
|
+
case "uint16":
|
|
772
|
+
return Uint16Array;
|
|
773
|
+
case "int32":
|
|
774
|
+
return Int32Array;
|
|
775
|
+
case "uint32":
|
|
776
|
+
return Uint32Array;
|
|
777
|
+
case "float32":
|
|
778
|
+
return Float32Array;
|
|
779
|
+
case "float64":
|
|
780
|
+
return Float64Array;
|
|
781
|
+
default:
|
|
782
|
+
break;
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
return Array;
|
|
786
|
+
}
|
|
754
787
|
var init_data_type = __esm({
|
|
755
788
|
"src/lib/table/simple-table/data-type.ts"() {
|
|
756
789
|
}
|
|
@@ -840,7 +873,8 @@
|
|
|
840
873
|
toArray() {
|
|
841
874
|
switch (this.table.shape) {
|
|
842
875
|
case "arrow-table":
|
|
843
|
-
|
|
876
|
+
const arrowTable = this.table.data;
|
|
877
|
+
return arrowTable.getChild(this.columnName)?.toArray();
|
|
844
878
|
case "columnar-table":
|
|
845
879
|
return this.table.data[this.columnName];
|
|
846
880
|
default:
|
|
@@ -855,7 +889,7 @@
|
|
|
855
889
|
this.table = { ...table, schema };
|
|
856
890
|
}
|
|
857
891
|
get data() {
|
|
858
|
-
return this.table.data;
|
|
892
|
+
return this.table.shape === "geojson-table" ? this.table.features : this.table.data;
|
|
859
893
|
}
|
|
860
894
|
get numCols() {
|
|
861
895
|
return getTableNumCols(this.table);
|
|
@@ -913,6 +947,98 @@
|
|
|
913
947
|
}
|
|
914
948
|
});
|
|
915
949
|
|
|
950
|
+
// src/lib/table/simple-table/table-column.ts
|
|
951
|
+
function makeColumnFromField(field, length) {
|
|
952
|
+
const ArrayType = getArrayTypeFromDataType(field.type, field.nullable);
|
|
953
|
+
return new ArrayType(length);
|
|
954
|
+
}
|
|
955
|
+
var init_table_column = __esm({
|
|
956
|
+
"src/lib/table/simple-table/table-column.ts"() {
|
|
957
|
+
init_data_type();
|
|
958
|
+
}
|
|
959
|
+
});
|
|
960
|
+
|
|
961
|
+
// src/lib/table/simple-table/convert-table.ts
|
|
962
|
+
function convertTable(table, shape) {
|
|
963
|
+
switch (shape) {
|
|
964
|
+
case "object-row-table":
|
|
965
|
+
return makeObjectRowTable(table);
|
|
966
|
+
case "array-row-table":
|
|
967
|
+
return makeArrayRowTable(table);
|
|
968
|
+
case "columnar-table":
|
|
969
|
+
return makeColumnarTable(table);
|
|
970
|
+
case "arrow-table":
|
|
971
|
+
return makeArrowTable(table);
|
|
972
|
+
default:
|
|
973
|
+
throw new Error(shape);
|
|
974
|
+
}
|
|
975
|
+
}
|
|
976
|
+
function makeArrowTable(table) {
|
|
977
|
+
const _makeArrowTable = globalThis.__luma?._makeArrowTable;
|
|
978
|
+
if (!_makeArrowTable) {
|
|
979
|
+
throw new Error("");
|
|
980
|
+
}
|
|
981
|
+
return _makeArrowTable(table);
|
|
982
|
+
}
|
|
983
|
+
function makeColumnarTable(table) {
|
|
984
|
+
const schema = table.schema || deduceTableSchema(table);
|
|
985
|
+
const fields = table.schema?.fields || [];
|
|
986
|
+
if (table.shape === "columnar-table") {
|
|
987
|
+
return { ...table, schema };
|
|
988
|
+
}
|
|
989
|
+
const length = getTableLength(table);
|
|
990
|
+
const columns = {};
|
|
991
|
+
for (const field of fields) {
|
|
992
|
+
const column = makeColumnFromField(field, length);
|
|
993
|
+
columns[field.name] = column;
|
|
994
|
+
for (let rowIndex = 0; rowIndex < length; rowIndex++) {
|
|
995
|
+
column[rowIndex] = getTableCell(table, rowIndex, field.name);
|
|
996
|
+
}
|
|
997
|
+
}
|
|
998
|
+
return {
|
|
999
|
+
shape: "columnar-table",
|
|
1000
|
+
schema,
|
|
1001
|
+
data: columns
|
|
1002
|
+
};
|
|
1003
|
+
}
|
|
1004
|
+
function makeArrayRowTable(table) {
|
|
1005
|
+
if (table.shape === "array-row-table") {
|
|
1006
|
+
return table;
|
|
1007
|
+
}
|
|
1008
|
+
const length = getTableLength(table);
|
|
1009
|
+
const data = new Array(length);
|
|
1010
|
+
for (let rowIndex = 0; rowIndex < length; rowIndex++) {
|
|
1011
|
+
data[rowIndex] = getTableRowAsArray(table, rowIndex);
|
|
1012
|
+
}
|
|
1013
|
+
return {
|
|
1014
|
+
shape: "array-row-table",
|
|
1015
|
+
schema: table.schema,
|
|
1016
|
+
data
|
|
1017
|
+
};
|
|
1018
|
+
}
|
|
1019
|
+
function makeObjectRowTable(table) {
|
|
1020
|
+
if (table.shape === "object-row-table") {
|
|
1021
|
+
return table;
|
|
1022
|
+
}
|
|
1023
|
+
const length = getTableLength(table);
|
|
1024
|
+
const data = new Array(length);
|
|
1025
|
+
for (let rowIndex = 0; rowIndex < length; rowIndex++) {
|
|
1026
|
+
data[rowIndex] = getTableRowAsObject(table, rowIndex);
|
|
1027
|
+
}
|
|
1028
|
+
return {
|
|
1029
|
+
shape: "object-row-table",
|
|
1030
|
+
schema: table.schema,
|
|
1031
|
+
data
|
|
1032
|
+
};
|
|
1033
|
+
}
|
|
1034
|
+
var init_convert_table = __esm({
|
|
1035
|
+
"src/lib/table/simple-table/convert-table.ts"() {
|
|
1036
|
+
init_table_accessors();
|
|
1037
|
+
init_table_schema();
|
|
1038
|
+
init_table_column();
|
|
1039
|
+
}
|
|
1040
|
+
});
|
|
1041
|
+
|
|
916
1042
|
// src/lib/mesh/mesh-utils.ts
|
|
917
1043
|
function getMeshSize(attributes) {
|
|
918
1044
|
let size = 0;
|
|
@@ -1457,549 +1583,134 @@
|
|
|
1457
1583
|
}
|
|
1458
1584
|
});
|
|
1459
1585
|
|
|
1460
|
-
// ../../node_modules/apache-arrow/node_modules/tslib/tslib.
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
var
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
var __makeTemplateObject2;
|
|
1486
|
-
var __importStar2;
|
|
1487
|
-
var __importDefault2;
|
|
1488
|
-
var __classPrivateFieldGet2;
|
|
1489
|
-
var __classPrivateFieldSet2;
|
|
1490
|
-
var __classPrivateFieldIn2;
|
|
1491
|
-
var __createBinding2;
|
|
1492
|
-
(function(factory) {
|
|
1493
|
-
var root = typeof global === "object" ? global : typeof self === "object" ? self : typeof this === "object" ? this : {};
|
|
1494
|
-
if (typeof define === "function" && define.amd) {
|
|
1495
|
-
define("tslib", ["exports"], function(exports2) {
|
|
1496
|
-
factory(createExporter(root, createExporter(exports2)));
|
|
1497
|
-
});
|
|
1498
|
-
} else if (typeof module === "object" && typeof module.exports === "object") {
|
|
1499
|
-
factory(createExporter(root, createExporter(module.exports)));
|
|
1500
|
-
} else {
|
|
1501
|
-
factory(createExporter(root));
|
|
1586
|
+
// ../../node_modules/apache-arrow/node_modules/tslib/tslib.es6.mjs
|
|
1587
|
+
function __rest(s, e) {
|
|
1588
|
+
var t = {};
|
|
1589
|
+
for (var p in s)
|
|
1590
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
1591
|
+
t[p] = s[p];
|
|
1592
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
1593
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
1594
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
1595
|
+
t[p[i]] = s[p[i]];
|
|
1596
|
+
}
|
|
1597
|
+
return t;
|
|
1598
|
+
}
|
|
1599
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
1600
|
+
function adopt(value) {
|
|
1601
|
+
return value instanceof P ? value : new P(function(resolve) {
|
|
1602
|
+
resolve(value);
|
|
1603
|
+
});
|
|
1604
|
+
}
|
|
1605
|
+
return new (P || (P = Promise))(function(resolve, reject) {
|
|
1606
|
+
function fulfilled(value) {
|
|
1607
|
+
try {
|
|
1608
|
+
step(generator.next(value));
|
|
1609
|
+
} catch (e) {
|
|
1610
|
+
reject(e);
|
|
1502
1611
|
}
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
}
|
|
1510
|
-
}
|
|
1511
|
-
return function(id, v) {
|
|
1512
|
-
return exports2[id] = previous ? previous(id, v) : v;
|
|
1513
|
-
};
|
|
1612
|
+
}
|
|
1613
|
+
function rejected(value) {
|
|
1614
|
+
try {
|
|
1615
|
+
step(generator["throw"](value));
|
|
1616
|
+
} catch (e) {
|
|
1617
|
+
reject(e);
|
|
1514
1618
|
}
|
|
1515
|
-
}
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
return t;
|
|
1552
|
-
};
|
|
1553
|
-
__decorate2 = function(decorators, target, key, desc) {
|
|
1554
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1555
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1556
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
1557
|
-
else
|
|
1558
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
1559
|
-
if (d = decorators[i])
|
|
1560
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1561
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1562
|
-
};
|
|
1563
|
-
__param2 = function(paramIndex, decorator) {
|
|
1564
|
-
return function(target, key) {
|
|
1565
|
-
decorator(target, key, paramIndex);
|
|
1566
|
-
};
|
|
1567
|
-
};
|
|
1568
|
-
__esDecorate2 = function(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
|
1569
|
-
function accept(f) {
|
|
1570
|
-
if (f !== void 0 && typeof f !== "function")
|
|
1571
|
-
throw new TypeError("Function expected");
|
|
1572
|
-
return f;
|
|
1573
|
-
}
|
|
1574
|
-
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
|
1575
|
-
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
|
1576
|
-
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
|
1577
|
-
var _, done = false;
|
|
1578
|
-
for (var i = decorators.length - 1; i >= 0; i--) {
|
|
1579
|
-
var context = {};
|
|
1580
|
-
for (var p in contextIn)
|
|
1581
|
-
context[p] = p === "access" ? {} : contextIn[p];
|
|
1582
|
-
for (var p in contextIn.access)
|
|
1583
|
-
context.access[p] = contextIn.access[p];
|
|
1584
|
-
context.addInitializer = function(f) {
|
|
1585
|
-
if (done)
|
|
1586
|
-
throw new TypeError("Cannot add initializers after decoration has completed");
|
|
1587
|
-
extraInitializers.push(accept(f || null));
|
|
1588
|
-
};
|
|
1589
|
-
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
|
|
1590
|
-
if (kind === "accessor") {
|
|
1591
|
-
if (result === void 0)
|
|
1592
|
-
continue;
|
|
1593
|
-
if (result === null || typeof result !== "object")
|
|
1594
|
-
throw new TypeError("Object expected");
|
|
1595
|
-
if (_ = accept(result.get))
|
|
1596
|
-
descriptor.get = _;
|
|
1597
|
-
if (_ = accept(result.set))
|
|
1598
|
-
descriptor.set = _;
|
|
1599
|
-
if (_ = accept(result.init))
|
|
1600
|
-
initializers.push(_);
|
|
1601
|
-
} else if (_ = accept(result)) {
|
|
1602
|
-
if (kind === "field")
|
|
1603
|
-
initializers.push(_);
|
|
1604
|
-
else
|
|
1605
|
-
descriptor[key] = _;
|
|
1606
|
-
}
|
|
1607
|
-
}
|
|
1608
|
-
if (target)
|
|
1609
|
-
Object.defineProperty(target, contextIn.name, descriptor);
|
|
1610
|
-
done = true;
|
|
1611
|
-
};
|
|
1612
|
-
__runInitializers2 = function(thisArg, initializers, value) {
|
|
1613
|
-
var useValue = arguments.length > 2;
|
|
1614
|
-
for (var i = 0; i < initializers.length; i++) {
|
|
1615
|
-
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
|
1616
|
-
}
|
|
1617
|
-
return useValue ? value : void 0;
|
|
1618
|
-
};
|
|
1619
|
-
__propKey2 = function(x) {
|
|
1620
|
-
return typeof x === "symbol" ? x : "".concat(x);
|
|
1621
|
-
};
|
|
1622
|
-
__setFunctionName2 = function(f, name, prefix) {
|
|
1623
|
-
if (typeof name === "symbol")
|
|
1624
|
-
name = name.description ? "[".concat(name.description, "]") : "";
|
|
1625
|
-
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
|
1626
|
-
};
|
|
1627
|
-
__metadata2 = function(metadataKey, metadataValue) {
|
|
1628
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
1629
|
-
return Reflect.metadata(metadataKey, metadataValue);
|
|
1630
|
-
};
|
|
1631
|
-
__awaiter2 = function(thisArg, _arguments, P, generator) {
|
|
1632
|
-
function adopt(value) {
|
|
1633
|
-
return value instanceof P ? value : new P(function(resolve) {
|
|
1634
|
-
resolve(value);
|
|
1635
|
-
});
|
|
1636
|
-
}
|
|
1637
|
-
return new (P || (P = Promise))(function(resolve, reject) {
|
|
1638
|
-
function fulfilled(value) {
|
|
1639
|
-
try {
|
|
1640
|
-
step(generator.next(value));
|
|
1641
|
-
} catch (e) {
|
|
1642
|
-
reject(e);
|
|
1643
|
-
}
|
|
1644
|
-
}
|
|
1645
|
-
function rejected(value) {
|
|
1646
|
-
try {
|
|
1647
|
-
step(generator["throw"](value));
|
|
1648
|
-
} catch (e) {
|
|
1649
|
-
reject(e);
|
|
1650
|
-
}
|
|
1651
|
-
}
|
|
1652
|
-
function step(result) {
|
|
1653
|
-
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
1654
|
-
}
|
|
1655
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
1619
|
+
}
|
|
1620
|
+
function step(result) {
|
|
1621
|
+
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
1622
|
+
}
|
|
1623
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
1624
|
+
});
|
|
1625
|
+
}
|
|
1626
|
+
function __values(o) {
|
|
1627
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
1628
|
+
if (m)
|
|
1629
|
+
return m.call(o);
|
|
1630
|
+
if (o && typeof o.length === "number")
|
|
1631
|
+
return {
|
|
1632
|
+
next: function() {
|
|
1633
|
+
if (o && i >= o.length)
|
|
1634
|
+
o = void 0;
|
|
1635
|
+
return { value: o && o[i++], done: !o };
|
|
1636
|
+
}
|
|
1637
|
+
};
|
|
1638
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
1639
|
+
}
|
|
1640
|
+
function __await(v) {
|
|
1641
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
1642
|
+
}
|
|
1643
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
1644
|
+
if (!Symbol.asyncIterator)
|
|
1645
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
1646
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
1647
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() {
|
|
1648
|
+
return this;
|
|
1649
|
+
}, i;
|
|
1650
|
+
function verb(n) {
|
|
1651
|
+
if (g[n])
|
|
1652
|
+
i[n] = function(v) {
|
|
1653
|
+
return new Promise(function(a, b) {
|
|
1654
|
+
q.push([n, v, a, b]) > 1 || resume(n, v);
|
|
1656
1655
|
});
|
|
1657
1656
|
};
|
|
1658
|
-
__generator2 = function(thisArg, body) {
|
|
1659
|
-
var _ = { label: 0, sent: function() {
|
|
1660
|
-
if (t[0] & 1)
|
|
1661
|
-
throw t[1];
|
|
1662
|
-
return t[1];
|
|
1663
|
-
}, trys: [], ops: [] }, f, y, t, g;
|
|
1664
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
1665
|
-
return this;
|
|
1666
|
-
}), g;
|
|
1667
|
-
function verb(n) {
|
|
1668
|
-
return function(v) {
|
|
1669
|
-
return step([n, v]);
|
|
1670
|
-
};
|
|
1671
|
-
}
|
|
1672
|
-
function step(op) {
|
|
1673
|
-
if (f)
|
|
1674
|
-
throw new TypeError("Generator is already executing.");
|
|
1675
|
-
while (g && (g = 0, op[0] && (_ = 0)), _)
|
|
1676
|
-
try {
|
|
1677
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
|
1678
|
-
return t;
|
|
1679
|
-
if (y = 0, t)
|
|
1680
|
-
op = [op[0] & 2, t.value];
|
|
1681
|
-
switch (op[0]) {
|
|
1682
|
-
case 0:
|
|
1683
|
-
case 1:
|
|
1684
|
-
t = op;
|
|
1685
|
-
break;
|
|
1686
|
-
case 4:
|
|
1687
|
-
_.label++;
|
|
1688
|
-
return { value: op[1], done: false };
|
|
1689
|
-
case 5:
|
|
1690
|
-
_.label++;
|
|
1691
|
-
y = op[1];
|
|
1692
|
-
op = [0];
|
|
1693
|
-
continue;
|
|
1694
|
-
case 7:
|
|
1695
|
-
op = _.ops.pop();
|
|
1696
|
-
_.trys.pop();
|
|
1697
|
-
continue;
|
|
1698
|
-
default:
|
|
1699
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
1700
|
-
_ = 0;
|
|
1701
|
-
continue;
|
|
1702
|
-
}
|
|
1703
|
-
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
1704
|
-
_.label = op[1];
|
|
1705
|
-
break;
|
|
1706
|
-
}
|
|
1707
|
-
if (op[0] === 6 && _.label < t[1]) {
|
|
1708
|
-
_.label = t[1];
|
|
1709
|
-
t = op;
|
|
1710
|
-
break;
|
|
1711
|
-
}
|
|
1712
|
-
if (t && _.label < t[2]) {
|
|
1713
|
-
_.label = t[2];
|
|
1714
|
-
_.ops.push(op);
|
|
1715
|
-
break;
|
|
1716
|
-
}
|
|
1717
|
-
if (t[2])
|
|
1718
|
-
_.ops.pop();
|
|
1719
|
-
_.trys.pop();
|
|
1720
|
-
continue;
|
|
1721
|
-
}
|
|
1722
|
-
op = body.call(thisArg, _);
|
|
1723
|
-
} catch (e) {
|
|
1724
|
-
op = [6, e];
|
|
1725
|
-
y = 0;
|
|
1726
|
-
} finally {
|
|
1727
|
-
f = t = 0;
|
|
1728
|
-
}
|
|
1729
|
-
if (op[0] & 5)
|
|
1730
|
-
throw op[1];
|
|
1731
|
-
return { value: op[0] ? op[1] : void 0, done: true };
|
|
1732
|
-
}
|
|
1733
|
-
};
|
|
1734
|
-
__exportStar2 = function(m, o) {
|
|
1735
|
-
for (var p in m)
|
|
1736
|
-
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
1737
|
-
__createBinding2(o, m, p);
|
|
1738
|
-
};
|
|
1739
|
-
__createBinding2 = Object.create ? function(o, m, k, k2) {
|
|
1740
|
-
if (k2 === void 0)
|
|
1741
|
-
k2 = k;
|
|
1742
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
1743
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
1744
|
-
desc = { enumerable: true, get: function() {
|
|
1745
|
-
return m[k];
|
|
1746
|
-
} };
|
|
1747
|
-
}
|
|
1748
|
-
Object.defineProperty(o, k2, desc);
|
|
1749
|
-
} : function(o, m, k, k2) {
|
|
1750
|
-
if (k2 === void 0)
|
|
1751
|
-
k2 = k;
|
|
1752
|
-
o[k2] = m[k];
|
|
1753
|
-
};
|
|
1754
|
-
__values2 = function(o) {
|
|
1755
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
1756
|
-
if (m)
|
|
1757
|
-
return m.call(o);
|
|
1758
|
-
if (o && typeof o.length === "number")
|
|
1759
|
-
return {
|
|
1760
|
-
next: function() {
|
|
1761
|
-
if (o && i >= o.length)
|
|
1762
|
-
o = void 0;
|
|
1763
|
-
return { value: o && o[i++], done: !o };
|
|
1764
|
-
}
|
|
1765
|
-
};
|
|
1766
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
1767
|
-
};
|
|
1768
|
-
__read2 = function(o, n) {
|
|
1769
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
1770
|
-
if (!m)
|
|
1771
|
-
return o;
|
|
1772
|
-
var i = m.call(o), r, ar = [], e;
|
|
1773
|
-
try {
|
|
1774
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
1775
|
-
ar.push(r.value);
|
|
1776
|
-
} catch (error) {
|
|
1777
|
-
e = { error };
|
|
1778
|
-
} finally {
|
|
1779
|
-
try {
|
|
1780
|
-
if (r && !r.done && (m = i["return"]))
|
|
1781
|
-
m.call(i);
|
|
1782
|
-
} finally {
|
|
1783
|
-
if (e)
|
|
1784
|
-
throw e.error;
|
|
1785
|
-
}
|
|
1786
|
-
}
|
|
1787
|
-
return ar;
|
|
1788
|
-
};
|
|
1789
|
-
__spread2 = function() {
|
|
1790
|
-
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
1791
|
-
ar = ar.concat(__read2(arguments[i]));
|
|
1792
|
-
return ar;
|
|
1793
|
-
};
|
|
1794
|
-
__spreadArrays2 = function() {
|
|
1795
|
-
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
1796
|
-
s += arguments[i].length;
|
|
1797
|
-
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
1798
|
-
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
1799
|
-
r[k] = a[j];
|
|
1800
|
-
return r;
|
|
1801
|
-
};
|
|
1802
|
-
__spreadArray2 = function(to, from, pack) {
|
|
1803
|
-
if (pack || arguments.length === 2)
|
|
1804
|
-
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
1805
|
-
if (ar || !(i in from)) {
|
|
1806
|
-
if (!ar)
|
|
1807
|
-
ar = Array.prototype.slice.call(from, 0, i);
|
|
1808
|
-
ar[i] = from[i];
|
|
1809
|
-
}
|
|
1810
|
-
}
|
|
1811
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
1812
|
-
};
|
|
1813
|
-
__await2 = function(v) {
|
|
1814
|
-
return this instanceof __await2 ? (this.v = v, this) : new __await2(v);
|
|
1815
|
-
};
|
|
1816
|
-
__asyncGenerator2 = function(thisArg, _arguments, generator) {
|
|
1817
|
-
if (!Symbol.asyncIterator)
|
|
1818
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
1819
|
-
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
1820
|
-
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() {
|
|
1821
|
-
return this;
|
|
1822
|
-
}, i;
|
|
1823
|
-
function verb(n) {
|
|
1824
|
-
if (g[n])
|
|
1825
|
-
i[n] = function(v) {
|
|
1826
|
-
return new Promise(function(a, b) {
|
|
1827
|
-
q.push([n, v, a, b]) > 1 || resume(n, v);
|
|
1828
|
-
});
|
|
1829
|
-
};
|
|
1830
|
-
}
|
|
1831
|
-
function resume(n, v) {
|
|
1832
|
-
try {
|
|
1833
|
-
step(g[n](v));
|
|
1834
|
-
} catch (e) {
|
|
1835
|
-
settle(q[0][3], e);
|
|
1836
|
-
}
|
|
1837
|
-
}
|
|
1838
|
-
function step(r) {
|
|
1839
|
-
r.value instanceof __await2 ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r);
|
|
1840
|
-
}
|
|
1841
|
-
function fulfill(value) {
|
|
1842
|
-
resume("next", value);
|
|
1843
|
-
}
|
|
1844
|
-
function reject(value) {
|
|
1845
|
-
resume("throw", value);
|
|
1846
|
-
}
|
|
1847
|
-
function settle(f, v) {
|
|
1848
|
-
if (f(v), q.shift(), q.length)
|
|
1849
|
-
resume(q[0][0], q[0][1]);
|
|
1850
|
-
}
|
|
1851
|
-
};
|
|
1852
|
-
__asyncDelegator2 = function(o) {
|
|
1853
|
-
var i, p;
|
|
1854
|
-
return i = {}, verb("next"), verb("throw", function(e) {
|
|
1855
|
-
throw e;
|
|
1856
|
-
}), verb("return"), i[Symbol.iterator] = function() {
|
|
1857
|
-
return this;
|
|
1858
|
-
}, i;
|
|
1859
|
-
function verb(n, f) {
|
|
1860
|
-
i[n] = o[n] ? function(v) {
|
|
1861
|
-
return (p = !p) ? { value: __await2(o[n](v)), done: false } : f ? f(v) : v;
|
|
1862
|
-
} : f;
|
|
1863
|
-
}
|
|
1864
|
-
};
|
|
1865
|
-
__asyncValues2 = function(o) {
|
|
1866
|
-
if (!Symbol.asyncIterator)
|
|
1867
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
1868
|
-
var m = o[Symbol.asyncIterator], i;
|
|
1869
|
-
return m ? m.call(o) : (o = typeof __values2 === "function" ? __values2(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() {
|
|
1870
|
-
return this;
|
|
1871
|
-
}, i);
|
|
1872
|
-
function verb(n) {
|
|
1873
|
-
i[n] = o[n] && function(v) {
|
|
1874
|
-
return new Promise(function(resolve, reject) {
|
|
1875
|
-
v = o[n](v), settle(resolve, reject, v.done, v.value);
|
|
1876
|
-
});
|
|
1877
|
-
};
|
|
1878
|
-
}
|
|
1879
|
-
function settle(resolve, reject, d, v) {
|
|
1880
|
-
Promise.resolve(v).then(function(v2) {
|
|
1881
|
-
resolve({ value: v2, done: d });
|
|
1882
|
-
}, reject);
|
|
1883
|
-
}
|
|
1884
|
-
};
|
|
1885
|
-
__makeTemplateObject2 = function(cooked, raw) {
|
|
1886
|
-
if (Object.defineProperty) {
|
|
1887
|
-
Object.defineProperty(cooked, "raw", { value: raw });
|
|
1888
|
-
} else {
|
|
1889
|
-
cooked.raw = raw;
|
|
1890
|
-
}
|
|
1891
|
-
return cooked;
|
|
1892
|
-
};
|
|
1893
|
-
var __setModuleDefault = Object.create ? function(o, v) {
|
|
1894
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
1895
|
-
} : function(o, v) {
|
|
1896
|
-
o["default"] = v;
|
|
1897
|
-
};
|
|
1898
|
-
__importStar2 = function(mod) {
|
|
1899
|
-
if (mod && mod.__esModule)
|
|
1900
|
-
return mod;
|
|
1901
|
-
var result = {};
|
|
1902
|
-
if (mod != null) {
|
|
1903
|
-
for (var k in mod)
|
|
1904
|
-
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
1905
|
-
__createBinding2(result, mod, k);
|
|
1906
|
-
}
|
|
1907
|
-
__setModuleDefault(result, mod);
|
|
1908
|
-
return result;
|
|
1909
|
-
};
|
|
1910
|
-
__importDefault2 = function(mod) {
|
|
1911
|
-
return mod && mod.__esModule ? mod : { "default": mod };
|
|
1912
|
-
};
|
|
1913
|
-
__classPrivateFieldGet2 = function(receiver, state, kind, f) {
|
|
1914
|
-
if (kind === "a" && !f)
|
|
1915
|
-
throw new TypeError("Private accessor was defined without a getter");
|
|
1916
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
1917
|
-
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
1918
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
1919
|
-
};
|
|
1920
|
-
__classPrivateFieldSet2 = function(receiver, state, value, kind, f) {
|
|
1921
|
-
if (kind === "m")
|
|
1922
|
-
throw new TypeError("Private method is not writable");
|
|
1923
|
-
if (kind === "a" && !f)
|
|
1924
|
-
throw new TypeError("Private accessor was defined without a setter");
|
|
1925
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
1926
|
-
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
1927
|
-
return kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;
|
|
1928
|
-
};
|
|
1929
|
-
__classPrivateFieldIn2 = function(state, receiver) {
|
|
1930
|
-
if (receiver === null || typeof receiver !== "object" && typeof receiver !== "function")
|
|
1931
|
-
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
1932
|
-
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
1933
|
-
};
|
|
1934
|
-
exporter("__extends", __extends2);
|
|
1935
|
-
exporter("__assign", __assign2);
|
|
1936
|
-
exporter("__rest", __rest2);
|
|
1937
|
-
exporter("__decorate", __decorate2);
|
|
1938
|
-
exporter("__param", __param2);
|
|
1939
|
-
exporter("__esDecorate", __esDecorate2);
|
|
1940
|
-
exporter("__runInitializers", __runInitializers2);
|
|
1941
|
-
exporter("__propKey", __propKey2);
|
|
1942
|
-
exporter("__setFunctionName", __setFunctionName2);
|
|
1943
|
-
exporter("__metadata", __metadata2);
|
|
1944
|
-
exporter("__awaiter", __awaiter2);
|
|
1945
|
-
exporter("__generator", __generator2);
|
|
1946
|
-
exporter("__exportStar", __exportStar2);
|
|
1947
|
-
exporter("__createBinding", __createBinding2);
|
|
1948
|
-
exporter("__values", __values2);
|
|
1949
|
-
exporter("__read", __read2);
|
|
1950
|
-
exporter("__spread", __spread2);
|
|
1951
|
-
exporter("__spreadArrays", __spreadArrays2);
|
|
1952
|
-
exporter("__spreadArray", __spreadArray2);
|
|
1953
|
-
exporter("__await", __await2);
|
|
1954
|
-
exporter("__asyncGenerator", __asyncGenerator2);
|
|
1955
|
-
exporter("__asyncDelegator", __asyncDelegator2);
|
|
1956
|
-
exporter("__asyncValues", __asyncValues2);
|
|
1957
|
-
exporter("__makeTemplateObject", __makeTemplateObject2);
|
|
1958
|
-
exporter("__importStar", __importStar2);
|
|
1959
|
-
exporter("__importDefault", __importDefault2);
|
|
1960
|
-
exporter("__classPrivateFieldGet", __classPrivateFieldGet2);
|
|
1961
|
-
exporter("__classPrivateFieldSet", __classPrivateFieldSet2);
|
|
1962
|
-
exporter("__classPrivateFieldIn", __classPrivateFieldIn2);
|
|
1963
|
-
});
|
|
1964
1657
|
}
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
1658
|
+
function resume(n, v) {
|
|
1659
|
+
try {
|
|
1660
|
+
step(g[n](v));
|
|
1661
|
+
} catch (e) {
|
|
1662
|
+
settle(q[0][3], e);
|
|
1663
|
+
}
|
|
1664
|
+
}
|
|
1665
|
+
function step(r) {
|
|
1666
|
+
r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r);
|
|
1667
|
+
}
|
|
1668
|
+
function fulfill(value) {
|
|
1669
|
+
resume("next", value);
|
|
1670
|
+
}
|
|
1671
|
+
function reject(value) {
|
|
1672
|
+
resume("throw", value);
|
|
1673
|
+
}
|
|
1674
|
+
function settle(f, v) {
|
|
1675
|
+
if (f(v), q.shift(), q.length)
|
|
1676
|
+
resume(q[0][0], q[0][1]);
|
|
1677
|
+
}
|
|
1678
|
+
}
|
|
1679
|
+
function __asyncDelegator(o) {
|
|
1680
|
+
var i, p;
|
|
1681
|
+
return i = {}, verb("next"), verb("throw", function(e) {
|
|
1682
|
+
throw e;
|
|
1683
|
+
}), verb("return"), i[Symbol.iterator] = function() {
|
|
1684
|
+
return this;
|
|
1685
|
+
}, i;
|
|
1686
|
+
function verb(n, f) {
|
|
1687
|
+
i[n] = o[n] ? function(v) {
|
|
1688
|
+
return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v;
|
|
1689
|
+
} : f;
|
|
1690
|
+
}
|
|
1691
|
+
}
|
|
1692
|
+
function __asyncValues(o) {
|
|
1693
|
+
if (!Symbol.asyncIterator)
|
|
1694
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
1695
|
+
var m = o[Symbol.asyncIterator], i;
|
|
1696
|
+
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() {
|
|
1697
|
+
return this;
|
|
1698
|
+
}, i);
|
|
1699
|
+
function verb(n) {
|
|
1700
|
+
i[n] = o[n] && function(v) {
|
|
1701
|
+
return new Promise(function(resolve, reject) {
|
|
1702
|
+
v = o[n](v), settle(resolve, reject, v.done, v.value);
|
|
1703
|
+
});
|
|
1704
|
+
};
|
|
1705
|
+
}
|
|
1706
|
+
function settle(resolve, reject, d, v) {
|
|
1707
|
+
Promise.resolve(v).then(function(v2) {
|
|
1708
|
+
resolve({ value: v2, done: d });
|
|
1709
|
+
}, reject);
|
|
1710
|
+
}
|
|
1711
|
+
}
|
|
1712
|
+
var init_tslib_es6 = __esm({
|
|
1713
|
+
"../../node_modules/apache-arrow/node_modules/tslib/tslib.es6.mjs"() {
|
|
2003
1714
|
}
|
|
2004
1715
|
});
|
|
2005
1716
|
|
|
@@ -2015,64 +1726,9 @@
|
|
|
2015
1726
|
});
|
|
2016
1727
|
|
|
2017
1728
|
// ../../node_modules/apache-arrow/util/compat.mjs
|
|
2018
|
-
var
|
|
1729
|
+
var isNumber, isBoolean, isFunction, isObject, isPromise, isIterable, isAsyncIterable, isArrowJSON, isIteratorResult, isFileHandle, isFetchResponse, isReadableInterop, isWritableDOMStream, isReadableDOMStream, isWritableNodeStream, isReadableNodeStream, isFlatbuffersByteBuffer;
|
|
2019
1730
|
var init_compat = __esm({
|
|
2020
1731
|
"../../node_modules/apache-arrow/util/compat.mjs"() {
|
|
2021
|
-
[BigIntCtor, BigIntAvailable] = (() => {
|
|
2022
|
-
const BigIntUnavailableError = () => {
|
|
2023
|
-
throw new Error("BigInt is not available in this environment");
|
|
2024
|
-
};
|
|
2025
|
-
function BigIntUnavailable() {
|
|
2026
|
-
throw BigIntUnavailableError();
|
|
2027
|
-
}
|
|
2028
|
-
BigIntUnavailable.asIntN = () => {
|
|
2029
|
-
throw BigIntUnavailableError();
|
|
2030
|
-
};
|
|
2031
|
-
BigIntUnavailable.asUintN = () => {
|
|
2032
|
-
throw BigIntUnavailableError();
|
|
2033
|
-
};
|
|
2034
|
-
return typeof BigInt !== "undefined" ? [BigInt, true] : [BigIntUnavailable, false];
|
|
2035
|
-
})();
|
|
2036
|
-
[BigInt64ArrayCtor, BigInt64ArrayAvailable] = (() => {
|
|
2037
|
-
const BigInt64ArrayUnavailableError = () => {
|
|
2038
|
-
throw new Error("BigInt64Array is not available in this environment");
|
|
2039
|
-
};
|
|
2040
|
-
class BigInt64ArrayUnavailable {
|
|
2041
|
-
static get BYTES_PER_ELEMENT() {
|
|
2042
|
-
return 8;
|
|
2043
|
-
}
|
|
2044
|
-
static of() {
|
|
2045
|
-
throw BigInt64ArrayUnavailableError();
|
|
2046
|
-
}
|
|
2047
|
-
static from() {
|
|
2048
|
-
throw BigInt64ArrayUnavailableError();
|
|
2049
|
-
}
|
|
2050
|
-
constructor() {
|
|
2051
|
-
throw BigInt64ArrayUnavailableError();
|
|
2052
|
-
}
|
|
2053
|
-
}
|
|
2054
|
-
return typeof BigInt64Array !== "undefined" ? [BigInt64Array, true] : [BigInt64ArrayUnavailable, false];
|
|
2055
|
-
})();
|
|
2056
|
-
[BigUint64ArrayCtor, BigUint64ArrayAvailable] = (() => {
|
|
2057
|
-
const BigUint64ArrayUnavailableError = () => {
|
|
2058
|
-
throw new Error("BigUint64Array is not available in this environment");
|
|
2059
|
-
};
|
|
2060
|
-
class BigUint64ArrayUnavailable {
|
|
2061
|
-
static get BYTES_PER_ELEMENT() {
|
|
2062
|
-
return 8;
|
|
2063
|
-
}
|
|
2064
|
-
static of() {
|
|
2065
|
-
throw BigUint64ArrayUnavailableError();
|
|
2066
|
-
}
|
|
2067
|
-
static from() {
|
|
2068
|
-
throw BigUint64ArrayUnavailableError();
|
|
2069
|
-
}
|
|
2070
|
-
constructor() {
|
|
2071
|
-
throw BigUint64ArrayUnavailableError();
|
|
2072
|
-
}
|
|
2073
|
-
}
|
|
2074
|
-
return typeof BigUint64Array !== "undefined" ? [BigUint64Array, true] : [BigUint64ArrayUnavailable, false];
|
|
2075
|
-
})();
|
|
2076
1732
|
isNumber = (x) => typeof x === "number";
|
|
2077
1733
|
isBoolean = (x) => typeof x === "boolean";
|
|
2078
1734
|
isFunction = (x) => typeof x === "function";
|
|
@@ -2304,18 +1960,18 @@
|
|
|
2304
1960
|
var SharedArrayBuf, toInt8Array, toInt16Array, toInt32Array, toBigInt64Array, toUint8Array, toUint16Array, toUint32Array, toBigUint64Array, toFloat32Array, toFloat64Array, toUint8ClampedArray, pump, toInt8ArrayIterator, toInt16ArrayIterator, toInt32ArrayIterator, toUint8ArrayIterator, toUint16ArrayIterator, toUint32ArrayIterator, toFloat32ArrayIterator, toFloat64ArrayIterator, toUint8ClampedArrayIterator, toInt8ArrayAsyncIterator, toInt16ArrayAsyncIterator, toInt32ArrayAsyncIterator, toUint8ArrayAsyncIterator, toUint16ArrayAsyncIterator, toUint32ArrayAsyncIterator, toFloat32ArrayAsyncIterator, toFloat64ArrayAsyncIterator, toUint8ClampedArrayAsyncIterator;
|
|
2305
1961
|
var init_buffer = __esm({
|
|
2306
1962
|
"../../node_modules/apache-arrow/util/buffer.mjs"() {
|
|
2307
|
-
|
|
1963
|
+
init_tslib_es6();
|
|
2308
1964
|
init_utf8();
|
|
2309
1965
|
init_compat();
|
|
2310
1966
|
SharedArrayBuf = typeof SharedArrayBuffer !== "undefined" ? SharedArrayBuffer : ArrayBuffer;
|
|
2311
1967
|
toInt8Array = (input) => toArrayBufferView(Int8Array, input);
|
|
2312
1968
|
toInt16Array = (input) => toArrayBufferView(Int16Array, input);
|
|
2313
1969
|
toInt32Array = (input) => toArrayBufferView(Int32Array, input);
|
|
2314
|
-
toBigInt64Array = (input) => toArrayBufferView(
|
|
1970
|
+
toBigInt64Array = (input) => toArrayBufferView(BigInt64Array, input);
|
|
2315
1971
|
toUint8Array = (input) => toArrayBufferView(Uint8Array, input);
|
|
2316
1972
|
toUint16Array = (input) => toArrayBufferView(Uint16Array, input);
|
|
2317
1973
|
toUint32Array = (input) => toArrayBufferView(Uint32Array, input);
|
|
2318
|
-
toBigUint64Array = (input) => toArrayBufferView(
|
|
1974
|
+
toBigUint64Array = (input) => toArrayBufferView(BigUint64Array, input);
|
|
2319
1975
|
toFloat32Array = (input) => toArrayBufferView(Float32Array, input);
|
|
2320
1976
|
toFloat64Array = (input) => toArrayBufferView(Float64Array, input);
|
|
2321
1977
|
toUint8ClampedArray = (input) => toArrayBufferView(Uint8ClampedArray, input);
|
|
@@ -2522,7 +2178,7 @@
|
|
|
2522
2178
|
var adapters_default, pump2, AdaptiveByteReader, onEvent;
|
|
2523
2179
|
var init_adapters = __esm({
|
|
2524
2180
|
"../../node_modules/apache-arrow/io/adapters.mjs"() {
|
|
2525
|
-
|
|
2181
|
+
init_tslib_es6();
|
|
2526
2182
|
init_buffer();
|
|
2527
2183
|
adapters_default = {
|
|
2528
2184
|
fromIterable(source) {
|
|
@@ -2729,8 +2385,8 @@
|
|
|
2729
2385
|
var bn_exports = {};
|
|
2730
2386
|
__export(bn_exports, {
|
|
2731
2387
|
BN: () => BN,
|
|
2732
|
-
|
|
2733
|
-
|
|
2388
|
+
bigNumToBigInt: () => bigNumToBigInt,
|
|
2389
|
+
bigNumToString: () => bigNumToString,
|
|
2734
2390
|
isArrowBigNumSymbol: () => isArrowBigNumSymbol
|
|
2735
2391
|
});
|
|
2736
2392
|
function BigNum(x, ...xs) {
|
|
@@ -2748,10 +2404,10 @@
|
|
|
2748
2404
|
function DecimalBigNum(...args) {
|
|
2749
2405
|
return BigNum.apply(this, args);
|
|
2750
2406
|
}
|
|
2751
|
-
function
|
|
2407
|
+
function bigNumToNumber(bn) {
|
|
2752
2408
|
const { buffer, byteOffset, length, "signed": signed } = bn;
|
|
2753
|
-
const words = new
|
|
2754
|
-
const negative = signed && words
|
|
2409
|
+
const words = new BigUint64Array(buffer, byteOffset, length);
|
|
2410
|
+
const negative = signed && words.at(-1) & BigInt(1) << BigInt(63);
|
|
2755
2411
|
let number = negative ? BigInt(1) : BigInt(0);
|
|
2756
2412
|
let i = BigInt(0);
|
|
2757
2413
|
if (!negative) {
|
|
@@ -2766,7 +2422,7 @@
|
|
|
2766
2422
|
}
|
|
2767
2423
|
return number;
|
|
2768
2424
|
}
|
|
2769
|
-
function
|
|
2425
|
+
function unsignedBigNumToString(a) {
|
|
2770
2426
|
let digits = "";
|
|
2771
2427
|
const base64 = new Uint32Array(2);
|
|
2772
2428
|
let base32 = new Uint16Array(a.buffer, a.byteOffset, a.byteLength / 2);
|
|
@@ -2782,48 +2438,72 @@
|
|
|
2782
2438
|
base64[0] = base64[0] - base64[1] * 10;
|
|
2783
2439
|
digits = `${base64[0]}${digits}`;
|
|
2784
2440
|
} while (checks[0] || checks[1] || checks[2] || checks[3]);
|
|
2785
|
-
return digits ? digits : `0`;
|
|
2441
|
+
return digits !== null && digits !== void 0 ? digits : `0`;
|
|
2786
2442
|
}
|
|
2787
|
-
var isArrowBigNumSymbol,
|
|
2443
|
+
var isArrowBigNumSymbol, bigNumToString, bigNumToBigInt, BN;
|
|
2788
2444
|
var init_bn = __esm({
|
|
2789
2445
|
"../../node_modules/apache-arrow/util/bn.mjs"() {
|
|
2790
2446
|
init_buffer();
|
|
2791
|
-
init_compat();
|
|
2792
2447
|
isArrowBigNumSymbol = Symbol.for("isArrowBigNum");
|
|
2793
2448
|
BigNum.prototype[isArrowBigNumSymbol] = true;
|
|
2794
2449
|
BigNum.prototype.toJSON = function() {
|
|
2795
|
-
return `"${
|
|
2450
|
+
return `"${bigNumToString(this)}"`;
|
|
2796
2451
|
};
|
|
2797
2452
|
BigNum.prototype.valueOf = function() {
|
|
2798
|
-
return
|
|
2453
|
+
return bigNumToNumber(this);
|
|
2799
2454
|
};
|
|
2800
2455
|
BigNum.prototype.toString = function() {
|
|
2801
|
-
return
|
|
2456
|
+
return bigNumToString(this);
|
|
2802
2457
|
};
|
|
2803
2458
|
BigNum.prototype[Symbol.toPrimitive] = function(hint = "default") {
|
|
2804
2459
|
switch (hint) {
|
|
2805
2460
|
case "number":
|
|
2806
|
-
return
|
|
2461
|
+
return bigNumToNumber(this);
|
|
2807
2462
|
case "string":
|
|
2808
|
-
return
|
|
2463
|
+
return bigNumToString(this);
|
|
2809
2464
|
case "default":
|
|
2810
|
-
return
|
|
2465
|
+
return bigNumToBigInt(this);
|
|
2811
2466
|
}
|
|
2812
|
-
return
|
|
2467
|
+
return bigNumToString(this);
|
|
2813
2468
|
};
|
|
2814
2469
|
Object.setPrototypeOf(SignedBigNum.prototype, Object.create(Int32Array.prototype));
|
|
2815
2470
|
Object.setPrototypeOf(UnsignedBigNum.prototype, Object.create(Uint32Array.prototype));
|
|
2816
2471
|
Object.setPrototypeOf(DecimalBigNum.prototype, Object.create(Uint32Array.prototype));
|
|
2817
|
-
Object.assign(SignedBigNum.prototype, BigNum.prototype, { "constructor": SignedBigNum, "signed": true, "TypedArray": Int32Array, "BigIntArray":
|
|
2818
|
-
Object.assign(UnsignedBigNum.prototype, BigNum.prototype, { "constructor": UnsignedBigNum, "signed": false, "TypedArray": Uint32Array, "BigIntArray":
|
|
2819
|
-
Object.assign(DecimalBigNum.prototype, BigNum.prototype, { "constructor": DecimalBigNum, "signed": true, "TypedArray": Uint32Array, "BigIntArray":
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2472
|
+
Object.assign(SignedBigNum.prototype, BigNum.prototype, { "constructor": SignedBigNum, "signed": true, "TypedArray": Int32Array, "BigIntArray": BigInt64Array });
|
|
2473
|
+
Object.assign(UnsignedBigNum.prototype, BigNum.prototype, { "constructor": UnsignedBigNum, "signed": false, "TypedArray": Uint32Array, "BigIntArray": BigUint64Array });
|
|
2474
|
+
Object.assign(DecimalBigNum.prototype, BigNum.prototype, { "constructor": DecimalBigNum, "signed": true, "TypedArray": Uint32Array, "BigIntArray": BigUint64Array });
|
|
2475
|
+
bigNumToString = (a) => {
|
|
2476
|
+
if (a.byteLength === 8) {
|
|
2477
|
+
const bigIntArray = new a["BigIntArray"](a.buffer, a.byteOffset, 1);
|
|
2478
|
+
return `${bigIntArray[0]}`;
|
|
2479
|
+
}
|
|
2480
|
+
if (!a["signed"]) {
|
|
2481
|
+
return unsignedBigNumToString(a);
|
|
2482
|
+
}
|
|
2483
|
+
let array = new Uint16Array(a.buffer, a.byteOffset, a.byteLength / 2);
|
|
2484
|
+
const highOrderWord = new Int16Array([array.at(-1)])[0];
|
|
2485
|
+
if (highOrderWord >= 0) {
|
|
2486
|
+
return unsignedBigNumToString(a);
|
|
2487
|
+
}
|
|
2488
|
+
array = array.slice();
|
|
2489
|
+
let carry = 1;
|
|
2490
|
+
for (let i = 0; i < array.length; i++) {
|
|
2491
|
+
const elem = array[i];
|
|
2492
|
+
const updated = ~elem + carry;
|
|
2493
|
+
array[i] = updated;
|
|
2494
|
+
carry &= elem === 0 ? 1 : 0;
|
|
2495
|
+
}
|
|
2496
|
+
const negated = unsignedBigNumToString(array);
|
|
2497
|
+
return `-${negated}`;
|
|
2498
|
+
};
|
|
2499
|
+
bigNumToBigInt = (a) => {
|
|
2500
|
+
if (a.byteLength === 8) {
|
|
2501
|
+
const bigIntArray = new a["BigIntArray"](a.buffer, a.byteOffset, 1);
|
|
2502
|
+
return bigIntArray[0];
|
|
2503
|
+
} else {
|
|
2504
|
+
return bigNumToString(a);
|
|
2505
|
+
}
|
|
2506
|
+
};
|
|
2827
2507
|
BN = class {
|
|
2828
2508
|
static new(num, isSigned) {
|
|
2829
2509
|
switch (isSigned) {
|
|
@@ -2836,7 +2516,7 @@
|
|
|
2836
2516
|
case Int8Array:
|
|
2837
2517
|
case Int16Array:
|
|
2838
2518
|
case Int32Array:
|
|
2839
|
-
case
|
|
2519
|
+
case BigInt64Array:
|
|
2840
2520
|
return new SignedBigNum(num);
|
|
2841
2521
|
}
|
|
2842
2522
|
if (num.byteLength === 16) {
|
|
@@ -2860,6 +2540,18 @@
|
|
|
2860
2540
|
}
|
|
2861
2541
|
});
|
|
2862
2542
|
|
|
2543
|
+
// ../../node_modules/apache-arrow/util/bigint.mjs
|
|
2544
|
+
function bigIntToNumber(number) {
|
|
2545
|
+
if (typeof number === "bigint" && (number < Number.MIN_SAFE_INTEGER || number > Number.MAX_SAFE_INTEGER)) {
|
|
2546
|
+
throw new TypeError(`${number} is not safe to convert to a number.`);
|
|
2547
|
+
}
|
|
2548
|
+
return Number(number);
|
|
2549
|
+
}
|
|
2550
|
+
var init_bigint = __esm({
|
|
2551
|
+
"../../node_modules/apache-arrow/util/bigint.mjs"() {
|
|
2552
|
+
}
|
|
2553
|
+
});
|
|
2554
|
+
|
|
2863
2555
|
// ../../node_modules/apache-arrow/type.mjs
|
|
2864
2556
|
function strideForType(type) {
|
|
2865
2557
|
const t = type;
|
|
@@ -2883,6 +2575,7 @@
|
|
|
2883
2575
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, DataType2, Null2, Int_, Int82, Int162, Int322, Int642, Uint82, Uint162, Uint322, Uint642, Float2, Float162, Float322, Float642, Binary2, Utf82, Bool2, Decimal, Date_, Time_, Timestamp_, Interval_, List, Struct2, Union_, FixedSizeBinary, FixedSizeList2, Map_, getId, Dictionary;
|
|
2884
2576
|
var init_type = __esm({
|
|
2885
2577
|
"../../node_modules/apache-arrow/type.mjs"() {
|
|
2578
|
+
init_bigint();
|
|
2886
2579
|
init_enum2();
|
|
2887
2580
|
DataType2 = class {
|
|
2888
2581
|
static isNull(x) {
|
|
@@ -3416,7 +3109,7 @@
|
|
|
3416
3109
|
this.indices = indices;
|
|
3417
3110
|
this.dictionary = dictionary;
|
|
3418
3111
|
this.isOrdered = isOrdered || false;
|
|
3419
|
-
this.id = id == null ? getId() :
|
|
3112
|
+
this.id = id == null ? getId() : bigIntToNumber(id);
|
|
3420
3113
|
}
|
|
3421
3114
|
get typeId() {
|
|
3422
3115
|
return Type2.Dictionary;
|
|
@@ -4797,31 +4490,6 @@
|
|
|
4797
4490
|
init_buffer();
|
|
4798
4491
|
kUnknownNullCount = -1;
|
|
4799
4492
|
Data = class {
|
|
4800
|
-
constructor(type, offset, length, nullCount, buffers, children = [], dictionary) {
|
|
4801
|
-
this.type = type;
|
|
4802
|
-
this.children = children;
|
|
4803
|
-
this.dictionary = dictionary;
|
|
4804
|
-
this.offset = Math.floor(Math.max(offset || 0, 0));
|
|
4805
|
-
this.length = Math.floor(Math.max(length || 0, 0));
|
|
4806
|
-
this._nullCount = Math.floor(Math.max(nullCount || 0, -1));
|
|
4807
|
-
let buffer;
|
|
4808
|
-
if (buffers instanceof Data) {
|
|
4809
|
-
this.stride = buffers.stride;
|
|
4810
|
-
this.values = buffers.values;
|
|
4811
|
-
this.typeIds = buffers.typeIds;
|
|
4812
|
-
this.nullBitmap = buffers.nullBitmap;
|
|
4813
|
-
this.valueOffsets = buffers.valueOffsets;
|
|
4814
|
-
} else {
|
|
4815
|
-
this.stride = strideForType(type);
|
|
4816
|
-
if (buffers) {
|
|
4817
|
-
(buffer = buffers[0]) && (this.valueOffsets = buffer);
|
|
4818
|
-
(buffer = buffers[1]) && (this.values = buffer);
|
|
4819
|
-
(buffer = buffers[2]) && (this.nullBitmap = buffer);
|
|
4820
|
-
(buffer = buffers[3]) && (this.typeIds = buffer);
|
|
4821
|
-
}
|
|
4822
|
-
}
|
|
4823
|
-
this.nullable = this._nullCount !== 0 && this.nullBitmap && this.nullBitmap.byteLength > 0;
|
|
4824
|
-
}
|
|
4825
4493
|
get typeId() {
|
|
4826
4494
|
return this.type.typeId;
|
|
4827
4495
|
}
|
|
@@ -4848,6 +4516,31 @@
|
|
|
4848
4516
|
}
|
|
4849
4517
|
return nullCount;
|
|
4850
4518
|
}
|
|
4519
|
+
constructor(type, offset, length, nullCount, buffers, children = [], dictionary) {
|
|
4520
|
+
this.type = type;
|
|
4521
|
+
this.children = children;
|
|
4522
|
+
this.dictionary = dictionary;
|
|
4523
|
+
this.offset = Math.floor(Math.max(offset || 0, 0));
|
|
4524
|
+
this.length = Math.floor(Math.max(length || 0, 0));
|
|
4525
|
+
this._nullCount = Math.floor(Math.max(nullCount || 0, -1));
|
|
4526
|
+
let buffer;
|
|
4527
|
+
if (buffers instanceof Data) {
|
|
4528
|
+
this.stride = buffers.stride;
|
|
4529
|
+
this.values = buffers.values;
|
|
4530
|
+
this.typeIds = buffers.typeIds;
|
|
4531
|
+
this.nullBitmap = buffers.nullBitmap;
|
|
4532
|
+
this.valueOffsets = buffers.valueOffsets;
|
|
4533
|
+
} else {
|
|
4534
|
+
this.stride = strideForType(type);
|
|
4535
|
+
if (buffers) {
|
|
4536
|
+
(buffer = buffers[0]) && (this.valueOffsets = buffer);
|
|
4537
|
+
(buffer = buffers[1]) && (this.values = buffer);
|
|
4538
|
+
(buffer = buffers[2]) && (this.nullBitmap = buffer);
|
|
4539
|
+
(buffer = buffers[3]) && (this.typeIds = buffer);
|
|
4540
|
+
}
|
|
4541
|
+
}
|
|
4542
|
+
this.nullable = this._nullCount !== 0 && this.nullBitmap && this.nullBitmap.byteLength > 0;
|
|
4543
|
+
}
|
|
4851
4544
|
getValid(index) {
|
|
4852
4545
|
if (this.nullable && this.nullCount > 0) {
|
|
4853
4546
|
const pos = this.offset + index;
|
|
@@ -5501,7 +5194,7 @@
|
|
|
5501
5194
|
this.type = type;
|
|
5502
5195
|
this.stride = strideForType(type);
|
|
5503
5196
|
this.numChildren = (_d2 = (_c2 = type.children) === null || _c2 === void 0 ? void 0 : _c2.length) !== null && _d2 !== void 0 ? _d2 : 0;
|
|
5504
|
-
this.length = this._offsets
|
|
5197
|
+
this.length = this._offsets.at(-1);
|
|
5505
5198
|
}
|
|
5506
5199
|
get byteLength() {
|
|
5507
5200
|
if (this._byteLength === -1) {
|
|
@@ -5568,9 +5261,9 @@
|
|
|
5568
5261
|
case 1:
|
|
5569
5262
|
return data[0].values.subarray(0, length * stride);
|
|
5570
5263
|
default:
|
|
5571
|
-
return data.reduce((memo, { values }) => {
|
|
5572
|
-
memo.array.set(values, memo.offset);
|
|
5573
|
-
memo.offset +=
|
|
5264
|
+
return data.reduce((memo, { values, length: chunk_length }) => {
|
|
5265
|
+
memo.array.set(values.subarray(0, chunk_length * stride), memo.offset);
|
|
5266
|
+
memo.offset += chunk_length * stride;
|
|
5574
5267
|
return memo;
|
|
5575
5268
|
}, { array: new ArrayType(length * stride), offset: 0 }).array;
|
|
5576
5269
|
}
|
|
@@ -5714,15 +5407,12 @@ return true;`);
|
|
|
5714
5407
|
function valueToCase(x) {
|
|
5715
5408
|
if (typeof x !== "bigint") {
|
|
5716
5409
|
return valueToString(x);
|
|
5717
|
-
} else if (BigIntAvailable) {
|
|
5718
|
-
return `${valueToString(x)}n`;
|
|
5719
5410
|
}
|
|
5720
|
-
return
|
|
5411
|
+
return `${valueToString(x)}n`;
|
|
5721
5412
|
}
|
|
5722
5413
|
var init_valid = __esm({
|
|
5723
5414
|
"../../node_modules/apache-arrow/builder/valid.mjs"() {
|
|
5724
5415
|
init_pretty();
|
|
5725
|
-
init_compat();
|
|
5726
5416
|
}
|
|
5727
5417
|
});
|
|
5728
5418
|
|
|
@@ -5731,7 +5421,7 @@ return true;`);
|
|
|
5731
5421
|
var init_buffer2 = __esm({
|
|
5732
5422
|
"../../node_modules/apache-arrow/builder/buffer.mjs"() {
|
|
5733
5423
|
init_buffer();
|
|
5734
|
-
roundLengthUpToNearest64Bytes = (len, BPE) => (len * BPE + 63 & ~63 || 64) / BPE;
|
|
5424
|
+
roundLengthUpToNearest64Bytes = (len, BPE) => (Math.ceil(len) * BPE + 63 & ~63 || 64) / BPE;
|
|
5735
5425
|
sliceOrExtendArray = (arr, len = 0) => arr.length >= len ? arr.subarray(0, len) : memcpy(new arr.constructor(len), arr, 0);
|
|
5736
5426
|
BufferBuilder = class {
|
|
5737
5427
|
constructor(buffer, stride = 1) {
|
|
@@ -5739,10 +5429,10 @@ return true;`);
|
|
|
5739
5429
|
this.stride = stride;
|
|
5740
5430
|
this.BYTES_PER_ELEMENT = buffer.BYTES_PER_ELEMENT;
|
|
5741
5431
|
this.ArrayType = buffer.constructor;
|
|
5742
|
-
this._resize(this.length = Math.
|
|
5432
|
+
this._resize(this.length = Math.ceil(buffer.length / stride));
|
|
5743
5433
|
}
|
|
5744
5434
|
get byteLength() {
|
|
5745
|
-
return Math.
|
|
5435
|
+
return Math.ceil(this.length * this.stride) * this.BYTES_PER_ELEMENT;
|
|
5746
5436
|
}
|
|
5747
5437
|
get reservedLength() {
|
|
5748
5438
|
return this.buffer.length / this.stride;
|
|
@@ -5856,6 +5546,12 @@ return true;`);
|
|
|
5856
5546
|
init_valid();
|
|
5857
5547
|
init_buffer2();
|
|
5858
5548
|
Builder = class {
|
|
5549
|
+
static throughNode(options) {
|
|
5550
|
+
throw new Error(`"throughNode" not available in this environment`);
|
|
5551
|
+
}
|
|
5552
|
+
static throughDOM(options) {
|
|
5553
|
+
throw new Error(`"throughDOM" not available in this environment`);
|
|
5554
|
+
}
|
|
5859
5555
|
constructor({ "type": type, "nullValues": nulls }) {
|
|
5860
5556
|
this.length = 0;
|
|
5861
5557
|
this.finished = false;
|
|
@@ -5868,12 +5564,6 @@ return true;`);
|
|
|
5868
5564
|
this._isValid = createIsValidFunction(nulls);
|
|
5869
5565
|
}
|
|
5870
5566
|
}
|
|
5871
|
-
static throughNode(options) {
|
|
5872
|
-
throw new Error(`"throughNode" not available in this environment`);
|
|
5873
|
-
}
|
|
5874
|
-
static throughDOM(options) {
|
|
5875
|
-
throw new Error(`"throughDOM" not available in this environment`);
|
|
5876
|
-
}
|
|
5877
5567
|
toVector() {
|
|
5878
5568
|
return new Vector([this.flush()]);
|
|
5879
5569
|
}
|
|
@@ -6083,10 +5773,10 @@ return true;`);
|
|
|
6083
5773
|
}
|
|
6084
5774
|
static createBlock(builder, offset, metaDataLength, bodyLength) {
|
|
6085
5775
|
builder.prep(8, 24);
|
|
6086
|
-
builder.writeInt64(bodyLength);
|
|
5776
|
+
builder.writeInt64(BigInt(bodyLength !== null && bodyLength !== void 0 ? bodyLength : 0));
|
|
6087
5777
|
builder.pad(4);
|
|
6088
5778
|
builder.writeInt32(metaDataLength);
|
|
6089
|
-
builder.writeInt64(offset);
|
|
5779
|
+
builder.writeInt64(BigInt(offset !== null && offset !== void 0 ? offset : 0));
|
|
6090
5780
|
return builder.offset();
|
|
6091
5781
|
}
|
|
6092
5782
|
};
|
|
@@ -6115,29 +5805,6 @@ return true;`);
|
|
|
6115
5805
|
}
|
|
6116
5806
|
});
|
|
6117
5807
|
|
|
6118
|
-
// ../../node_modules/apache-arrow/node_modules/flatbuffers/mjs/long.js
|
|
6119
|
-
var Long;
|
|
6120
|
-
var init_long = __esm({
|
|
6121
|
-
"../../node_modules/apache-arrow/node_modules/flatbuffers/mjs/long.js"() {
|
|
6122
|
-
Long = class {
|
|
6123
|
-
constructor(low, high) {
|
|
6124
|
-
this.low = low | 0;
|
|
6125
|
-
this.high = high | 0;
|
|
6126
|
-
}
|
|
6127
|
-
static create(low, high) {
|
|
6128
|
-
return low == 0 && high == 0 ? Long.ZERO : new Long(low, high);
|
|
6129
|
-
}
|
|
6130
|
-
toFloat64() {
|
|
6131
|
-
return (this.low >>> 0) + this.high * 4294967296;
|
|
6132
|
-
}
|
|
6133
|
-
equals(other) {
|
|
6134
|
-
return this.low == other.low && this.high == other.high;
|
|
6135
|
-
}
|
|
6136
|
-
};
|
|
6137
|
-
Long.ZERO = new Long(0, 0);
|
|
6138
|
-
}
|
|
6139
|
-
});
|
|
6140
|
-
|
|
6141
5808
|
// ../../node_modules/apache-arrow/node_modules/flatbuffers/mjs/encoding.js
|
|
6142
5809
|
var Encoding;
|
|
6143
5810
|
var init_encoding = __esm({
|
|
@@ -6154,13 +5821,13 @@ return true;`);
|
|
|
6154
5821
|
var init_byte_buffer = __esm({
|
|
6155
5822
|
"../../node_modules/apache-arrow/node_modules/flatbuffers/mjs/byte-buffer.js"() {
|
|
6156
5823
|
init_constants();
|
|
6157
|
-
init_long();
|
|
6158
5824
|
init_utils();
|
|
6159
5825
|
init_encoding();
|
|
6160
5826
|
ByteBuffer = class {
|
|
6161
5827
|
constructor(bytes_) {
|
|
6162
5828
|
this.bytes_ = bytes_;
|
|
6163
5829
|
this.position_ = 0;
|
|
5830
|
+
this.text_decoder_ = new TextDecoder();
|
|
6164
5831
|
}
|
|
6165
5832
|
static allocate(byte_size) {
|
|
6166
5833
|
return new ByteBuffer(new Uint8Array(byte_size));
|
|
@@ -6199,10 +5866,10 @@ return true;`);
|
|
|
6199
5866
|
return this.readInt32(offset) >>> 0;
|
|
6200
5867
|
}
|
|
6201
5868
|
readInt64(offset) {
|
|
6202
|
-
return
|
|
5869
|
+
return BigInt.asIntN(64, BigInt(this.readUint32(offset)) + (BigInt(this.readUint32(offset + 4)) << BigInt(32)));
|
|
6203
5870
|
}
|
|
6204
5871
|
readUint64(offset) {
|
|
6205
|
-
return
|
|
5872
|
+
return BigInt.asUintN(64, BigInt(this.readUint32(offset)) + (BigInt(this.readUint32(offset + 4)) << BigInt(32)));
|
|
6206
5873
|
}
|
|
6207
5874
|
readFloat32(offset) {
|
|
6208
5875
|
int32[0] = this.readInt32(offset);
|
|
@@ -6240,12 +5907,12 @@ return true;`);
|
|
|
6240
5907
|
this.bytes_[offset + 3] = value >> 24;
|
|
6241
5908
|
}
|
|
6242
5909
|
writeInt64(offset, value) {
|
|
6243
|
-
this.writeInt32(offset, value
|
|
6244
|
-
this.writeInt32(offset + 4, value
|
|
5910
|
+
this.writeInt32(offset, Number(BigInt.asIntN(32, value)));
|
|
5911
|
+
this.writeInt32(offset + 4, Number(BigInt.asIntN(32, value >> BigInt(32))));
|
|
6245
5912
|
}
|
|
6246
5913
|
writeUint64(offset, value) {
|
|
6247
|
-
this.writeUint32(offset, value
|
|
6248
|
-
this.writeUint32(offset + 4, value
|
|
5914
|
+
this.writeUint32(offset, Number(BigInt.asUintN(32, value)));
|
|
5915
|
+
this.writeUint32(offset + 4, Number(BigInt.asUintN(32, value >> BigInt(32))));
|
|
6249
5916
|
}
|
|
6250
5917
|
writeFloat32(offset, value) {
|
|
6251
5918
|
float32[0] = value;
|
|
@@ -6278,39 +5945,12 @@ return true;`);
|
|
|
6278
5945
|
__string(offset, opt_encoding) {
|
|
6279
5946
|
offset += this.readInt32(offset);
|
|
6280
5947
|
const length = this.readInt32(offset);
|
|
6281
|
-
let result = "";
|
|
6282
|
-
let i = 0;
|
|
6283
5948
|
offset += SIZEOF_INT;
|
|
6284
|
-
|
|
6285
|
-
|
|
6286
|
-
|
|
6287
|
-
|
|
6288
|
-
|
|
6289
|
-
const a = this.readUint8(offset + i++);
|
|
6290
|
-
if (a < 192) {
|
|
6291
|
-
codePoint = a;
|
|
6292
|
-
} else {
|
|
6293
|
-
const b = this.readUint8(offset + i++);
|
|
6294
|
-
if (a < 224) {
|
|
6295
|
-
codePoint = (a & 31) << 6 | b & 63;
|
|
6296
|
-
} else {
|
|
6297
|
-
const c = this.readUint8(offset + i++);
|
|
6298
|
-
if (a < 240) {
|
|
6299
|
-
codePoint = (a & 15) << 12 | (b & 63) << 6 | c & 63;
|
|
6300
|
-
} else {
|
|
6301
|
-
const d = this.readUint8(offset + i++);
|
|
6302
|
-
codePoint = (a & 7) << 18 | (b & 63) << 12 | (c & 63) << 6 | d & 63;
|
|
6303
|
-
}
|
|
6304
|
-
}
|
|
6305
|
-
}
|
|
6306
|
-
if (codePoint < 65536) {
|
|
6307
|
-
result += String.fromCharCode(codePoint);
|
|
6308
|
-
} else {
|
|
6309
|
-
codePoint -= 65536;
|
|
6310
|
-
result += String.fromCharCode((codePoint >> 10) + 55296, (codePoint & (1 << 10) - 1) + 56320);
|
|
6311
|
-
}
|
|
6312
|
-
}
|
|
6313
|
-
return result;
|
|
5949
|
+
const utf8bytes = this.bytes_.subarray(offset, offset + length);
|
|
5950
|
+
if (opt_encoding === Encoding.UTF8_BYTES)
|
|
5951
|
+
return utf8bytes;
|
|
5952
|
+
else
|
|
5953
|
+
return this.text_decoder_.decode(utf8bytes);
|
|
6314
5954
|
}
|
|
6315
5955
|
__union_with_string(o, offset) {
|
|
6316
5956
|
if (typeof o === "string") {
|
|
@@ -6338,14 +5978,12 @@ return true;`);
|
|
|
6338
5978
|
}
|
|
6339
5979
|
return true;
|
|
6340
5980
|
}
|
|
6341
|
-
createLong(low, high) {
|
|
6342
|
-
return Long.create(low, high);
|
|
6343
|
-
}
|
|
6344
5981
|
createScalarList(listAccessor, listLength) {
|
|
6345
5982
|
const ret = [];
|
|
6346
5983
|
for (let i = 0; i < listLength; ++i) {
|
|
6347
|
-
|
|
6348
|
-
|
|
5984
|
+
const val = listAccessor(i);
|
|
5985
|
+
if (val !== null) {
|
|
5986
|
+
ret.push(val);
|
|
6349
5987
|
}
|
|
6350
5988
|
}
|
|
6351
5989
|
return ret;
|
|
@@ -6370,7 +6008,6 @@ return true;`);
|
|
|
6370
6008
|
"../../node_modules/apache-arrow/node_modules/flatbuffers/mjs/builder.js"() {
|
|
6371
6009
|
init_byte_buffer();
|
|
6372
6010
|
init_constants();
|
|
6373
|
-
init_long();
|
|
6374
6011
|
Builder2 = class {
|
|
6375
6012
|
constructor(opt_initial_size) {
|
|
6376
6013
|
this.minalign = 1;
|
|
@@ -6382,6 +6019,7 @@ return true;`);
|
|
|
6382
6019
|
this.vector_num_elems = 0;
|
|
6383
6020
|
this.force_defaults = false;
|
|
6384
6021
|
this.string_maps = null;
|
|
6022
|
+
this.text_encoder = new TextEncoder();
|
|
6385
6023
|
let initial_size;
|
|
6386
6024
|
if (!opt_initial_size) {
|
|
6387
6025
|
initial_size = 1024;
|
|
@@ -6491,7 +6129,7 @@ return true;`);
|
|
|
6491
6129
|
}
|
|
6492
6130
|
}
|
|
6493
6131
|
addFieldInt64(voffset, value, defaultValue) {
|
|
6494
|
-
if (this.force_defaults ||
|
|
6132
|
+
if (this.force_defaults || value !== defaultValue) {
|
|
6495
6133
|
this.addInt64(value);
|
|
6496
6134
|
this.slot(voffset);
|
|
6497
6135
|
}
|
|
@@ -6522,12 +6160,12 @@ return true;`);
|
|
|
6522
6160
|
}
|
|
6523
6161
|
nested(obj) {
|
|
6524
6162
|
if (obj != this.offset()) {
|
|
6525
|
-
throw new
|
|
6163
|
+
throw new TypeError("FlatBuffers: struct must be serialized inline.");
|
|
6526
6164
|
}
|
|
6527
6165
|
}
|
|
6528
6166
|
notNested() {
|
|
6529
6167
|
if (this.isNested) {
|
|
6530
|
-
throw new
|
|
6168
|
+
throw new TypeError("FlatBuffers: object serialization must not be nested.");
|
|
6531
6169
|
}
|
|
6532
6170
|
}
|
|
6533
6171
|
slot(voffset) {
|
|
@@ -6612,7 +6250,7 @@ return true;`);
|
|
|
6612
6250
|
const file_identifier = opt_file_identifier;
|
|
6613
6251
|
this.prep(this.minalign, SIZEOF_INT + FILE_IDENTIFIER_LENGTH + size_prefix);
|
|
6614
6252
|
if (file_identifier.length != FILE_IDENTIFIER_LENGTH) {
|
|
6615
|
-
throw new
|
|
6253
|
+
throw new TypeError("FlatBuffers: file identifier must be length " + FILE_IDENTIFIER_LENGTH);
|
|
6616
6254
|
}
|
|
6617
6255
|
for (let i = FILE_IDENTIFIER_LENGTH - 1; i >= 0; i--) {
|
|
6618
6256
|
this.writeInt8(file_identifier.charCodeAt(i));
|
|
@@ -6631,9 +6269,9 @@ return true;`);
|
|
|
6631
6269
|
requiredField(table, field) {
|
|
6632
6270
|
const table_start = this.bb.capacity() - table;
|
|
6633
6271
|
const vtable_start = table_start - this.bb.readInt32(table_start);
|
|
6634
|
-
const ok = this.bb.readInt16(vtable_start + field) != 0;
|
|
6272
|
+
const ok = field < this.bb.readInt16(vtable_start) && this.bb.readInt16(vtable_start + field) != 0;
|
|
6635
6273
|
if (!ok) {
|
|
6636
|
-
throw new
|
|
6274
|
+
throw new TypeError("FlatBuffers: field " + field + " must be set");
|
|
6637
6275
|
}
|
|
6638
6276
|
}
|
|
6639
6277
|
startVector(elem_size, num_elems, alignment) {
|
|
@@ -6661,40 +6299,14 @@ return true;`);
|
|
|
6661
6299
|
return offset;
|
|
6662
6300
|
}
|
|
6663
6301
|
createString(s) {
|
|
6664
|
-
if (
|
|
6302
|
+
if (s === null || s === void 0) {
|
|
6665
6303
|
return 0;
|
|
6666
6304
|
}
|
|
6667
6305
|
let utf8;
|
|
6668
6306
|
if (s instanceof Uint8Array) {
|
|
6669
6307
|
utf8 = s;
|
|
6670
6308
|
} else {
|
|
6671
|
-
utf8 =
|
|
6672
|
-
let i = 0;
|
|
6673
|
-
while (i < s.length) {
|
|
6674
|
-
let codePoint;
|
|
6675
|
-
const a = s.charCodeAt(i++);
|
|
6676
|
-
if (a < 55296 || a >= 56320) {
|
|
6677
|
-
codePoint = a;
|
|
6678
|
-
} else {
|
|
6679
|
-
const b = s.charCodeAt(i++);
|
|
6680
|
-
codePoint = (a << 10) + b + (65536 - (55296 << 10) - 56320);
|
|
6681
|
-
}
|
|
6682
|
-
if (codePoint < 128) {
|
|
6683
|
-
utf8.push(codePoint);
|
|
6684
|
-
} else {
|
|
6685
|
-
if (codePoint < 2048) {
|
|
6686
|
-
utf8.push(codePoint >> 6 & 31 | 192);
|
|
6687
|
-
} else {
|
|
6688
|
-
if (codePoint < 65536) {
|
|
6689
|
-
utf8.push(codePoint >> 12 & 15 | 224);
|
|
6690
|
-
} else {
|
|
6691
|
-
utf8.push(codePoint >> 18 & 7 | 240, codePoint >> 12 & 63 | 128);
|
|
6692
|
-
}
|
|
6693
|
-
utf8.push(codePoint >> 6 & 63 | 128);
|
|
6694
|
-
}
|
|
6695
|
-
utf8.push(codePoint & 63 | 128);
|
|
6696
|
-
}
|
|
6697
|
-
}
|
|
6309
|
+
utf8 = this.text_encoder.encode(s);
|
|
6698
6310
|
}
|
|
6699
6311
|
this.addInt8(0);
|
|
6700
6312
|
this.startVector(1, utf8.length, 1);
|
|
@@ -6704,9 +6316,6 @@ return true;`);
|
|
|
6704
6316
|
}
|
|
6705
6317
|
return this.endVector();
|
|
6706
6318
|
}
|
|
6707
|
-
createLong(low, high) {
|
|
6708
|
-
return Long.create(low, high);
|
|
6709
|
-
}
|
|
6710
6319
|
createObjectOffset(obj) {
|
|
6711
6320
|
if (obj === null) {
|
|
6712
6321
|
return 0;
|
|
@@ -6724,14 +6333,14 @@ return true;`);
|
|
|
6724
6333
|
if (val !== null) {
|
|
6725
6334
|
ret.push(this.createObjectOffset(val));
|
|
6726
6335
|
} else {
|
|
6727
|
-
throw new
|
|
6336
|
+
throw new TypeError("FlatBuffers: Argument for createObjectOffsetList cannot contain null.");
|
|
6728
6337
|
}
|
|
6729
6338
|
}
|
|
6730
6339
|
return ret;
|
|
6731
6340
|
}
|
|
6732
6341
|
createStructOffsetList(list, startFunc) {
|
|
6733
6342
|
startFunc(this, list.length);
|
|
6734
|
-
this.createObjectOffsetList(list);
|
|
6343
|
+
this.createObjectOffsetList(list.slice().reverse());
|
|
6735
6344
|
return this.endVector();
|
|
6736
6345
|
}
|
|
6737
6346
|
};
|
|
@@ -6746,7 +6355,6 @@ return true;`);
|
|
|
6746
6355
|
init_constants();
|
|
6747
6356
|
init_constants();
|
|
6748
6357
|
init_utils();
|
|
6749
|
-
init_long();
|
|
6750
6358
|
init_encoding();
|
|
6751
6359
|
init_builder2();
|
|
6752
6360
|
init_byte_buffer();
|
|
@@ -6920,7 +6528,7 @@ return true;`);
|
|
|
6920
6528
|
}
|
|
6921
6529
|
id() {
|
|
6922
6530
|
const offset = this.bb.__offset(this.bb_pos, 4);
|
|
6923
|
-
return offset ? this.bb.readInt64(this.bb_pos + offset) :
|
|
6531
|
+
return offset ? this.bb.readInt64(this.bb_pos + offset) : BigInt("0");
|
|
6924
6532
|
}
|
|
6925
6533
|
indexType(obj) {
|
|
6926
6534
|
const offset = this.bb.__offset(this.bb_pos, 6);
|
|
@@ -6938,7 +6546,7 @@ return true;`);
|
|
|
6938
6546
|
builder.startObject(4);
|
|
6939
6547
|
}
|
|
6940
6548
|
static addId(builder, id) {
|
|
6941
|
-
builder.addFieldInt64(0, id,
|
|
6549
|
+
builder.addFieldInt64(0, id, BigInt("0"));
|
|
6942
6550
|
}
|
|
6943
6551
|
static addIndexType(builder, indexTypeOffset) {
|
|
6944
6552
|
builder.addFieldOffset(1, indexTypeOffset, 0);
|
|
@@ -7487,10 +7095,10 @@ return true;`);
|
|
|
7487
7095
|
}
|
|
7488
7096
|
});
|
|
7489
7097
|
|
|
7490
|
-
// ../../node_modules/apache-arrow/fb/
|
|
7098
|
+
// ../../node_modules/apache-arrow/fb/struct-.mjs
|
|
7491
7099
|
var Struct_;
|
|
7492
7100
|
var init_struct2 = __esm({
|
|
7493
|
-
"../../node_modules/apache-arrow/fb/
|
|
7101
|
+
"../../node_modules/apache-arrow/fb/struct-.mjs"() {
|
|
7494
7102
|
init_flatbuffers();
|
|
7495
7103
|
Struct_ = class {
|
|
7496
7104
|
constructor() {
|
|
@@ -7779,6 +7387,7 @@ return true;`);
|
|
|
7779
7387
|
Type4[Type4["LargeBinary"] = 19] = "LargeBinary";
|
|
7780
7388
|
Type4[Type4["LargeUtf8"] = 20] = "LargeUtf8";
|
|
7781
7389
|
Type4[Type4["LargeList"] = 21] = "LargeList";
|
|
7390
|
+
Type4[Type4["RunEndEncoded"] = 22] = "RunEndEncoded";
|
|
7782
7391
|
})(Type3 || (Type3 = {}));
|
|
7783
7392
|
}
|
|
7784
7393
|
});
|
|
@@ -7943,7 +7552,7 @@ return true;`);
|
|
|
7943
7552
|
}
|
|
7944
7553
|
features(index) {
|
|
7945
7554
|
const offset = this.bb.__offset(this.bb_pos, 10);
|
|
7946
|
-
return offset ? this.bb.readInt64(this.bb.__vector(this.bb_pos + offset) + index * 8) :
|
|
7555
|
+
return offset ? this.bb.readInt64(this.bb.__vector(this.bb_pos + offset) + index * 8) : BigInt(0);
|
|
7947
7556
|
}
|
|
7948
7557
|
featuresLength() {
|
|
7949
7558
|
const offset = this.bb.__offset(this.bb_pos, 10);
|
|
@@ -8192,12 +7801,6 @@ return true;`);
|
|
|
8192
7801
|
Schema2.prototype.metadata = null;
|
|
8193
7802
|
Schema2.prototype.dictionaries = null;
|
|
8194
7803
|
Field2 = class {
|
|
8195
|
-
constructor(name, type, nullable = false, metadata2) {
|
|
8196
|
-
this.name = name;
|
|
8197
|
-
this.type = type;
|
|
8198
|
-
this.nullable = nullable;
|
|
8199
|
-
this.metadata = metadata2 || new Map();
|
|
8200
|
-
}
|
|
8201
7804
|
static new(...args) {
|
|
8202
7805
|
let [name, type, nullable, metadata2] = args;
|
|
8203
7806
|
if (args[0] && typeof args[0] === "object") {
|
|
@@ -8208,6 +7811,12 @@ return true;`);
|
|
|
8208
7811
|
}
|
|
8209
7812
|
return new Field2(`${name}`, type, nullable, metadata2);
|
|
8210
7813
|
}
|
|
7814
|
+
constructor(name, type, nullable = false, metadata2) {
|
|
7815
|
+
this.name = name;
|
|
7816
|
+
this.type = type;
|
|
7817
|
+
this.nullable = nullable;
|
|
7818
|
+
this.metadata = metadata2 || new Map();
|
|
7819
|
+
}
|
|
8211
7820
|
get typeId() {
|
|
8212
7821
|
return this.type.typeId;
|
|
8213
7822
|
}
|
|
@@ -8231,7 +7840,7 @@ return true;`);
|
|
|
8231
7840
|
});
|
|
8232
7841
|
|
|
8233
7842
|
// ../../node_modules/apache-arrow/ipc/metadata/file.mjs
|
|
8234
|
-
var
|
|
7843
|
+
var Builder3, ByteBuffer2, Footer_, OffHeapFooter, FileBlock;
|
|
8235
7844
|
var init_file = __esm({
|
|
8236
7845
|
"../../node_modules/apache-arrow/ipc/metadata/file.mjs"() {
|
|
8237
7846
|
init_block();
|
|
@@ -8240,16 +7849,10 @@ return true;`);
|
|
|
8240
7849
|
init_schema2();
|
|
8241
7850
|
init_enum2();
|
|
8242
7851
|
init_buffer();
|
|
8243
|
-
|
|
7852
|
+
init_bigint();
|
|
8244
7853
|
Builder3 = Builder2;
|
|
8245
7854
|
ByteBuffer2 = ByteBuffer;
|
|
8246
7855
|
Footer_ = class {
|
|
8247
|
-
constructor(schema, version = MetadataVersion.V4, recordBatches, dictionaryBatches) {
|
|
8248
|
-
this.schema = schema;
|
|
8249
|
-
this.version = version;
|
|
8250
|
-
recordBatches && (this._recordBatches = recordBatches);
|
|
8251
|
-
dictionaryBatches && (this._dictionaryBatches = dictionaryBatches);
|
|
8252
|
-
}
|
|
8253
7856
|
static decode(buf) {
|
|
8254
7857
|
buf = new ByteBuffer2(toUint8Array(buf));
|
|
8255
7858
|
const footer = Footer.getRootAsFooter(buf);
|
|
@@ -8283,6 +7886,12 @@ return true;`);
|
|
|
8283
7886
|
get numDictionaries() {
|
|
8284
7887
|
return this._dictionaryBatches.length;
|
|
8285
7888
|
}
|
|
7889
|
+
constructor(schema, version = MetadataVersion.V4, recordBatches, dictionaryBatches) {
|
|
7890
|
+
this.schema = schema;
|
|
7891
|
+
this.version = version;
|
|
7892
|
+
recordBatches && (this._recordBatches = recordBatches);
|
|
7893
|
+
dictionaryBatches && (this._dictionaryBatches = dictionaryBatches);
|
|
7894
|
+
}
|
|
8286
7895
|
*recordBatches() {
|
|
8287
7896
|
for (let block, i = -1, n = this.numRecordBatches; ++i < n; ) {
|
|
8288
7897
|
if (block = this.getRecordBatch(i)) {
|
|
@@ -8305,16 +7914,16 @@ return true;`);
|
|
|
8305
7914
|
}
|
|
8306
7915
|
};
|
|
8307
7916
|
OffHeapFooter = class extends Footer_ {
|
|
8308
|
-
constructor(schema, _footer) {
|
|
8309
|
-
super(schema, _footer.version());
|
|
8310
|
-
this._footer = _footer;
|
|
8311
|
-
}
|
|
8312
7917
|
get numRecordBatches() {
|
|
8313
7918
|
return this._footer.recordBatchesLength();
|
|
8314
7919
|
}
|
|
8315
7920
|
get numDictionaries() {
|
|
8316
7921
|
return this._footer.dictionariesLength();
|
|
8317
7922
|
}
|
|
7923
|
+
constructor(schema, _footer) {
|
|
7924
|
+
super(schema, _footer.version());
|
|
7925
|
+
this._footer = _footer;
|
|
7926
|
+
}
|
|
8318
7927
|
getRecordBatch(index) {
|
|
8319
7928
|
if (index >= 0 && index < this.numRecordBatches) {
|
|
8320
7929
|
const fileBlock = this._footer.recordBatches(index);
|
|
@@ -8335,20 +7944,20 @@ return true;`);
|
|
|
8335
7944
|
}
|
|
8336
7945
|
};
|
|
8337
7946
|
FileBlock = class {
|
|
8338
|
-
constructor(metaDataLength, bodyLength, offset) {
|
|
8339
|
-
this.metaDataLength = metaDataLength;
|
|
8340
|
-
this.offset = typeof offset === "number" ? offset : offset.low;
|
|
8341
|
-
this.bodyLength = typeof bodyLength === "number" ? bodyLength : bodyLength.low;
|
|
8342
|
-
}
|
|
8343
7947
|
static decode(block) {
|
|
8344
7948
|
return new FileBlock(block.metaDataLength(), block.bodyLength(), block.offset());
|
|
8345
7949
|
}
|
|
8346
7950
|
static encode(b, fileBlock) {
|
|
8347
7951
|
const { metaDataLength } = fileBlock;
|
|
8348
|
-
const offset =
|
|
8349
|
-
const bodyLength =
|
|
7952
|
+
const offset = BigInt(fileBlock.offset);
|
|
7953
|
+
const bodyLength = BigInt(fileBlock.bodyLength);
|
|
8350
7954
|
return Block.createBlock(b, offset, metaDataLength, bodyLength);
|
|
8351
7955
|
}
|
|
7956
|
+
constructor(metaDataLength, bodyLength, offset) {
|
|
7957
|
+
this.metaDataLength = metaDataLength;
|
|
7958
|
+
this.offset = bigIntToNumber(offset);
|
|
7959
|
+
this.bodyLength = bigIntToNumber(bodyLength);
|
|
7960
|
+
}
|
|
8352
7961
|
};
|
|
8353
7962
|
}
|
|
8354
7963
|
});
|
|
@@ -8357,7 +7966,7 @@ return true;`);
|
|
|
8357
7966
|
var ITERATOR_DONE, ArrowJSON, ReadableInterop, AsyncQueue;
|
|
8358
7967
|
var init_interfaces = __esm({
|
|
8359
7968
|
"../../node_modules/apache-arrow/io/interfaces.mjs"() {
|
|
8360
|
-
|
|
7969
|
+
init_tslib_es6();
|
|
8361
7970
|
init_adapters();
|
|
8362
7971
|
ITERATOR_DONE = Object.freeze({ done: true, value: void 0 });
|
|
8363
7972
|
ArrowJSON = class {
|
|
@@ -8487,7 +8096,7 @@ return true;`);
|
|
|
8487
8096
|
var AsyncByteQueue, ByteStream, AsyncByteStream, ByteStreamSource, AsyncByteStreamSource;
|
|
8488
8097
|
var init_stream = __esm({
|
|
8489
8098
|
"../../node_modules/apache-arrow/io/stream.mjs"() {
|
|
8490
|
-
|
|
8099
|
+
init_tslib_es6();
|
|
8491
8100
|
init_adapters();
|
|
8492
8101
|
init_utf8();
|
|
8493
8102
|
init_interfaces();
|
|
@@ -8504,12 +8113,14 @@ return true;`);
|
|
|
8504
8113
|
}
|
|
8505
8114
|
toUint8Array(sync = false) {
|
|
8506
8115
|
return sync ? joinUint8Arrays(this._values)[0] : (() => __awaiter(this, void 0, void 0, function* () {
|
|
8507
|
-
var e_1,
|
|
8116
|
+
var _a5, e_1, _b2, _c2;
|
|
8508
8117
|
const buffers = [];
|
|
8509
8118
|
let byteLength = 0;
|
|
8510
8119
|
try {
|
|
8511
|
-
for (var
|
|
8512
|
-
|
|
8120
|
+
for (var _d2 = true, _e2 = __asyncValues(this), _f2; _f2 = yield _e2.next(), _a5 = _f2.done, !_a5; _d2 = true) {
|
|
8121
|
+
_c2 = _f2.value;
|
|
8122
|
+
_d2 = false;
|
|
8123
|
+
const chunk = _c2;
|
|
8513
8124
|
buffers.push(chunk);
|
|
8514
8125
|
byteLength += chunk.byteLength;
|
|
8515
8126
|
}
|
|
@@ -8517,8 +8128,8 @@ return true;`);
|
|
|
8517
8128
|
e_1 = { error: e_1_1 };
|
|
8518
8129
|
} finally {
|
|
8519
8130
|
try {
|
|
8520
|
-
if (
|
|
8521
|
-
yield
|
|
8131
|
+
if (!_d2 && !_a5 && (_b2 = _e2.return))
|
|
8132
|
+
yield _b2.call(_e2);
|
|
8522
8133
|
} finally {
|
|
8523
8134
|
if (e_1)
|
|
8524
8135
|
throw e_1.error;
|
|
@@ -8673,7 +8284,7 @@ return true;`);
|
|
|
8673
8284
|
var RandomAccessFile, AsyncRandomAccessFile;
|
|
8674
8285
|
var init_file2 = __esm({
|
|
8675
8286
|
"../../node_modules/apache-arrow/io/file.mjs"() {
|
|
8676
|
-
|
|
8287
|
+
init_tslib_es6();
|
|
8677
8288
|
init_stream();
|
|
8678
8289
|
init_buffer();
|
|
8679
8290
|
RandomAccessFile = class extends ByteStream {
|
|
@@ -8681,7 +8292,7 @@ return true;`);
|
|
|
8681
8292
|
super();
|
|
8682
8293
|
this.position = 0;
|
|
8683
8294
|
this.buffer = toUint8Array(buffer);
|
|
8684
|
-
this.size =
|
|
8295
|
+
this.size = byteLength === void 0 ? this.buffer.byteLength : byteLength;
|
|
8685
8296
|
}
|
|
8686
8297
|
readInt32(position) {
|
|
8687
8298
|
const { buffer, byteOffset } = this.readAt(position, 4);
|
|
@@ -9564,13 +9175,14 @@ return true;`);
|
|
|
9564
9175
|
const offsets = this._offsets;
|
|
9565
9176
|
const [child] = this.children;
|
|
9566
9177
|
for (const [index, value] of pending) {
|
|
9567
|
-
if (value ===
|
|
9178
|
+
if (typeof value === "undefined") {
|
|
9568
9179
|
offsets.set(index, 0);
|
|
9569
9180
|
} else {
|
|
9570
|
-
const
|
|
9181
|
+
const v = value;
|
|
9182
|
+
const n = v.length;
|
|
9571
9183
|
const start = offsets.set(index, n).buffer[index];
|
|
9572
9184
|
for (let i = -1; ++i < n; ) {
|
|
9573
|
-
child.set(start + i,
|
|
9185
|
+
child.set(start + i, v[i]);
|
|
9574
9186
|
}
|
|
9575
9187
|
}
|
|
9576
9188
|
}
|
|
@@ -10112,7 +9724,6 @@ return true;`);
|
|
|
10112
9724
|
}
|
|
10113
9725
|
var init_factories = __esm({
|
|
10114
9726
|
"../../node_modules/apache-arrow/factories.mjs"() {
|
|
10115
|
-
init_modules();
|
|
10116
9727
|
init_builderctor();
|
|
10117
9728
|
}
|
|
10118
9729
|
});
|
|
@@ -10218,7 +9829,7 @@ return true;`);
|
|
|
10218
9829
|
if (args[0] instanceof Schema2) {
|
|
10219
9830
|
schema = args.shift();
|
|
10220
9831
|
}
|
|
10221
|
-
if (args
|
|
9832
|
+
if (args.at(-1) instanceof Uint32Array) {
|
|
10222
9833
|
offsets = args.pop();
|
|
10223
9834
|
}
|
|
10224
9835
|
const unwrap = (x) => {
|
|
@@ -10698,8 +10309,8 @@ return true;`);
|
|
|
10698
10309
|
}
|
|
10699
10310
|
static createBuffer(builder, offset, length) {
|
|
10700
10311
|
builder.prep(8, 16);
|
|
10701
|
-
builder.writeInt64(length);
|
|
10702
|
-
builder.writeInt64(offset);
|
|
10312
|
+
builder.writeInt64(BigInt(length !== null && length !== void 0 ? length : 0));
|
|
10313
|
+
builder.writeInt64(BigInt(offset !== null && offset !== void 0 ? offset : 0));
|
|
10703
10314
|
return builder.offset();
|
|
10704
10315
|
}
|
|
10705
10316
|
};
|
|
@@ -10731,8 +10342,8 @@ return true;`);
|
|
|
10731
10342
|
}
|
|
10732
10343
|
static createFieldNode(builder, length, null_count) {
|
|
10733
10344
|
builder.prep(8, 16);
|
|
10734
|
-
builder.writeInt64(null_count);
|
|
10735
|
-
builder.writeInt64(length);
|
|
10345
|
+
builder.writeInt64(BigInt(null_count !== null && null_count !== void 0 ? null_count : 0));
|
|
10346
|
+
builder.writeInt64(BigInt(length !== null && length !== void 0 ? length : 0));
|
|
10736
10347
|
return builder.offset();
|
|
10737
10348
|
}
|
|
10738
10349
|
};
|
|
@@ -10766,7 +10377,7 @@ return true;`);
|
|
|
10766
10377
|
}
|
|
10767
10378
|
length() {
|
|
10768
10379
|
const offset = this.bb.__offset(this.bb_pos, 4);
|
|
10769
|
-
return offset ? this.bb.readInt64(this.bb_pos + offset) :
|
|
10380
|
+
return offset ? this.bb.readInt64(this.bb_pos + offset) : BigInt("0");
|
|
10770
10381
|
}
|
|
10771
10382
|
nodes(index, obj) {
|
|
10772
10383
|
const offset = this.bb.__offset(this.bb_pos, 6);
|
|
@@ -10792,7 +10403,7 @@ return true;`);
|
|
|
10792
10403
|
builder.startObject(4);
|
|
10793
10404
|
}
|
|
10794
10405
|
static addLength(builder, length) {
|
|
10795
|
-
builder.addFieldInt64(0, length,
|
|
10406
|
+
builder.addFieldInt64(0, length, BigInt("0"));
|
|
10796
10407
|
}
|
|
10797
10408
|
static addNodes(builder, nodesOffset) {
|
|
10798
10409
|
builder.addFieldOffset(1, nodesOffset, 0);
|
|
@@ -10842,7 +10453,7 @@ return true;`);
|
|
|
10842
10453
|
}
|
|
10843
10454
|
id() {
|
|
10844
10455
|
const offset = this.bb.__offset(this.bb_pos, 4);
|
|
10845
|
-
return offset ? this.bb.readInt64(this.bb_pos + offset) :
|
|
10456
|
+
return offset ? this.bb.readInt64(this.bb_pos + offset) : BigInt("0");
|
|
10846
10457
|
}
|
|
10847
10458
|
data(obj) {
|
|
10848
10459
|
const offset = this.bb.__offset(this.bb_pos, 6);
|
|
@@ -10856,7 +10467,7 @@ return true;`);
|
|
|
10856
10467
|
builder.startObject(3);
|
|
10857
10468
|
}
|
|
10858
10469
|
static addId(builder, id) {
|
|
10859
|
-
builder.addFieldInt64(0, id,
|
|
10470
|
+
builder.addFieldInt64(0, id, BigInt("0"));
|
|
10860
10471
|
}
|
|
10861
10472
|
static addData(builder, dataOffset) {
|
|
10862
10473
|
builder.addFieldOffset(1, dataOffset, 0);
|
|
@@ -10926,7 +10537,7 @@ return true;`);
|
|
|
10926
10537
|
}
|
|
10927
10538
|
bodyLength() {
|
|
10928
10539
|
const offset = this.bb.__offset(this.bb_pos, 10);
|
|
10929
|
-
return offset ? this.bb.readInt64(this.bb_pos + offset) :
|
|
10540
|
+
return offset ? this.bb.readInt64(this.bb_pos + offset) : BigInt("0");
|
|
10930
10541
|
}
|
|
10931
10542
|
customMetadata(index, obj) {
|
|
10932
10543
|
const offset = this.bb.__offset(this.bb_pos, 12);
|
|
@@ -10949,7 +10560,7 @@ return true;`);
|
|
|
10949
10560
|
builder.addFieldOffset(2, headerOffset, 0);
|
|
10950
10561
|
}
|
|
10951
10562
|
static addBodyLength(builder, bodyLength) {
|
|
10952
|
-
builder.addFieldInt64(3, bodyLength,
|
|
10563
|
+
builder.addFieldInt64(3, bodyLength, BigInt("0"));
|
|
10953
10564
|
}
|
|
10954
10565
|
static addCustomMetadata(builder, customMetadataOffset) {
|
|
10955
10566
|
builder.addFieldOffset(4, customMetadataOffset, 0);
|
|
@@ -10988,10 +10599,9 @@ return true;`);
|
|
|
10988
10599
|
});
|
|
10989
10600
|
|
|
10990
10601
|
// ../../node_modules/apache-arrow/visitor/typeassembler.mjs
|
|
10991
|
-
var
|
|
10602
|
+
var TypeAssembler, instance8;
|
|
10992
10603
|
var init_typeassembler = __esm({
|
|
10993
10604
|
"../../node_modules/apache-arrow/visitor/typeassembler.mjs"() {
|
|
10994
|
-
init_flatbuffers();
|
|
10995
10605
|
init_visitor();
|
|
10996
10606
|
init_null();
|
|
10997
10607
|
init_int();
|
|
@@ -11011,7 +10621,6 @@ return true;`);
|
|
|
11011
10621
|
init_fixed_size_binary();
|
|
11012
10622
|
init_fixed_size_list();
|
|
11013
10623
|
init_map2();
|
|
11014
|
-
Long3 = Long;
|
|
11015
10624
|
TypeAssembler = class extends Visitor {
|
|
11016
10625
|
visit(node, builder) {
|
|
11017
10626
|
return node == null || builder == null ? void 0 : super.visit(node, builder);
|
|
@@ -11094,7 +10703,7 @@ return true;`);
|
|
|
11094
10703
|
visitDictionary(node, b) {
|
|
11095
10704
|
const indexType = this.visit(node.indices, b);
|
|
11096
10705
|
DictionaryEncoding.startDictionaryEncoding(b);
|
|
11097
|
-
DictionaryEncoding.addId(b,
|
|
10706
|
+
DictionaryEncoding.addId(b, BigInt(node.id));
|
|
11098
10707
|
DictionaryEncoding.addIsOrdered(b, node.isOrdered);
|
|
11099
10708
|
if (indexType !== void 0) {
|
|
11100
10709
|
DictionaryEncoding.addIndexType(b, indexType);
|
|
@@ -11358,7 +10967,7 @@ return true;`);
|
|
|
11358
10967
|
if (!dictionaries || !(dictMeta = f.dictionary())) {
|
|
11359
10968
|
type = decodeFieldType(f, decodeFieldChildren(f, dictionaries));
|
|
11360
10969
|
field = new Field2(f.name(), type, f.nullable(), decodeCustomMetadata(f));
|
|
11361
|
-
} else if (!dictionaries.has(id = dictMeta.id()
|
|
10970
|
+
} else if (!dictionaries.has(id = bigIntToNumber(dictMeta.id()))) {
|
|
11362
10971
|
keys = (keys = dictMeta.indexType()) ? decodeIndexType(keys) : new Int322();
|
|
11363
10972
|
dictionaries.set(id, type = decodeFieldType(f, decodeFieldChildren(f, dictionaries)));
|
|
11364
10973
|
dictType = new Dictionary(type, keys, id, dictMeta.isOrdered());
|
|
@@ -11524,7 +11133,7 @@ return true;`);
|
|
|
11524
11133
|
BufferRegion.encode(b, b_);
|
|
11525
11134
|
const buffersVectorOffset = b.endVector();
|
|
11526
11135
|
RecordBatch2.startRecordBatch(b);
|
|
11527
|
-
RecordBatch2.addLength(b,
|
|
11136
|
+
RecordBatch2.addLength(b, BigInt(recordBatch.length));
|
|
11528
11137
|
RecordBatch2.addNodes(b, nodesVectorOffset);
|
|
11529
11138
|
RecordBatch2.addBuffers(b, buffersVectorOffset);
|
|
11530
11139
|
return RecordBatch2.endRecordBatch(b);
|
|
@@ -11532,18 +11141,18 @@ return true;`);
|
|
|
11532
11141
|
function encodeDictionaryBatch(b, dictionaryBatch) {
|
|
11533
11142
|
const dataOffset = RecordBatch3.encode(b, dictionaryBatch.data);
|
|
11534
11143
|
DictionaryBatch.startDictionaryBatch(b);
|
|
11535
|
-
DictionaryBatch.addId(b,
|
|
11144
|
+
DictionaryBatch.addId(b, BigInt(dictionaryBatch.id));
|
|
11536
11145
|
DictionaryBatch.addIsDelta(b, dictionaryBatch.isDelta);
|
|
11537
11146
|
DictionaryBatch.addData(b, dataOffset);
|
|
11538
11147
|
return DictionaryBatch.endDictionaryBatch(b);
|
|
11539
11148
|
}
|
|
11540
11149
|
function encodeFieldNode(b, node) {
|
|
11541
|
-
return FieldNode.createFieldNode(b,
|
|
11150
|
+
return FieldNode.createFieldNode(b, BigInt(node.length), BigInt(node.nullCount));
|
|
11542
11151
|
}
|
|
11543
11152
|
function encodeBufferRegion(b, node) {
|
|
11544
|
-
return Buffer2.createBuffer(b,
|
|
11153
|
+
return Buffer2.createBuffer(b, BigInt(node.offset), BigInt(node.length));
|
|
11545
11154
|
}
|
|
11546
|
-
var
|
|
11155
|
+
var Builder4, ByteBuffer3, Message2, RecordBatch3, DictionaryBatch2, BufferRegion, FieldNode2, platformIsLittleEndian;
|
|
11547
11156
|
var init_message2 = __esm({
|
|
11548
11157
|
"../../node_modules/apache-arrow/ipc/metadata/message.mjs"() {
|
|
11549
11158
|
init_flatbuffers();
|
|
@@ -11570,21 +11179,14 @@ return true;`);
|
|
|
11570
11179
|
init_message();
|
|
11571
11180
|
init_schema2();
|
|
11572
11181
|
init_buffer();
|
|
11182
|
+
init_bigint();
|
|
11573
11183
|
init_enum2();
|
|
11574
11184
|
init_typeassembler();
|
|
11575
11185
|
init_json();
|
|
11576
11186
|
init_type();
|
|
11577
|
-
Long4 = Long;
|
|
11578
11187
|
Builder4 = Builder2;
|
|
11579
11188
|
ByteBuffer3 = ByteBuffer;
|
|
11580
11189
|
Message2 = class {
|
|
11581
|
-
constructor(bodyLength, version, headerType, header) {
|
|
11582
|
-
this._version = version;
|
|
11583
|
-
this._headerType = headerType;
|
|
11584
|
-
this.body = new Uint8Array(0);
|
|
11585
|
-
header && (this._createHeader = () => header);
|
|
11586
|
-
this._bodyLength = typeof bodyLength === "number" ? bodyLength : bodyLength.low;
|
|
11587
|
-
}
|
|
11588
11190
|
static fromJSON(msg, headerType) {
|
|
11589
11191
|
const message = new Message2(0, MetadataVersion.V4, headerType);
|
|
11590
11192
|
message._createHeader = messageHeaderFromJSON(msg, headerType);
|
|
@@ -11614,7 +11216,7 @@ return true;`);
|
|
|
11614
11216
|
Message.addVersion(b, MetadataVersion.V4);
|
|
11615
11217
|
Message.addHeader(b, headerOffset);
|
|
11616
11218
|
Message.addHeaderType(b, message.headerType);
|
|
11617
|
-
Message.addBodyLength(b,
|
|
11219
|
+
Message.addBodyLength(b, BigInt(message.bodyLength));
|
|
11618
11220
|
Message.finishMessageBuffer(b, Message.endMessage(b));
|
|
11619
11221
|
return b.asUint8Array();
|
|
11620
11222
|
}
|
|
@@ -11654,13 +11256,15 @@ return true;`);
|
|
|
11654
11256
|
isDictionaryBatch() {
|
|
11655
11257
|
return this.headerType === MessageHeader.DictionaryBatch;
|
|
11656
11258
|
}
|
|
11259
|
+
constructor(bodyLength, version, headerType, header) {
|
|
11260
|
+
this._version = version;
|
|
11261
|
+
this._headerType = headerType;
|
|
11262
|
+
this.body = new Uint8Array(0);
|
|
11263
|
+
header && (this._createHeader = () => header);
|
|
11264
|
+
this._bodyLength = bigIntToNumber(bodyLength);
|
|
11265
|
+
}
|
|
11657
11266
|
};
|
|
11658
11267
|
RecordBatch3 = class {
|
|
11659
|
-
constructor(length, nodes, buffers) {
|
|
11660
|
-
this._nodes = nodes;
|
|
11661
|
-
this._buffers = buffers;
|
|
11662
|
-
this._length = typeof length === "number" ? length : length.low;
|
|
11663
|
-
}
|
|
11664
11268
|
get nodes() {
|
|
11665
11269
|
return this._nodes;
|
|
11666
11270
|
}
|
|
@@ -11670,13 +11274,13 @@ return true;`);
|
|
|
11670
11274
|
get buffers() {
|
|
11671
11275
|
return this._buffers;
|
|
11672
11276
|
}
|
|
11277
|
+
constructor(length, nodes, buffers) {
|
|
11278
|
+
this._nodes = nodes;
|
|
11279
|
+
this._buffers = buffers;
|
|
11280
|
+
this._length = bigIntToNumber(length);
|
|
11281
|
+
}
|
|
11673
11282
|
};
|
|
11674
11283
|
DictionaryBatch2 = class {
|
|
11675
|
-
constructor(data, id, isDelta = false) {
|
|
11676
|
-
this._data = data;
|
|
11677
|
-
this._isDelta = isDelta;
|
|
11678
|
-
this._id = typeof id === "number" ? id : id.low;
|
|
11679
|
-
}
|
|
11680
11284
|
get id() {
|
|
11681
11285
|
return this._id;
|
|
11682
11286
|
}
|
|
@@ -11695,17 +11299,22 @@ return true;`);
|
|
|
11695
11299
|
get buffers() {
|
|
11696
11300
|
return this.data.buffers;
|
|
11697
11301
|
}
|
|
11302
|
+
constructor(data, id, isDelta = false) {
|
|
11303
|
+
this._data = data;
|
|
11304
|
+
this._isDelta = isDelta;
|
|
11305
|
+
this._id = bigIntToNumber(id);
|
|
11306
|
+
}
|
|
11698
11307
|
};
|
|
11699
11308
|
BufferRegion = class {
|
|
11700
11309
|
constructor(offset, length) {
|
|
11701
|
-
this.offset =
|
|
11702
|
-
this.length =
|
|
11310
|
+
this.offset = bigIntToNumber(offset);
|
|
11311
|
+
this.length = bigIntToNumber(length);
|
|
11703
11312
|
}
|
|
11704
11313
|
};
|
|
11705
11314
|
FieldNode2 = class {
|
|
11706
11315
|
constructor(length, nullCount) {
|
|
11707
|
-
this.length =
|
|
11708
|
-
this.nullCount =
|
|
11316
|
+
this.length = bigIntToNumber(length);
|
|
11317
|
+
this.nullCount = bigIntToNumber(nullCount);
|
|
11709
11318
|
}
|
|
11710
11319
|
};
|
|
11711
11320
|
Field2["encode"] = encodeField;
|
|
@@ -11744,7 +11353,7 @@ return true;`);
|
|
|
11744
11353
|
var invalidMessageType, nullMessage, invalidMessageMetadata, invalidMessageBodyLength, MessageReader, AsyncMessageReader, JSONMessageReader, PADDING, MAGIC_STR, MAGIC, magicLength, magicAndPadding, magicX2AndPadding;
|
|
11745
11354
|
var init_message3 = __esm({
|
|
11746
11355
|
"../../node_modules/apache-arrow/ipc/message.mjs"() {
|
|
11747
|
-
|
|
11356
|
+
init_tslib_es6();
|
|
11748
11357
|
init_enum2();
|
|
11749
11358
|
init_flatbuffers();
|
|
11750
11359
|
init_message2();
|
|
@@ -11994,8 +11603,8 @@ return true;`);
|
|
|
11994
11603
|
});
|
|
11995
11604
|
|
|
11996
11605
|
// ../../node_modules/apache-arrow/ipc/reader.mjs
|
|
11997
|
-
function shouldAutoDestroy(
|
|
11998
|
-
return options && typeof options["autoDestroy"] === "boolean" ? options["autoDestroy"] :
|
|
11606
|
+
function shouldAutoDestroy(self, options) {
|
|
11607
|
+
return options && typeof options["autoDestroy"] === "boolean" ? options["autoDestroy"] : self["autoDestroy"];
|
|
11999
11608
|
}
|
|
12000
11609
|
function* readAllSync(source) {
|
|
12001
11610
|
const reader = RecordBatchReader.from(source);
|
|
@@ -12053,7 +11662,7 @@ return true;`);
|
|
|
12053
11662
|
var RecordBatchReader, RecordBatchStreamReader, AsyncRecordBatchStreamReader, RecordBatchFileReader, AsyncRecordBatchFileReader, RecordBatchReaderImpl, RecordBatchStreamReaderImpl, AsyncRecordBatchStreamReaderImpl, RecordBatchFileReaderImpl, AsyncRecordBatchFileReaderImpl, RecordBatchJSONReaderImpl;
|
|
12054
11663
|
var init_reader = __esm({
|
|
12055
11664
|
"../../node_modules/apache-arrow/ipc/reader.mjs"() {
|
|
12056
|
-
|
|
11665
|
+
init_tslib_es6();
|
|
12057
11666
|
init_data();
|
|
12058
11667
|
init_vector2();
|
|
12059
11668
|
init_type();
|
|
@@ -12196,20 +11805,22 @@ return true;`);
|
|
|
12196
11805
|
this._impl = _impl;
|
|
12197
11806
|
}
|
|
12198
11807
|
readAll() {
|
|
12199
|
-
var e_1,
|
|
11808
|
+
var _a5, e_1, _b2, _c2;
|
|
12200
11809
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12201
11810
|
const batches = new Array();
|
|
12202
11811
|
try {
|
|
12203
|
-
for (var
|
|
12204
|
-
|
|
11812
|
+
for (var _d2 = true, _e2 = __asyncValues(this), _f2; _f2 = yield _e2.next(), _a5 = _f2.done, !_a5; _d2 = true) {
|
|
11813
|
+
_c2 = _f2.value;
|
|
11814
|
+
_d2 = false;
|
|
11815
|
+
const batch = _c2;
|
|
12205
11816
|
batches.push(batch);
|
|
12206
11817
|
}
|
|
12207
11818
|
} catch (e_1_1) {
|
|
12208
11819
|
e_1 = { error: e_1_1 };
|
|
12209
11820
|
} finally {
|
|
12210
11821
|
try {
|
|
12211
|
-
if (
|
|
12212
|
-
yield
|
|
11822
|
+
if (!_d2 && !_a5 && (_b2 = _e2.return))
|
|
11823
|
+
yield _b2.call(_e2);
|
|
12213
11824
|
} finally {
|
|
12214
11825
|
if (e_1)
|
|
12215
11826
|
throw e_1.error;
|
|
@@ -12238,6 +11849,12 @@ return true;`);
|
|
|
12238
11849
|
}
|
|
12239
11850
|
};
|
|
12240
11851
|
RecordBatchReaderImpl = class {
|
|
11852
|
+
get numDictionaries() {
|
|
11853
|
+
return this._dictionaryIndex;
|
|
11854
|
+
}
|
|
11855
|
+
get numRecordBatches() {
|
|
11856
|
+
return this._recordBatchIndex;
|
|
11857
|
+
}
|
|
12241
11858
|
constructor(dictionaries = new Map()) {
|
|
12242
11859
|
this.closed = false;
|
|
12243
11860
|
this.autoDestroy = true;
|
|
@@ -12245,12 +11862,6 @@ return true;`);
|
|
|
12245
11862
|
this._recordBatchIndex = 0;
|
|
12246
11863
|
this.dictionaries = dictionaries;
|
|
12247
11864
|
}
|
|
12248
|
-
get numDictionaries() {
|
|
12249
|
-
return this._dictionaryIndex;
|
|
12250
|
-
}
|
|
12251
|
-
get numRecordBatches() {
|
|
12252
|
-
return this._recordBatchIndex;
|
|
12253
|
-
}
|
|
12254
11865
|
isSync() {
|
|
12255
11866
|
return false;
|
|
12256
11867
|
}
|
|
@@ -12453,9 +12064,6 @@ return true;`);
|
|
|
12453
12064
|
}
|
|
12454
12065
|
};
|
|
12455
12066
|
RecordBatchFileReaderImpl = class extends RecordBatchStreamReaderImpl {
|
|
12456
|
-
constructor(source, dictionaries) {
|
|
12457
|
-
super(source instanceof RandomAccessFile ? source : new RandomAccessFile(source), dictionaries);
|
|
12458
|
-
}
|
|
12459
12067
|
get footer() {
|
|
12460
12068
|
return this._footer;
|
|
12461
12069
|
}
|
|
@@ -12465,6 +12073,9 @@ return true;`);
|
|
|
12465
12073
|
get numRecordBatches() {
|
|
12466
12074
|
return this._footer ? this._footer.numRecordBatches : 0;
|
|
12467
12075
|
}
|
|
12076
|
+
constructor(source, dictionaries) {
|
|
12077
|
+
super(source instanceof RandomAccessFile ? source : new RandomAccessFile(source), dictionaries);
|
|
12078
|
+
}
|
|
12468
12079
|
isSync() {
|
|
12469
12080
|
return true;
|
|
12470
12081
|
}
|
|
@@ -12535,11 +12146,6 @@ return true;`);
|
|
|
12535
12146
|
}
|
|
12536
12147
|
};
|
|
12537
12148
|
AsyncRecordBatchFileReaderImpl = class extends AsyncRecordBatchStreamReaderImpl {
|
|
12538
|
-
constructor(source, ...rest) {
|
|
12539
|
-
const byteLength = typeof rest[0] !== "number" ? rest.shift() : void 0;
|
|
12540
|
-
const dictionaries = rest[0] instanceof Map ? rest.shift() : void 0;
|
|
12541
|
-
super(source instanceof AsyncRandomAccessFile ? source : new AsyncRandomAccessFile(source, byteLength), dictionaries);
|
|
12542
|
-
}
|
|
12543
12149
|
get footer() {
|
|
12544
12150
|
return this._footer;
|
|
12545
12151
|
}
|
|
@@ -12549,6 +12155,11 @@ return true;`);
|
|
|
12549
12155
|
get numRecordBatches() {
|
|
12550
12156
|
return this._footer ? this._footer.numRecordBatches : 0;
|
|
12551
12157
|
}
|
|
12158
|
+
constructor(source, ...rest) {
|
|
12159
|
+
const byteLength = typeof rest[0] !== "number" ? rest.shift() : void 0;
|
|
12160
|
+
const dictionaries = rest[0] instanceof Map ? rest.shift() : void 0;
|
|
12161
|
+
super(source instanceof AsyncRandomAccessFile ? source : new AsyncRandomAccessFile(source, byteLength), dictionaries);
|
|
12162
|
+
}
|
|
12552
12163
|
isFile() {
|
|
12553
12164
|
return true;
|
|
12554
12165
|
}
|
|
@@ -12727,6 +12338,12 @@ return true;`);
|
|
|
12727
12338
|
init_message2();
|
|
12728
12339
|
init_type();
|
|
12729
12340
|
VectorAssembler = class extends Visitor {
|
|
12341
|
+
static assemble(...args) {
|
|
12342
|
+
const unwrap = (nodes) => nodes.flatMap((node) => Array.isArray(node) ? unwrap(node) : node instanceof RecordBatch ? node.data.children : node.data);
|
|
12343
|
+
const assembler = new VectorAssembler();
|
|
12344
|
+
assembler.visitMany(unwrap(args));
|
|
12345
|
+
return assembler;
|
|
12346
|
+
}
|
|
12730
12347
|
constructor() {
|
|
12731
12348
|
super();
|
|
12732
12349
|
this._byteLength = 0;
|
|
@@ -12734,12 +12351,6 @@ return true;`);
|
|
|
12734
12351
|
this._buffers = [];
|
|
12735
12352
|
this._bufferRegions = [];
|
|
12736
12353
|
}
|
|
12737
|
-
static assemble(...args) {
|
|
12738
|
-
const unwrap = (nodes) => nodes.flatMap((node) => Array.isArray(node) ? unwrap(node) : node instanceof RecordBatch ? node.data.children : node.data);
|
|
12739
|
-
const assembler = new VectorAssembler();
|
|
12740
|
-
assembler.visitMany(unwrap(args));
|
|
12741
|
-
return assembler;
|
|
12742
|
-
}
|
|
12743
12354
|
visit(data) {
|
|
12744
12355
|
if (data instanceof Vector) {
|
|
12745
12356
|
this.visitMany(data.data);
|
|
@@ -12809,20 +12420,22 @@ return true;`);
|
|
|
12809
12420
|
return writer.finish();
|
|
12810
12421
|
}
|
|
12811
12422
|
function writeAllAsync(writer, batches) {
|
|
12812
|
-
var batches_1, batches_1_1;
|
|
12813
|
-
var e_1,
|
|
12423
|
+
var _a5, batches_1, batches_1_1;
|
|
12424
|
+
var _b2, e_1, _c2, _d2;
|
|
12814
12425
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12815
12426
|
try {
|
|
12816
|
-
for (batches_1 = __asyncValues(batches); batches_1_1 = yield batches_1.next(),
|
|
12817
|
-
|
|
12427
|
+
for (_a5 = true, batches_1 = __asyncValues(batches); batches_1_1 = yield batches_1.next(), _b2 = batches_1_1.done, !_b2; _a5 = true) {
|
|
12428
|
+
_d2 = batches_1_1.value;
|
|
12429
|
+
_a5 = false;
|
|
12430
|
+
const batch = _d2;
|
|
12818
12431
|
writer.write(batch);
|
|
12819
12432
|
}
|
|
12820
12433
|
} catch (e_1_1) {
|
|
12821
12434
|
e_1 = { error: e_1_1 };
|
|
12822
12435
|
} finally {
|
|
12823
12436
|
try {
|
|
12824
|
-
if (
|
|
12825
|
-
yield
|
|
12437
|
+
if (!_a5 && !_b2 && (_c2 = batches_1.return))
|
|
12438
|
+
yield _c2.call(batches_1);
|
|
12826
12439
|
} finally {
|
|
12827
12440
|
if (e_1)
|
|
12828
12441
|
throw e_1.error;
|
|
@@ -12834,7 +12447,7 @@ return true;`);
|
|
|
12834
12447
|
var RecordBatchWriter, RecordBatchStreamWriter, RecordBatchFileWriter;
|
|
12835
12448
|
var init_writer = __esm({
|
|
12836
12449
|
"../../node_modules/apache-arrow/ipc/writer.mjs"() {
|
|
12837
|
-
|
|
12450
|
+
init_tslib_es6();
|
|
12838
12451
|
init_table();
|
|
12839
12452
|
init_message3();
|
|
12840
12453
|
init_vector2();
|
|
@@ -12850,6 +12463,12 @@ return true;`);
|
|
|
12850
12463
|
init_interfaces();
|
|
12851
12464
|
init_compat();
|
|
12852
12465
|
RecordBatchWriter = class extends ReadableInterop {
|
|
12466
|
+
static throughNode(options) {
|
|
12467
|
+
throw new Error(`"throughNode" not available in this environment`);
|
|
12468
|
+
}
|
|
12469
|
+
static throughDOM(writableStrategy, readableStrategy) {
|
|
12470
|
+
throw new Error(`"throughDOM" not available in this environment`);
|
|
12471
|
+
}
|
|
12853
12472
|
constructor(options) {
|
|
12854
12473
|
super();
|
|
12855
12474
|
this._position = 0;
|
|
@@ -12863,12 +12482,6 @@ return true;`);
|
|
|
12863
12482
|
this._autoDestroy = typeof options.autoDestroy === "boolean" ? options.autoDestroy : true;
|
|
12864
12483
|
this._writeLegacyIpcFormat = typeof options.writeLegacyIpcFormat === "boolean" ? options.writeLegacyIpcFormat : false;
|
|
12865
12484
|
}
|
|
12866
|
-
static throughNode(options) {
|
|
12867
|
-
throw new Error(`"throughNode" not available in this environment`);
|
|
12868
|
-
}
|
|
12869
|
-
static throughDOM(writableStrategy, readableStrategy) {
|
|
12870
|
-
throw new Error(`"throughDOM" not available in this environment`);
|
|
12871
|
-
}
|
|
12872
12485
|
toString(sync = false) {
|
|
12873
12486
|
return this._sink.toString(sync);
|
|
12874
12487
|
}
|
|
@@ -13165,7 +12778,7 @@ return true;`);
|
|
|
13165
12778
|
}
|
|
13166
12779
|
var init_iterable = __esm({
|
|
13167
12780
|
"../../node_modules/apache-arrow/io/whatwg/iterable.mjs"() {
|
|
13168
|
-
|
|
12781
|
+
init_tslib_es6();
|
|
13169
12782
|
init_buffer();
|
|
13170
12783
|
init_compat();
|
|
13171
12784
|
}
|
|
@@ -13178,7 +12791,7 @@ return true;`);
|
|
|
13178
12791
|
var BuilderTransform, chunkLength, chunkByteLength;
|
|
13179
12792
|
var init_builder3 = __esm({
|
|
13180
12793
|
"../../node_modules/apache-arrow/io/whatwg/builder.mjs"() {
|
|
13181
|
-
|
|
12794
|
+
init_tslib_es6();
|
|
13182
12795
|
init_factories();
|
|
13183
12796
|
BuilderTransform = class {
|
|
13184
12797
|
constructor(options) {
|
|
@@ -13301,7 +12914,7 @@ return true;`);
|
|
|
13301
12914
|
}
|
|
13302
12915
|
var init_reader2 = __esm({
|
|
13303
12916
|
"../../node_modules/apache-arrow/io/whatwg/reader.mjs"() {
|
|
13304
|
-
|
|
12917
|
+
init_tslib_es6();
|
|
13305
12918
|
init_stream();
|
|
13306
12919
|
init_reader();
|
|
13307
12920
|
}
|
|
@@ -13345,7 +12958,7 @@ return true;`);
|
|
|
13345
12958
|
}
|
|
13346
12959
|
var init_writer2 = __esm({
|
|
13347
12960
|
"../../node_modules/apache-arrow/io/whatwg/writer.mjs"() {
|
|
13348
|
-
|
|
12961
|
+
init_tslib_es6();
|
|
13349
12962
|
init_stream();
|
|
13350
12963
|
}
|
|
13351
12964
|
});
|
|
@@ -13533,6 +13146,7 @@ return true;`);
|
|
|
13533
13146
|
Uint64: () => Uint64,
|
|
13534
13147
|
Uint8: () => Uint8,
|
|
13535
13148
|
Utf8: () => Utf8,
|
|
13149
|
+
convertTable: () => convertTable,
|
|
13536
13150
|
convertToArrayRow: () => convertToArrayRow,
|
|
13537
13151
|
convertToObjectRow: () => convertToObjectRow,
|
|
13538
13152
|
deduceMeshField: () => deduceMeshField,
|
|
@@ -13565,6 +13179,7 @@ return true;`);
|
|
|
13565
13179
|
init_table_accessors();
|
|
13566
13180
|
init_arrow_like_table();
|
|
13567
13181
|
init_make_table();
|
|
13182
|
+
init_convert_table();
|
|
13568
13183
|
init_table_schema();
|
|
13569
13184
|
init_row_utils();
|
|
13570
13185
|
init_data_type();
|