Skip to content

Commit

Permalink
Fix format.
Browse files Browse the repository at this point in the history
  • Loading branch information
rhubner committed Jan 10, 2024
1 parent 3fc822e commit 32d42b3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
1 change: 0 additions & 1 deletion java/src/main/java/org/rocksdb/InBuiltMergeOperator.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ public abstract class InBuiltMergeOperator extends RocksObject implements MergeO
protected InBuiltMergeOperator(final long nativeHandle) {
super(nativeHandle);
}

}

//
Expand Down
9 changes: 6 additions & 3 deletions java/src/main/java/org/rocksdb/MergeOperatorV2.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,15 @@ public MergeOperatorV2(final String operatorName) {

/**
* This is the callback method which supplies the values to be merged for the provided key.
* The parameters are only valid until the method returns, and must be deep copied if you wish to retain them.
* The parameters are only valid until the method returns, and must be deep copied if you wish to
* retain them.
*
* @param key The key associated with the merge operation.
* @param existingValue The existing value of the current key, null means that the value doesn't exist.
* @param existingValue The existing value of the current key, null means that the value doesn't
* exist.
* @param operand A list of operands to apply
* @return The method should return the result of merging the supplied values with the implemented merge algorithm.
* @return The method should return the result of merging the supplied values with the implemented
* merge algorithm.
*/
public abstract MergeOperatorOutput fullMergeV2(
final ByteBuffer key, final ByteBuffer existingValue, final List<ByteBuffer> operand);
Expand Down

0 comments on commit 32d42b3

Please sign in to comment.