C# Class BB.Caching.Redis.Analytics.Ops

The operations to use when querying for event data.
Datei anzeigen Open project: JesseBuesking/BB.Caching

Public Methods

Method Description
And ( ) : RedisKey

Combines events by finding their logical intersection.

AndAsync ( ) : Task

Combines events by finding their logical intersection.

Not ( Event @event ) : RedisKey

Gets the logical negation of an event.

NotAsync ( Event @event ) : Task

Gets the logical negation of an event.

Or ( ) : RedisKey

Combines events by finding their logical union.

OrAsync ( ) : Task

Combines events by finding their logical union.

XOr ( ) : RedisKey

Combines events by finding their logical exclusive OR.

XOrAsync ( ) : Task

Combines events by finding their logical exclusive OR.

Private Methods

Method Description
Base64 ( IEnumerable values ) : string

Gets the Base64 representation of a collection of values.

TempKey ( ) : RedisKey

Creates a new temporary key.

TemporarilyOrKeys ( IDatabase database, RedisKey keys ) : RedisKey

Logically ORs the keys supplied and returns the location of the value if more than one key is supplied, otherwise it immediately returns the key.

TemporarilyOrKeysAsync ( IDatabase database, RedisKey keys ) : Task

Logically ORs the keys supplied and returns the location of the value if more than one key is supplied, otherwise it immediately returns the key.

Method Details

And() public static method

Combines events by finding their logical intersection.
public static And ( ) : RedisKey
return RedisKey

AndAsync() public static method

Combines events by finding their logical intersection.
public static AndAsync ( ) : Task
return Task

Not() public static method

Gets the logical negation of an event.
public static Not ( Event @event ) : RedisKey
@event Event
return RedisKey

NotAsync() public static method

Gets the logical negation of an event.
public static NotAsync ( Event @event ) : Task
@event Event
return Task

Or() public static method

Combines events by finding their logical union.
public static Or ( ) : RedisKey
return RedisKey

OrAsync() public static method

Combines events by finding their logical union.
public static OrAsync ( ) : Task
return Task

XOr() public static method

Combines events by finding their logical exclusive OR.
public static XOr ( ) : RedisKey
return RedisKey

XOrAsync() public static method

Combines events by finding their logical exclusive OR.
public static XOrAsync ( ) : Task
return Task