@API(value=EXPERIMENTAL) public class TimeWindowLeaderboardScoreTrim extends IndexOperation
Tuple
. A sub-collection is returned in TimeWindowLeaderboardScoreTrimResult
.
Score tuples can include their group key as well. If they do not, then all groups must have the default setting for whether high scores come first, which is needed
to keep only the best score for a given time window.Constructor and Description |
---|
TimeWindowLeaderboardScoreTrim(Collection<Tuple> scores,
boolean includesGroup) |
Modifier and Type | Method and Description |
---|---|
Collection<Tuple> |
getScores() |
boolean |
isIncludesGroup() |
public TimeWindowLeaderboardScoreTrim(Collection<Tuple> scores, boolean includesGroup)
public Collection<Tuple> getScores()
public boolean isIncludesGroup()