IRedisSet
Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public interface IRedisSet : ICollection<string>, IEnumerable<string>, IEnumerable, IHasStringId, IHasId<string>
Methods
GetRangeFromSortedSet(Int32, Int32)
View Source
Declaration
List<string> GetRangeFromSortedSet(int startingFrom, int endingAt)
Returns
System.Collections.Generic.List<System.String>
Parameters
Type | Name |
---|---|
System.Int32 | startingFrom |
System.Int32 | endingAt |
GetAll()
View Source
Declaration
HashSet<string> GetAll()
Returns
System.Collections.Generic.HashSet<System.String>
Pop()
View Source
Declaration
string Pop()
Returns
System.String
Move(String, IRedisSet)
View Source
Declaration
void Move(string value, IRedisSet toSet)
Parameters
Type | Name |
---|---|
System.String | value |
ServiceStack.Redis.IRedisSet | toSet |
Intersect(IRedisSet[])
View Source
Declaration
HashSet<string> Intersect(params IRedisSet[] withSets)
Returns
System.Collections.Generic.HashSet<System.String>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.IRedisSet[] | withSets |
StoreIntersect(IRedisSet[])
View Source
Declaration
void StoreIntersect(params IRedisSet[] withSets)
Parameters
Type | Name |
---|---|
ServiceStack.Redis.IRedisSet[] | withSets |
Union(IRedisSet[])
View Source
Declaration
HashSet<string> Union(params IRedisSet[] withSets)
Returns
System.Collections.Generic.HashSet<System.String>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.IRedisSet[] | withSets |
StoreUnion(IRedisSet[])
View Source
Declaration
void StoreUnion(params IRedisSet[] withSets)
Parameters
Type | Name |
---|---|
ServiceStack.Redis.IRedisSet[] | withSets |
Diff(IRedisSet[])
View Source
Declaration
HashSet<string> Diff(IRedisSet[] withSets)
Returns
System.Collections.Generic.HashSet<System.String>
Parameters
Type | Name |
---|---|
ServiceStack.Redis.IRedisSet[] | withSets |
StoreDiff(IRedisSet, IRedisSet[])
View Source
Declaration
void StoreDiff(IRedisSet fromSet, params IRedisSet[] withSets)
Parameters
Type | Name |
---|---|
ServiceStack.Redis.IRedisSet | fromSet |
ServiceStack.Redis.IRedisSet[] | withSets |
GetRandomEntry()
View Source
Declaration
string GetRandomEntry()
Returns
System.String