BB.Caching.Redis.Analytics.BitwiseAnalytics.BitwiseNot C# (CSharp) Method

BitwiseNot() public static method

Perform a bitwise NOT operation on a key (containing a string value) and store the result in the destination key.
http://redis.io/commands/bitop
public static BitwiseNot ( IDatabase database, RedisKey destination, RedisKey key ) : long
database IDatabase /// The database where the query will be performed. This is passed so that we can reuse the same database to /// perform multiple bitwise operations. Doing this with the same connection will guarantee that performance /// is good. ///
destination RedisKey /// The destination key where the result should be stored. ///
key RedisKey /// The key where the data to be NOT'd is located. ///
return long
        public static long BitwiseNot(IDatabase database, RedisKey destination, RedisKey key)
        {
            long result = database
                .StringBitOperation(Bitwise.Not, destination, key);

            return result;
        }

Same methods

BitwiseAnalytics::BitwiseNot ( IDatabase database, RedisKey destination, RedisKey key, System.TimeSpan expires ) : long