public interface FDBLocalityProvider
FDBLocalityUtil
,
LocalityUtil
Modifier and Type | Method and Description |
---|---|
CloseableAsyncIterator<byte[]> |
getBoundaryKeys(Transaction tr,
byte[] begin,
byte[] end)
Return a
CloseableAsyncIterator of keys k such that begin <= k < end and k is
located at the start of a contiguous range stored on a single server. |
@Nonnull CloseableAsyncIterator<byte[]> getBoundaryKeys(@Nonnull Transaction tr, @Nonnull byte[] begin, @Nonnull byte[] end)
CloseableAsyncIterator
of keys k
such that begin <= k < end
and k
is
located at the start of a contiguous range stored on a single server.tr
- the transaction on which to base the querybegin
- the inclusive start of the rangeend
- the exclusive end of the rangeLocalityUtil.getBoundaryKeys(Transaction, byte[], byte[])