-
Notifications
You must be signed in to change notification settings - Fork 59
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: Adding command COPY
#1532
Conversation
809be52
to
c126bb2
Compare
c126bb2
to
e5a071b
Compare
@@ -946,6 +948,9 @@ InfScoreBound.NEGATIVE_INFINITY, new ScoreBoundary(3, false), new Limit(1, 2)), | |||
transaction.functionDelete("LIB"); | |||
results.add(Pair.of(FunctionDelete, buildArgs("LIB"))); | |||
|
|||
transaction.copy("key1", "key2", true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test copy with DB index argument
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
copy with DB does not work under cluster mode, so it was tested under /standalone/CommandTests.java
, is it required here? transaction
here is declared as a superclass object and doesn't pull up the copy() signature that is under /api/models/Transaction.java
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see it is already added. I was confused that number of UTs is less than number of commands added to transaction classes.
* Java: Adding command COPY
e5a071b
to
f3cb1ad
Compare
Java: Adding command COPY (#340) * Java: Adding command COPY
Java: Adding command COPY (#340) * Java: Adding command COPY
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.