@honua/app-platform 0.1.12 → 0.1.14
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/columnar/apache-arrow.d.ts +17 -0
- package/columnar/apache-arrow.d.ts.map +1 -0
- package/columnar/apache-arrow.js +1036 -0
- package/columnar/batch-cache-conformance.d.ts +66 -0
- package/columnar/batch-cache-conformance.d.ts.map +1 -0
- package/columnar/batch-cache-conformance.js +317 -0
- package/columnar/batch-cache-indexeddb.d.ts +31 -0
- package/columnar/batch-cache-indexeddb.d.ts.map +1 -0
- package/columnar/batch-cache-indexeddb.js +148 -0
- package/columnar/batch-cache.d.ts +298 -0
- package/columnar/batch-cache.d.ts.map +1 -0
- package/columnar/batch-cache.js +757 -0
- package/columnar/geoarrow-aggregate.d.ts +178 -0
- package/columnar/geoarrow-aggregate.d.ts.map +1 -0
- package/columnar/geoarrow-aggregate.js +976 -0
- package/columnar/geoarrow-patch.d.ts +382 -0
- package/columnar/geoarrow-patch.d.ts.map +1 -0
- package/columnar/geoarrow-patch.js +1656 -0
- package/columnar/geoarrow-reproject.d.ts +22 -0
- package/columnar/geoarrow-reproject.d.ts.map +1 -0
- package/columnar/geoarrow-reproject.js +119 -0
- package/columnar/geoarrow-serialization.d.ts +68 -0
- package/columnar/geoarrow-serialization.d.ts.map +1 -0
- package/columnar/geoarrow-serialization.js +331 -0
- package/columnar/geoarrow-types.d.ts +271 -0
- package/columnar/geoarrow-types.d.ts.map +1 -0
- package/columnar/geoarrow-types.js +15 -0
- package/columnar/geoarrow.d.ts +52 -0
- package/columnar/geoarrow.d.ts.map +1 -0
- package/columnar/geoarrow.js +1469 -0
- package/columnar/index.d.ts +43 -0
- package/columnar/index.d.ts.map +1 -0
- package/columnar/index.js +29 -0
- package/columnar/operators.d.ts +70 -0
- package/columnar/operators.d.ts.map +1 -0
- package/columnar/operators.js +307 -0
- package/columnar/result.d.ts +369 -0
- package/columnar/result.d.ts.map +1 -0
- package/columnar/result.js +815 -0
- package/columnar/telemetry.d.ts +152 -0
- package/columnar/telemetry.d.ts.map +1 -0
- package/columnar/telemetry.js +265 -0
- package/columnar/transfer.d.ts +28 -0
- package/columnar/transfer.d.ts.map +1 -0
- package/columnar/transfer.js +669 -0
- package/columnar/types.d.ts +175 -0
- package/columnar/types.d.ts.map +1 -0
- package/columnar/types.js +22 -0
- package/columnar/worker.d.ts +157 -0
- package/columnar/worker.d.ts.map +1 -0
- package/columnar/worker.js +1059 -0
- package/contract/pmtiles.d.ts +6 -5
- package/contract/pmtiles.d.ts.map +1 -1
- package/contract/pmtiles.js +30 -5
- package/contract/source.d.ts.map +1 -1
- package/contract/source.js +11 -8
- package/controls/catalog.d.ts.map +1 -1
- package/controls/catalog.js +110 -0
- package/controls/index.d.ts +1 -1
- package/controls/index.js +1 -1
- package/controls/types.d.ts +1 -1
- package/controls/types.js +1 -1
- package/core/client.d.ts.map +1 -1
- package/core/client.js +87 -19
- package/core/deprecation-notice.d.ts +28 -0
- package/core/deprecation-notice.d.ts.map +1 -0
- package/core/deprecation-notice.js +22 -0
- package/core/esri-geojson.d.ts.map +1 -1
- package/core/esri-geojson.js +14 -8
- package/core/optional-grpc-peer.d.ts +15 -0
- package/core/optional-grpc-peer.d.ts.map +1 -0
- package/core/optional-grpc-peer.js +60 -0
- package/esri-compat/basemap-gallery.d.ts +2 -0
- package/esri-compat/basemap-gallery.d.ts.map +1 -1
- package/esri-compat/basemap-gallery.js +12 -0
- package/esri-compat/basemap.d.ts +4 -0
- package/esri-compat/basemap.d.ts.map +1 -1
- package/esri-compat/basemap.js +70 -0
- package/esri-compat/bookmarks.d.ts +2 -0
- package/esri-compat/bookmarks.d.ts.map +1 -1
- package/esri-compat/bookmarks.js +12 -0
- package/esri-compat/controls.d.ts +18 -0
- package/esri-compat/controls.d.ts.map +1 -1
- package/esri-compat/controls.js +120 -57
- package/esri-compat/directions.d.ts +4 -0
- package/esri-compat/directions.d.ts.map +1 -1
- package/esri-compat/directions.js +30 -20
- package/esri-compat/editor.d.ts +4 -0
- package/esri-compat/editor.d.ts.map +1 -1
- package/esri-compat/editor.js +16 -0
- package/esri-compat/esri-config.d.ts +2 -1
- package/esri-compat/esri-config.d.ts.map +1 -1
- package/esri-compat/feature-effect.d.ts +23 -0
- package/esri-compat/feature-effect.d.ts.map +1 -0
- package/esri-compat/feature-effect.js +12 -0
- package/esri-compat/feature-form.d.ts +6 -0
- package/esri-compat/feature-form.d.ts.map +1 -1
- package/esri-compat/feature-form.js +63 -0
- package/esri-compat/feature-layer.d.ts +21 -2
- package/esri-compat/feature-layer.d.ts.map +1 -1
- package/esri-compat/feature-layer.js +172 -1
- package/esri-compat/feature-table.d.ts +5 -0
- package/esri-compat/feature-table.d.ts.map +1 -1
- package/esri-compat/feature-table.js +23 -0
- package/esri-compat/identity-manager.d.ts +1 -1
- package/esri-compat/identity-manager.js +1 -1
- package/esri-compat/legend.d.ts +2 -0
- package/esri-compat/legend.d.ts.map +1 -1
- package/esri-compat/legend.js +98 -0
- package/esri-compat/locator.d.ts +1 -1
- package/esri-compat/locator.js +1 -1
- package/esri-compat/map-view-mount.d.ts +1 -0
- package/esri-compat/map-view-mount.d.ts.map +1 -1
- package/esri-compat/map-view-mount.js +46 -25
- package/esri-compat/map-view.d.ts +13 -0
- package/esri-compat/map-view.d.ts.map +1 -1
- package/esri-compat/map-view.js +94 -8
- package/esri-compat/map.d.ts +5 -1
- package/esri-compat/map.d.ts.map +1 -1
- package/esri-compat/map.js +10 -0
- package/esri-compat/measurement.d.ts +2 -0
- package/esri-compat/measurement.d.ts.map +1 -1
- package/esri-compat/measurement.js +14 -0
- package/esri-compat/point.d.ts +7 -0
- package/esri-compat/point.d.ts.map +1 -1
- package/esri-compat/point.js +33 -3
- package/esri-compat/popup.d.ts +2 -0
- package/esri-compat/popup.d.ts.map +1 -1
- package/esri-compat/popup.js +12 -0
- package/esri-compat/portal.d.ts +1 -1
- package/esri-compat/portal.js +1 -1
- package/esri-compat/print.d.ts +3 -0
- package/esri-compat/print.d.ts.map +1 -1
- package/esri-compat/print.js +15 -0
- package/esri-compat/search.d.ts +4 -0
- package/esri-compat/search.d.ts.map +1 -1
- package/esri-compat/search.js +25 -28
- package/esri-compat/sketch.d.ts +2 -0
- package/esri-compat/sketch.d.ts.map +1 -1
- package/esri-compat/sketch.js +12 -0
- package/esri-compat/widget-host.d.ts +46 -17
- package/esri-compat/widget-host.d.ts.map +1 -1
- package/esri-compat/widget-host.js +84 -20
- package/esri-compat/widget-shell-hosts.d.ts +61 -0
- package/esri-compat/widget-shell-hosts.d.ts.map +1 -0
- package/esri-compat/widget-shell-hosts.js +76 -0
- package/kernel/renderer.d.ts +82 -0
- package/kernel/renderer.js +1 -0
- package/offline/conflict-resolution.d.ts +183 -0
- package/offline/conflict-resolution.d.ts.map +1 -0
- package/offline/conflict-resolution.js +286 -0
- package/offline/credential-screen.d.ts +34 -0
- package/offline/credential-screen.d.ts.map +1 -0
- package/offline/credential-screen.js +78 -0
- package/offline/digest.d.ts +15 -0
- package/offline/digest.d.ts.map +1 -0
- package/offline/digest.js +58 -0
- package/offline/edit-queue.d.ts +403 -0
- package/offline/edit-queue.d.ts.map +1 -0
- package/offline/edit-queue.js +1807 -0
- package/offline/edit-replay.d.ts +116 -0
- package/offline/edit-replay.d.ts.map +1 -0
- package/offline/edit-replay.js +392 -0
- package/offline/fetch-handler.d.ts +12 -0
- package/offline/fetch-handler.d.ts.map +1 -0
- package/offline/fetch-handler.js +65 -0
- package/offline/index.d.ts +52 -0
- package/offline/index.d.ts.map +1 -0
- package/offline/index.js +34 -0
- package/offline/indexeddb.d.ts +135 -0
- package/offline/indexeddb.d.ts.map +1 -0
- package/offline/indexeddb.js +888 -0
- package/offline/memory-store.d.ts +17 -0
- package/offline/memory-store.d.ts.map +1 -0
- package/offline/memory-store.js +183 -0
- package/offline/quota.d.ts +161 -0
- package/offline/quota.d.ts.map +1 -0
- package/offline/quota.js +370 -0
- package/offline/read-gate.d.ts +175 -0
- package/offline/read-gate.d.ts.map +1 -0
- package/offline/read-gate.js +252 -0
- package/offline/read-resource.d.ts +99 -0
- package/offline/read-resource.d.ts.map +1 -0
- package/offline/read-resource.js +156 -0
- package/offline/read.d.ts +50 -0
- package/offline/read.d.ts.map +1 -0
- package/offline/read.js +65 -0
- package/offline/region.d.ts +29 -0
- package/offline/region.d.ts.map +1 -0
- package/offline/region.js +1007 -0
- package/offline/replay-conflict.d.ts +183 -0
- package/offline/replay-conflict.d.ts.map +1 -0
- package/offline/replay-conflict.js +482 -0
- package/offline/selection.d.ts +140 -0
- package/offline/selection.d.ts.map +1 -0
- package/offline/selection.js +391 -0
- package/offline/snapshot.d.ts +132 -0
- package/offline/snapshot.d.ts.map +1 -0
- package/offline/snapshot.js +312 -0
- package/offline/status.d.ts +136 -0
- package/offline/status.d.ts.map +1 -0
- package/offline/status.js +479 -0
- package/offline/store-conformance.d.ts +48 -0
- package/offline/store-conformance.d.ts.map +1 -0
- package/offline/store-conformance.js +233 -0
- package/offline/tile-protocol.d.ts +81 -0
- package/offline/tile-protocol.d.ts.map +1 -0
- package/offline/tile-protocol.js +119 -0
- package/offline/types.d.ts +349 -0
- package/offline/types.d.ts.map +1 -0
- package/offline/types.js +75 -0
- package/package.json +14 -2
- package/realtime/odata-delta.d.ts +1 -1
- package/realtime/odata-delta.d.ts.map +1 -1
- package/realtime/odata-delta.js +38 -10
- package/scene-workspace/index.d.ts +2 -2
- package/scene-workspace/index.d.ts.map +1 -1
- package/scene-workspace/index.js +1 -1
- package/scene-workspace/scene-discovery.d.ts +111 -91
- package/scene-workspace/scene-discovery.d.ts.map +1 -1
- package/scene-workspace/scene-discovery.js +340 -92
- package/scene-workspace/scene-view.d.ts +6 -6
- package/scene-workspace/scene-view.d.ts.map +1 -1
- package/scene-workspace/scene-view.js +32 -6
- package/web-components/elements.d.ts +34 -0
- package/web-components/elements.d.ts.map +1 -1
- package/web-components/elements.js +82 -8
- package/web-components/index.d.ts +2 -0
- package/web-components/index.d.ts.map +1 -1
- package/web-components/index.js +3 -1
- package/web-components/map-chrome.d.ts +103 -0
- package/web-components/map-chrome.d.ts.map +1 -0
- package/web-components/map-chrome.js +325 -0
- package/web-components/widget-shell.d.ts +68 -0
- package/web-components/widget-shell.d.ts.map +1 -0
- package/web-components/widget-shell.js +224 -0
- package/widget-capabilities.d.ts +67 -0
- package/widget-capabilities.js +152 -0
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Bounded, deterministic reduction of a normative Honua GeoArrow batch.
|
|
3
|
+
*
|
|
4
|
+
* Every other columnar operation is row-preserving or row-dropping. This one
|
|
5
|
+
* reduces: it scans only the packed buffer views returned by
|
|
6
|
+
* {@link inspectGeoArrowBatch}, accumulates into group-indexed scalars, and
|
|
7
|
+
* emits a result batch whose row count is the group count. No input row is ever
|
|
8
|
+
* materialized as an object, `decodeGeoArrowBatch` is never called, and peak
|
|
9
|
+
* retained memory is bounded by the group ceiling rather than the row count.
|
|
10
|
+
*
|
|
11
|
+
* The result is a dependency-free Honua columnar batch carrying the
|
|
12
|
+
* `honua.aggregate` layout (see {@link readGeoArrowAggregateBatch}) rather than
|
|
13
|
+
* a GeoArrow batch, because the normative GeoArrow layout admits exactly one
|
|
14
|
+
* geometry column plus optional temporal, dictionary, and feature-id columns
|
|
15
|
+
* and therefore has nowhere to carry metric columns.
|
|
16
|
+
*
|
|
17
|
+
* ## Determinism
|
|
18
|
+
*
|
|
19
|
+
* A reduction that is not deterministic is not cacheable, and this one is the
|
|
20
|
+
* first columnar operation whose output is small enough to be worth caching.
|
|
21
|
+
* Three things could otherwise make the same input produce different output.
|
|
22
|
+
*
|
|
23
|
+
* 1. **Worker scheduling.** The scan yields to the host task queue so a cancel
|
|
24
|
+
* can land, but the arithmetic never observes the scheduler: accumulation is
|
|
25
|
+
* one sequential pass over the packed buffers, and a yield only suspends it.
|
|
26
|
+
* The yield cadence is therefore a pure performance knob — varying
|
|
27
|
+
* `yieldIntervalRows` cannot change a single output byte.
|
|
28
|
+
* 2. **Group ordering.** Groups are emitted ascending by key with the declared
|
|
29
|
+
* null group last, never in first-seen or hash-iteration order, so two
|
|
30
|
+
* batches holding the same rows in a different layout produce the same
|
|
31
|
+
* output row order. Duplicate dictionary entries encoding the same string
|
|
32
|
+
* are canonicalized to one group rather than to whichever index appeared
|
|
33
|
+
* first.
|
|
34
|
+
* 3. **Floating-point associativity.** `count`, `min`, and `max` are
|
|
35
|
+
* order-independent by construction. `sum` and `mean` are not, and a naive
|
|
36
|
+
* running total makes the reported value depend on the order the rows were
|
|
37
|
+
* visited in: `[1e16, 1, 1, -1e16]` accumulates left to right to `0` when
|
|
38
|
+
* the exact answer is `2`. Both use Kahan–Babuška–Neumaier compensation
|
|
39
|
+
* instead, carrying every addition's discarded low-order bits in a second
|
|
40
|
+
* group-indexed accumulator and folding them in once at the end. That is a
|
|
41
|
+
* bound on the error rather than a proof of bit-identity under every
|
|
42
|
+
* conceivable permutation, but it removes the cancellation family that makes
|
|
43
|
+
* naive accumulation order-dependent in practice.
|
|
44
|
+
*
|
|
45
|
+
* @experimental
|
|
46
|
+
*/
|
|
47
|
+
import { type GeoArrowConversionLimits } from "./geoarrow-types.js";
|
|
48
|
+
import type { ColumnarBatchV1 } from "./types.js";
|
|
49
|
+
import type { ColumnarWorkerOperation } from "./worker.js";
|
|
50
|
+
/** Honua's dependency-free aggregate-result layout, recorded in schema metadata. */
|
|
51
|
+
export declare const HONUA_GEOARROW_AGGREGATE_LAYOUT_VERSION: "1.0";
|
|
52
|
+
/** Default ceiling on distinct groups, including the declared null group. */
|
|
53
|
+
export declare const DEFAULT_GEOARROW_AGGREGATE_MAX_GROUPS = 65536;
|
|
54
|
+
/**
|
|
55
|
+
* Rows scanned between cooperative abort checks. Well inside the 65,536-row
|
|
56
|
+
* ceiling the columnar data-plane contract requires.
|
|
57
|
+
*/
|
|
58
|
+
export declare const GEOARROW_AGGREGATE_ABORT_CHECK_ROWS = 8192;
|
|
59
|
+
/** Rows scanned between cooperative event-loop yields, so a cancel can land. */
|
|
60
|
+
export declare const DEFAULT_GEOARROW_AGGREGATE_YIELD_ROWS = 16384;
|
|
61
|
+
/**
|
|
62
|
+
* Inclusive magnitude ceiling for a spatial-grid cell index on either axis,
|
|
63
|
+
* chosen so a packed `(x, y)` cell key stays an exact safe integer.
|
|
64
|
+
*/
|
|
65
|
+
export declare const GEOARROW_AGGREGATE_MAX_GRID_CELL_INDEX = 33554432;
|
|
66
|
+
/** Reducers supported over a declared numeric column. */
|
|
67
|
+
export type GeoArrowAggregateMetricKind = "count" | "sum" | "min" | "max" | "mean";
|
|
68
|
+
/** Numeric columns readable straight from a GeoArrow batch's packed buffers. */
|
|
69
|
+
export type GeoArrowAggregateNumericColumn = "featureId" | "temporal" | "x" | "y" | "z" | "m";
|
|
70
|
+
/** One declared output metric. */
|
|
71
|
+
export interface GeoArrowAggregateMetricSpec {
|
|
72
|
+
/** Output field name. Must be unique and must not collide with a group field. */
|
|
73
|
+
readonly name: string;
|
|
74
|
+
readonly kind: GeoArrowAggregateMetricKind;
|
|
75
|
+
/**
|
|
76
|
+
* Source column. Required for `sum`, `min`, `max`, and `mean`. Optional for
|
|
77
|
+
* `count`: omitted counts rows in the group, supplied counts non-null values.
|
|
78
|
+
*/
|
|
79
|
+
readonly column?: GeoArrowAggregateNumericColumn;
|
|
80
|
+
}
|
|
81
|
+
/** Calendar-independent truncation units applied to the temporal column. */
|
|
82
|
+
export type GeoArrowAggregateTruncationUnit = "second" | "minute" | "hour" | "day";
|
|
83
|
+
/** Group by the batch's dictionary column, keyed by its decoded value. */
|
|
84
|
+
export interface GeoArrowAggregateDictionaryGroupSpec {
|
|
85
|
+
readonly kind: "dictionary";
|
|
86
|
+
}
|
|
87
|
+
/** Group by the batch's temporal column truncated to a fixed-width unit. */
|
|
88
|
+
export interface GeoArrowAggregateTemporalGroupSpec {
|
|
89
|
+
readonly kind: "temporal";
|
|
90
|
+
readonly unit: GeoArrowAggregateTruncationUnit;
|
|
91
|
+
}
|
|
92
|
+
/** Group by a regular grid cell derived from the geometry column. */
|
|
93
|
+
export interface GeoArrowAggregateGridGroupSpec {
|
|
94
|
+
readonly kind: "grid";
|
|
95
|
+
/** Cell size in source CRS units: one positive number, or `[x, y]`. */
|
|
96
|
+
readonly cellSize: number | readonly [number, number];
|
|
97
|
+
/** Grid origin in source CRS units. Defaults to `[0, 0]`. */
|
|
98
|
+
readonly origin?: readonly [number, number];
|
|
99
|
+
}
|
|
100
|
+
export type GeoArrowAggregateGroupSpec = GeoArrowAggregateDictionaryGroupSpec | GeoArrowAggregateTemporalGroupSpec | GeoArrowAggregateGridGroupSpec;
|
|
101
|
+
/** How rows whose group key is null (or whose geometry is empty) are treated. */
|
|
102
|
+
export type GeoArrowAggregateNullKeyPolicy = "null-group" | "skip";
|
|
103
|
+
/** Options for the bounded GeoArrow aggregation worker operation. */
|
|
104
|
+
export interface CreateGeoArrowAggregateOperationOptions {
|
|
105
|
+
/** Stable id assigned to the aggregated output batch. */
|
|
106
|
+
readonly id: string;
|
|
107
|
+
/**
|
|
108
|
+
* Schema id for the aggregated field set. It is also written as the result
|
|
109
|
+
* `identity.schemaVersion`, so it must change whenever the group or metric
|
|
110
|
+
* specification changes.
|
|
111
|
+
*/
|
|
112
|
+
readonly schemaId: string;
|
|
113
|
+
readonly group: GeoArrowAggregateGroupSpec;
|
|
114
|
+
readonly metrics: readonly GeoArrowAggregateMetricSpec[];
|
|
115
|
+
/** Output group field name. Grid grouping emits `<name>_x` and `<name>_y`. */
|
|
116
|
+
readonly groupField?: string;
|
|
117
|
+
/** Ceiling on distinct groups. Defaults to {@link DEFAULT_GEOARROW_AGGREGATE_MAX_GROUPS}. */
|
|
118
|
+
readonly maxGroups?: number;
|
|
119
|
+
/** Null-key policy. Defaults to `"null-group"`. */
|
|
120
|
+
readonly nullKeys?: GeoArrowAggregateNullKeyPolicy;
|
|
121
|
+
/** Rows scanned between cooperative event-loop yields. */
|
|
122
|
+
readonly yieldIntervalRows?: number;
|
|
123
|
+
/** Conversion ceilings applied to the input inspection and the output batch. */
|
|
124
|
+
readonly limits?: GeoArrowConversionLimits;
|
|
125
|
+
}
|
|
126
|
+
/** One decoded aggregate row: the group key plus every declared metric. */
|
|
127
|
+
export interface GeoArrowAggregateRow {
|
|
128
|
+
/**
|
|
129
|
+
* Dictionary value, truncated timestamp in the source temporal unit, or
|
|
130
|
+
* `[cellX, cellY]`. `null` identifies the declared null group.
|
|
131
|
+
*/
|
|
132
|
+
readonly key: string | number | readonly [number, number] | null;
|
|
133
|
+
/** Metric values by declared name; `null` when a group had no non-null input. */
|
|
134
|
+
readonly metrics: Readonly<Record<string, number | null>>;
|
|
135
|
+
}
|
|
136
|
+
/** Source provenance recorded on an aggregate result batch. */
|
|
137
|
+
export interface GeoArrowAggregateSource {
|
|
138
|
+
readonly batchId: string;
|
|
139
|
+
readonly schemaId: string;
|
|
140
|
+
readonly rowCount: number;
|
|
141
|
+
readonly planId: string;
|
|
142
|
+
readonly sourceId: string;
|
|
143
|
+
readonly sourceVersion: string;
|
|
144
|
+
/** Rows dropped because their group key was null under the `skip` policy. */
|
|
145
|
+
readonly skippedRows: number;
|
|
146
|
+
}
|
|
147
|
+
/** A decoded aggregate result batch. */
|
|
148
|
+
export interface GeoArrowAggregateResult {
|
|
149
|
+
readonly batch: ColumnarBatchV1;
|
|
150
|
+
readonly group: GeoArrowAggregateGroupSpec;
|
|
151
|
+
readonly groupField: string;
|
|
152
|
+
readonly metrics: readonly GeoArrowAggregateMetricSpec[];
|
|
153
|
+
readonly nullKeys: GeoArrowAggregateNullKeyPolicy;
|
|
154
|
+
readonly maxGroups: number;
|
|
155
|
+
readonly source: GeoArrowAggregateSource;
|
|
156
|
+
readonly rows: readonly GeoArrowAggregateRow[];
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Create a bounded GeoArrow aggregation for registration with
|
|
160
|
+
* `startColumnarWorkerHost`.
|
|
161
|
+
*
|
|
162
|
+
* The returned operation scans the input batch's packed buffers exactly once,
|
|
163
|
+
* accumulates into group-indexed scalars, and emits a `honua.aggregate` result
|
|
164
|
+
* batch. It fails closed — always before the output batch is allocated — when
|
|
165
|
+
* the group ceiling is exceeded, when a metric value is non-finite, and when a
|
|
166
|
+
* declared column does not exist in the batch. The input batch is never
|
|
167
|
+
* mutated.
|
|
168
|
+
*/
|
|
169
|
+
export declare function createGeoArrowAggregateOperation(options: CreateGeoArrowAggregateOperationOptions): ColumnarWorkerOperation;
|
|
170
|
+
/**
|
|
171
|
+
* Decode a `honua.aggregate` result batch produced by
|
|
172
|
+
* {@link createGeoArrowAggregateOperation}.
|
|
173
|
+
*
|
|
174
|
+
* Materialization is bounded by the group count, which the producing operation
|
|
175
|
+
* already capped, so this is always safe to call on a result the SDK produced.
|
|
176
|
+
*/
|
|
177
|
+
export declare function readGeoArrowAggregateBatch(batch: ColumnarBatchV1, limits?: GeoArrowConversionLimits): GeoArrowAggregateResult;
|
|
178
|
+
//# sourceMappingURL=geoarrow-aggregate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"geoarrow-aggregate.d.ts","sourceRoot":"","sources":["../../../src/columnar/geoarrow-aggregate.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,OAAO,EAGL,KAAK,wBAAwB,EAK9B,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,EAAE,eAAe,EAAqC,MAAM,YAAY,CAAC;AACrF,OAAO,KAAK,EAAE,uBAAuB,EAAkC,MAAM,aAAa,CAAC;AAE3F,oFAAoF;AACpF,eAAO,MAAM,uCAAuC,EAAG,KAAc,CAAC;AAEtE,6EAA6E;AAC7E,eAAO,MAAM,qCAAqC,QAAS,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,mCAAmC,OAAQ,CAAC;AAEzD,gFAAgF;AAChF,eAAO,MAAM,qCAAqC,QAAS,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM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