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 APIs for put, merge and delete in file ingestion #2392

Closed
wants to merge 5 commits into from

Conversation

sagar0
Copy link
Contributor

@sagar0 sagar0 commented Jun 1, 2017

Adding SSTFileWriter's newly introduced put, merge and delete apis to the Java api. The C++ APIs were first introduced in #2361.

Add is deprecated in favor of Put.
Merge is especially needed to support streaming for Cassandra-on-RocksDB work in https://issues.apache.org/jira/browse/CASSANDRA-13476.

Test Plan:
Unit tests: make jtest

@facebook-github-bot
Copy link
Contributor

@sagar0 updated the pull request - view changes

@facebook-github-bot
Copy link
Contributor

@sagar0 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@sagar0 sagar0 changed the title Support put, merge and delete apis in file ingestion in Java Java APIs for put, merge and delete in file ingestion Jun 1, 2017
@@ -25,12 +25,38 @@ public void open(final String filePath) throws RocksDBException {
open(nativeHandle_, filePath);
}

@Deprecated
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you add the javadoc please? Including @deprecated annotation in the javadoc itself?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@sagar0 sagar0 force-pushed the java-new-file-ingestion-apis branch from 217fc2d to 7efdbca Compare June 6, 2017 18:39
@facebook-github-bot
Copy link
Contributor

@sagar0 updated the pull request - view changes - changes since last import

@sagar0
Copy link
Contributor Author

sagar0 commented Jun 8, 2017

Travis build/test failures are unrelated to this code.

@facebook-github-bot
Copy link
Contributor

@sagar0 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

yiwu-arbug pushed a commit that referenced this pull request Jun 9, 2017
Summary:
Adding SSTFileWriter's newly introduced put, merge and delete apis to the Java api. The C++ APIs were first introduced in #2361.

Add is deprecated in favor of Put.
Merge is especially needed to support streaming for Cassandra-on-RocksDB work in https://issues.apache.org/jira/browse/CASSANDRA-13476.
Closes #2392

Differential Revision: D5165091

Pulled By: sagar0

fbshipit-source-id: 6f0ad396a7cbd2e27ca63e702584784dd72acaab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants