Modifier and Type | Class and Description |
---|---|
static class |
RankedSetIndexHelper.Events
Instrumentation events specific to rank index maintenance.
|
static class |
RankedSetIndexHelper.InstrumentedRankedSet
A
RankedSet that adds StoreTimer instrumentation. |
Modifier and Type | Field and Description |
---|---|
static Tuple |
COMPARISON_SKIPPED_SCORE |
Modifier and Type | Method and Description |
---|---|
static CompletableFuture<Long> |
rankForScore(IndexMaintainerState state,
RankedSet rankedSet,
Tuple score,
boolean nullIfMissing) |
static CompletableFuture<TupleRange> |
rankRangeToScoreRange(IndexMaintainerState state,
int groupPrefixSize,
Subspace rankSubspace,
int nlevels,
TupleRange rankRange) |
static CompletableFuture<Tuple> |
scoreForRank(IndexMaintainerState state,
RankedSet rankedSet,
Number rank,
Tuple outOfRange) |
static CompletableFuture<Void> |
updateRankedSet(IndexMaintainerState state,
Subspace rankSubspace,
int nlevels,
Tuple valueKey,
Tuple scoreKey,
boolean remove) |
public static final Tuple COMPARISON_SKIPPED_SCORE
@Nonnull public static CompletableFuture<TupleRange> rankRangeToScoreRange(@Nonnull IndexMaintainerState state, int groupPrefixSize, @Nonnull Subspace rankSubspace, int nlevels, @Nonnull TupleRange rankRange)
public static CompletableFuture<Tuple> scoreForRank(@Nonnull IndexMaintainerState state, @Nonnull RankedSet rankedSet, @Nullable Number rank, @Nullable Tuple outOfRange)
public static CompletableFuture<Long> rankForScore(@Nonnull IndexMaintainerState state, @Nonnull RankedSet rankedSet, @Nullable Tuple score, boolean nullIfMissing)