Skip to content

Generate the facades with the shared JVM code generator#43

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

Generate the facades with the shared JVM code generator#43
estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:jvmgen/unify-generator

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

Replace the Flink-specific codegen_facades.py + classify_streaming_relevance.py + regen_baseline.sh trio with the single tools/codegen_jvm.py --engine flink, the generator vendored identically by every JVM binding (MobilitySpark, MobilityFlink, MobilityKafka), so the generated surface cannot drift between engines.

  • Emits the MeosOps* forwarder facades over the full JMEOS jar surface, grouped by the MEOS-API catalog object model (one MeosOps<Class> per object-model class + one MeosOpsFree<Header> per source header), with a sequence-only guard derived from returnType.canonical — no separate streaming-relevance classifier or baseline.
  • CI stages the master-derived catalog to tools/meos-idl.json in place of deriving the baseline.

The generator file matches MobilitySpark#40. The flink engine emits 187 facade classes / 4529 methods, of which 137 carry the sequence-only guard.

Replace the Flink-specific codegen_facades.py + classify_streaming_relevance.py
+ regen_baseline.sh trio with the single tools/codegen_jvm.py --engine flink,
the generator vendored identically by every JVM binding. It emits the MeosOps*
forwarder facades over the full JMEOS jar surface (grouped by the catalog object
model, with a sequence-only guard derived from returnType.canonical) instead of
the streaming-relevance-baseline subset. CI stages the master-derived catalog to
tools/meos-idl.json in place of deriving the baseline.
@estebanzimanyi
estebanzimanyi merged commit e8ea36a 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