Repository navigation
Ffm jextract proto - PR for working on FFM prototype - NOT FOR MERGE - #15369
Draft
alanpaxton wants to merge 26 commits into
Draft
alanpaxton wants to merge 26 commits into
alanpaxton wants to merge 26 commits into
Conversation
alanpaxton
marked this pull request as draft
October 9, 2026 07:58
✅ clang-tidy: No findings on changed linesCompleted in 0.0s. |
alanpaxton
force-pushed
the
ffm-jextract-proto
branch
from
October 21, 2026 10:56
4c3c2ea to
e29dac0
Compare
We bump Java to 25 while doing development for this; we can’t just do this in current RocksDB, will need to think about it. Build/run using `$ EXTRA_CXXFLAGS=-Wno-error make -j12 jffm_sample` Quick build/run of the sample, when FFM hasn’t changed: `(cd java; make ffm_sample)` WIP - it’s not finding
DO NOT pass `—library` to `jextract`
`RocksDB.loadLibrary()` does the loading of the appropriate library for us - we do this in a `static { … }` block.
Build with `$ make jffm_sample`
Conform better to maven convention
Error handling for NOT_FOUND isn’t correct yet, just yields an empty value.
Re-instate a working Java FFM sample for illustration
The idea is that the phase that generates the FFM API uses this stuff to also generate some higher-level Java, as part of a fluent API.
The C API infrastructure takes care of making sure that this is up to date.
alanpaxton
force-pushed
the
ffm-jextract-proto
branch
from
November 11, 2026 10:13
6e65917 to
3875e71
Compare
Bring our japigen tool within the RocksDB build world; It’s a subdirectory with a maven project. The Makefile invokes the maven build, which builds the tool, which processes the C API JSON description, to generate the wrapper classes that the client can access.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.