IRedisSortedSet
Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public interface IRedisSortedSet : ICollection<string>, IEnumerable<string>, IEnumerable, IHasStringId, IHasId<string>
Methods
GetAll()
View Source
Declaration
List<string> GetAll()
Returns
System.Collections.Generic.List<System.String>
GetRange(Int32, Int32)
View Source
Declaration
List<string> GetRange(int startingRank, int endingRank)
Returns
System.Collections.Generic.List<System.String>
Parameters
Type | Name |
---|---|
System.Int32 | startingRank |
System.Int32 | endingRank |
GetRangeByScore(String, String)
View Source
Declaration
List<string> GetRangeByScore(string fromStringScore, string toStringScore)
Returns
System.Collections.Generic.List<System.String>
Parameters
Type | Name |
---|---|
System.String | fromStringScore |
System.String | toStringScore |
GetRangeByScore(String, String, Nullable<Int32>, Nullable<Int32>)
View Source
Declaration
List<string> GetRangeByScore(string fromStringScore, string toStringScore, int? skip, int? take)
Returns
System.Collections.Generic.List<System.String>
Parameters
Type | Name |
---|---|
System.String | fromStringScore |
System.String | toStringScore |
System.Nullable<System.Int32> | skip |
System.Nullable<System.Int32> | take |
GetRangeByScore(Double, Double)
View Source
Declaration
List<string> GetRangeByScore(double fromScore, double toScore)
Returns
System.Collections.Generic.List<System.String>
Parameters
Type | Name |
---|---|
System.Double | fromScore |
System.Double | toScore |
GetRangeByScore(Double, Double, Nullable<Int32>, Nullable<Int32>)
View Source
Declaration
List<string> GetRangeByScore(double fromScore, double toScore, int? skip, int? take)
Returns
System.Collections.Generic.List<System.String>
Parameters
Type | Name |
---|---|
System.Double | fromScore |
System.Double | toScore |
System.Nullable<System.Int32> | skip |
System.Nullable<System.Int32> | take |
RemoveRange(Int32, Int32)
View Source
Declaration
void RemoveRange(int fromRank, int toRank)
Parameters
Type | Name |
---|---|
System.Int32 | fromRank |
System.Int32 | toRank |
RemoveRangeByScore(Double, Double)
View Source
Declaration
void RemoveRangeByScore(double fromScore, double toScore)
Parameters
Type | Name |
---|---|
System.Double | fromScore |
System.Double | toScore |
StoreFromIntersect(IRedisSortedSet[])
View Source
Declaration
void StoreFromIntersect(params IRedisSortedSet[] ofSets)
Parameters
Type | Name |
---|---|
ServiceStack.Redis.IRedisSortedSet[] | ofSets |
StoreFromUnion(IRedisSortedSet[])
View Source
Declaration
void StoreFromUnion(params IRedisSortedSet[] ofSets)
Parameters
Type | Name |
---|---|
ServiceStack.Redis.IRedisSortedSet[] | ofSets |
GetItemIndex(String)
View Source
Declaration
long GetItemIndex(string value)
Returns
System.Int64
Parameters
Type | Name |
---|---|
System.String | value |
GetItemScore(String)
View Source
Declaration
double GetItemScore(string value)
Returns
System.Double
Parameters
Type | Name |
---|---|
System.String | value |
IncrementItemScore(String, Double)
View Source
Declaration
void IncrementItemScore(string value, double incrementByScore)
Parameters
Type | Name |
---|---|
System.String | value |
System.Double | incrementByScore |
PopItemWithHighestScore()
View Source
Declaration
string PopItemWithHighestScore()
Returns
System.String
PopItemWithLowestScore()
View Source
Declaration
string PopItemWithLowestScore()
Returns
System.String