Skip to content
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-API implementation #1650

Merged
merged 14 commits into from
Jun 22, 2023
Merged

Java-API implementation #1650

merged 14 commits into from
Jun 22, 2023

Conversation

KasunaStony
Copy link
Contributor

No description provided.

Skipped functions that require prepared statements.
Need to test after KuzuQueryResult is implemented.
Changed binding logic for PreparedStatement
Note: the c++ implementation of FlatTuple also returns one Value at a time
Need to review use of generics
@codecov
Copy link

codecov bot commented Jun 8, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.45 ⚠️

Comparison is base (e12c903) 91.93% compared to head (c3c283a) 91.49%.

❗ Current head c3c283a differs from pull request most recent head fa846aa. Consider uploading reports for the commit fa846aa to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1650      +/-   ##
==========================================
- Coverage   91.93%   91.49%   -0.45%     
==========================================
  Files         685      727      +42     
  Lines       24640    26386    +1746     
==========================================
+ Hits        22654    24142    +1488     
- Misses       1986     2244     +258     

see 291 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@KasunaStony
Copy link
Contributor Author

Tests added

@mewim
Copy link
Collaborator

mewim commented Jun 20, 2023

Please remove commented-out code.

@KasunaStony
Copy link
Contributor Author

Please remove commented-out code.

All commented code removde

tools/java_api/Makefile Outdated Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
@mewim
Copy link
Collaborator

mewim commented Jun 20, 2023

Let's still implement the finalize methods as DuckDB does and try to auto-close all the resources.

@KasunaStony
Copy link
Contributor Author

All changes done

tempDir.toFile().deleteOnExit();

BufferedReader reader;
db = new KuzuDatabase("java_api_test_db", 0);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You added a temporary directory but did use it for the tests.

@mewim mewim merged commit d91ca92 into kuzudb:master Jun 22, 2023
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.

None yet

2 participants