Extensions methods for ICache<TK,TV>.
More...
|
static IQueryable< ICacheEntry< TKey, TValue > > | AsCacheQueryable< TKey, TValue > (this ICache< TKey, TValue > cache) |
| Gets an IQueryable<T> instance over this cache. More...
|
|
static IQueryable< ICacheEntry< TKey, TValue > > | AsCacheQueryable< TKey, TValue > (this ICache< TKey, TValue > cache, bool local) |
| Gets an IQueryable<T> instance over this cache. More...
|
|
static IQueryable< ICacheEntry< TKey, TValue > > | AsCacheQueryable< TKey, TValue > (this ICache< TKey, TValue > cache, bool local, string tableName) |
| Gets an IQueryable<T> instance over this cache. More...
|
|
static IQueryable< ICacheEntry< TKey, TValue > > | AsCacheQueryable< TKey, TValue > (this ICache< TKey, TValue > cache, QueryOptions queryOptions) |
| Gets an IQueryable<T> instance over this cache. More...
|
|
static IQueryable<ICacheEntry<TKey, TValue> > Apache.Ignite.Linq.CacheLinqExtensions.AsCacheQueryable< TKey, TValue > |
( |
this ICache< TKey, TValue > |
cache | ) |
|
|
static |
Resulting query will be translated to cache SQL query and executed over the cache instance via either ICache<TK,TV>.Query or ICache<TK,TV>.QueryFields, depending on requested result.
Result of this method (and subsequent query) can be cast to ICacheQueryable for introspection.
- Template Parameters
-
TKey | The type of the key. |
TValue | The type of the value. |
- Parameters
-
- Returns
- IQueryable<T> instance over this cache.
static IQueryable<ICacheEntry<TKey, TValue> > Apache.Ignite.Linq.CacheLinqExtensions.AsCacheQueryable< TKey, TValue > |
( |
this ICache< TKey, TValue > |
cache, |
|
|
bool |
local |
|
) |
| |
|
static |
Resulting query will be translated to cache SQL query and executed over the cache instance via either ICache<TK,TV>.Query or ICache<TK,TV>.QueryFields, depending on requested result.
Result of this method (and subsequent query) can be cast to ICacheQueryable for introspection.
- Template Parameters
-
TKey | The type of the key. |
TValue | The type of the value. |
- Parameters
-
cache | The cache. |
local | Local flag. When set query will be executed only on local node, so only local entries will be returned as query result. |
- Returns
- IQueryable<T> instance over this cache.
static IQueryable<ICacheEntry<TKey, TValue> > Apache.Ignite.Linq.CacheLinqExtensions.AsCacheQueryable< TKey, TValue > |
( |
this ICache< TKey, TValue > |
cache, |
|
|
bool |
local, |
|
|
string |
tableName |
|
) |
| |
|
static |
Resulting query will be translated to cache SQL query and executed over the cache instance via either ICache<TK,TV>.Query or ICache<TK,TV>.QueryFields, depending on requested result.
Result of this method (and subsequent query) can be cast to ICacheQueryable for introspection.
- Template Parameters
-
TKey | The type of the key. |
TValue | The type of the value. |
- Parameters
-
cache | The cache. |
local | Local flag. When set query will be executed only on local node, so only local entries will be returned as query result. |
tableName | Name of the table. |
Table name is equal to short class name of a cache value. When a cache has only one type of values, or only one QueryEntity defined, table name will be inferred and can be omitted.
- Returns
- IQueryable<T> instance over this cache.
static IQueryable<ICacheEntry<TKey, TValue> > Apache.Ignite.Linq.CacheLinqExtensions.AsCacheQueryable< TKey, TValue > |
( |
this ICache< TKey, TValue > |
cache, |
|
|
QueryOptions |
queryOptions |
|
) |
| |
|
static |
Resulting query will be translated to cache SQL query and executed over the cache instance via either ICache<TK,TV>.Query or ICache<TK,TV>.QueryFields, depending on requested result.
Result of this method (and subsequent query) can be cast to ICacheQueryable for introspection.
- Template Parameters
-
TKey | The type of the key. |
TValue | The type of the value. |
- Parameters
-
cache | The cache. |
queryOptions | The query options. |
- Returns
- IQueryable<T> instance over this cache.