Skip to content

Regenerate the binding from MobilityDB master 91f8d676e7 - #35

Merged
estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:refresh/meos-master-91f8d676e7
Nov 1, 2026
Merged

estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:refresh/meos-master-91f8d676e7

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

The flat functions and the object layer are those tools/codegen.py and
tools/objectgen.py write from the catalog of MobilityDB 91f8d676e7 and
MEOS-API 9069a08: 4702 wrappers and 150 classes with 1781 methods. Every
temporal and set type MEOS holds by pointer has its class:
TH3Index, TQuadbin and TS2Cell under TCellIndex, TPcpoint, TPcpatch and
TPoseChain under TSpatial, the cell, point cloud and pose chain sets
under SpatialSet, GeomSet and GeogSet under GeoSet, and JsonbSet under
Set; and each format method takes its portable spelling, AsHexWKB,
AsHexEWKB, FromHexWKB, FromHexEWKB, AsGeoJSON and FromGeoJSON.

A method may not share the name of the struct its class embeds, so a
method whose name is its parent's takes the name of its SQL function:
jsonbset_set, which reads set on JsonbSet, whose parent is Set, is
JsonbsetSet, as its SQL function jsonbsetSet.

Measured: the functions and types packages build with no go vet
finding, the parity tests pass, and the 122 examples of the root package
pass under TZ=UTC, as the workflow runs them.

The flat functions and the object layer are those tools/codegen.py and
tools/objectgen.py write from the catalog of MobilityDB 91f8d676e7 and
MEOS-API 9069a08: 4702 wrappers and 150 classes with 1781 methods. Every
temporal and set type MEOS holds by pointer has its class:
TH3Index, TQuadbin and TS2Cell under TCellIndex, TPcpoint, TPcpatch and
TPoseChain under TSpatial, the cell, point cloud and pose chain sets
under SpatialSet, GeomSet and GeogSet under GeoSet, and JsonbSet under
Set; and each format method takes its portable spelling, AsHexWKB,
AsHexEWKB, FromHexWKB, FromHexEWKB, AsGeoJSON and FromGeoJSON.

A method may not share the name of the struct its class embeds, so a
method whose name is its parent's takes the name of its SQL function:
jsonbset_set, which reads set on JsonbSet, whose parent is Set, is
JsonbsetSet, as its SQL function jsonbsetSet.

Measured: the functions and types packages build with no go vet
finding, the parity tests pass, and the 122 examples of the root package
pass under TZ=UTC, as the workflow runs them.
@estebanzimanyi
estebanzimanyi merged commit 1cf716a into MobilityDB:main Nov 1, 2026
2 checks passed
@estebanzimanyi
estebanzimanyi deleted the refresh/meos-master-91f8d676e7 branch November 1, 2026 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant