blob/java: update documentation for blob api

This commit is contained in:
Dennis Zhou 2022-08-17 09:51:34 -07:00
parent 046141b5be
commit 9f948531e1
1 changed files with 3 additions and 3 deletions

View File

@ -242,7 +242,7 @@ public interface Database extends AutoCloseable, TransactionContext {
}
/**
* Sets a range to be unblobbified in the database.
* Unsets a blobbified range in the database. The range must be aligned to known blob ranges.
*
* @param beginKey start of the key range
* @param endKey end of the key range
@ -260,7 +260,7 @@ public interface Database extends AutoCloseable, TransactionContext {
* @param rangeLimit batch size
* @param e the {@link Executor} to use for asynchronous callbacks
* @return a future with the list of blobbified ranges.
* @return a future with the list of blobbified ranges: [lastLessThan(beginKey), firstGreaterThanOrEqual(endKey)]
*/
default CompletableFuture<KeyRangeArrayResult> listBlobbifiedRanges(byte[] beginKey, byte[] endKey, int rangeLimit) {
return listBlobbifiedRanges(beginKey, endKey, rangeLimit, getExecutor());
@ -274,7 +274,7 @@ public interface Database extends AutoCloseable, TransactionContext {
* @param rangeLimit batch size
* @param e the {@link Executor} to use for asynchronous callbacks
* @return a future with the list of blobbified ranges.
* @return a future with the list of blobbified ranges: [lastLessThan(beginKey), firstGreaterThanOrEqual(endKey)]
*/
CompletableFuture<KeyRangeArrayResult> listBlobbifiedRanges(byte[] beginKey, byte[] endKey, int rangeLimit, Executor e);