Skip to content

Track master and generate the facades with the shared JVM code generator - #22

Merged
estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:jvmgen/unify-generator
Jul 16, 2026
Merged

Track master and generate the facades with the shared JVM code generator#22
estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:jvmgen/unify-generator

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

Bring MobilityKafka to parity with MobilitySpark#40 and MobilityFlink#43 (both merged): one shared generator, and track upstream master.

  • Generate the org.mobilitydb.meos.MeosOps* facades at build time with the single tools/codegen_jvm.py --engine kafka, the generator vendored identically by every JVM binding, and drop the 57 committed facades. It emits forwarders over the full JMEOS jar surface (grouped by the MEOS-API catalog object model, with a sequence-only guard from returnType.canonical) in place of the codegen_facades.py + classify_streaming_relevance.py + regen_baseline.sh + baseline trio.
  • Track upstream master: provision the catalog + libmeos with mobilitydb-ref: master, stage the derived catalog to tools/meos-idl.json, build the JMEOS jar from JMEOS main; drop tools/meos-source-commit.txt and the build-jmeos.sh pinned SHAs.

The generator file matches MobilitySpark#40 / MobilityFlink#43. The kafka engine emits 187 facade classes / 4529 methods (137 sequence-only guarded); the output matches the flink engine except the -Dmobilitykafka.meos.enabled toggle. The hand-written MeosSetSetJoin and the kafka.meos.wirings classes are unchanged.

Bring MobilityKafka to parity with MobilitySpark and MobilityFlink:

- Generate the org.mobilitydb.meos.MeosOps* facades at build time with the single
  tools/codegen_jvm.py --engine kafka, the generator vendored identically by every
  JVM binding, and drop the 57 committed facades. It emits forwarders over the full
  JMEOS jar surface (grouped by the catalog object model, with a sequence-only guard
  from returnType.canonical) in place of the codegen_facades.py +
  classify_streaming_relevance.py + regen_baseline.sh + baseline trio.
- Track upstream master: provision the catalog + libmeos with mobilitydb-ref master,
  stage the derived catalog to tools/meos-idl.json, build the JMEOS jar from JMEOS
  main; drop tools/meos-source-commit.txt and the build-jmeos.sh pinned SHAs.
@estebanzimanyi
estebanzimanyi force-pushed the jvmgen/unify-generator branch from ad5a336 to 32d6426 Compare July 16, 2026 10:54
@estebanzimanyi
estebanzimanyi merged commit f2765a5 into MobilityDB:main Jul 16, 2026
1 check passed
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