New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Java and .Net Bindings #104
Comments
We have implemented java bindings for traildb here: https://github.com/Sqooba/traildb-java |
There is also this library: https://github.com/aholyoke/traildb-java |
@buremba thanks for the feedback. |
@ChrisJamesC well this is unfortunate. I definitely agree these projects should be merged somehow. I tried googling for java bindings when I started my project but couldn't find Sqooba's. I actually work for AdRoll so I plan to continue to support my java bindings for a while (Or Sqooba's if we decide to proceed with those). Browsing the Sqooba source code I see a few issues that you will run into:
You would find that Anyway, not sure how you want to proceed. I could certainly use help making my bindings more Java idiomatic and supporting Scala. |
Thanks for the answer @aholyoke! I believe that build phase for |
Regarding issues mentioned by @aholyoke :
TrailDBIterator trail = db.trail(0);
for(TrailDBEvent event : trail) {
System.out.println(event);
} But yeah we then lose speed because of the extra object TrailDBEvent and the fact we create it at each next call.
So I think the only somehow good compromise we can have if we want to keep an Iterator is to have something like this:
Otherwise keep @aholyoke TrailDBTrail if we don't want an iterator. |
Can we have Java and .Net bindings?
The text was updated successfully, but these errors were encountered: