Skip to main content

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
TypeName
System.Int32startingRank
System.Int32endingRank

GetRangeByScore(String, String)

View Source
Declaration
List<string> GetRangeByScore(string fromStringScore, string toStringScore)
Returns

System.Collections.Generic.List<System.String>

Parameters
TypeName
System.StringfromStringScore
System.StringtoStringScore

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
TypeName
System.StringfromStringScore
System.StringtoStringScore
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
TypeName
System.DoublefromScore
System.DoubletoScore

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
TypeName
System.DoublefromScore
System.DoubletoScore
System.Nullable<System.Int32>skip
System.Nullable<System.Int32>take

RemoveRange(Int32, Int32)

View Source
Declaration
void RemoveRange(int fromRank, int toRank)
Parameters
TypeName
System.Int32fromRank
System.Int32toRank

RemoveRangeByScore(Double, Double)

View Source
Declaration
void RemoveRangeByScore(double fromScore, double toScore)
Parameters
TypeName
System.DoublefromScore
System.DoubletoScore

StoreFromIntersect(IRedisSortedSet[])

View Source
Declaration
void StoreFromIntersect(params IRedisSortedSet[] ofSets)
Parameters
TypeName
ServiceStack.Redis.IRedisSortedSet[]ofSets

StoreFromUnion(IRedisSortedSet[])

View Source
Declaration
void StoreFromUnion(params IRedisSortedSet[] ofSets)
Parameters
TypeName
ServiceStack.Redis.IRedisSortedSet[]ofSets

GetItemIndex(String)

View Source
Declaration
long GetItemIndex(string value)
Returns

System.Int64

Parameters
TypeName
System.Stringvalue

GetItemScore(String)

View Source
Declaration
double GetItemScore(string value)
Returns

System.Double

Parameters
TypeName
System.Stringvalue

IncrementItemScore(String, Double)

View Source
Declaration
void IncrementItemScore(string value, double incrementByScore)
Parameters
TypeName
System.Stringvalue
System.DoubleincrementByScore

PopItemWithHighestScore()

View Source
Declaration
string PopItemWithHighestScore()
Returns

System.String

PopItemWithLowestScore()

View Source
Declaration
string PopItemWithLowestScore()
Returns

System.String