Class CompiledQuery
Represents a compiled cache query.
Inheritance
Namespace: Apache.Ignite.Linq
Assembly: Apache.Ignite.Linq.dll
Syntax
public static class CompiledQuery : object
Methods
Compile<T>(Expression<Func<IQueryable<T>>>)
Creates a new delegate that represents the compiled cache query.
Declaration
public static Func<IQueryCursor<T>> Compile<T>(Expression<Func<IQueryable<T>>> query)
Parameters
| Type | Name | Description |
|---|---|---|
| Expression<Func<IQueryable<T>>> | query | The query to compile. |
Returns
| Type | Description |
|---|---|
| Func<IQueryCursor<T>> | Delegate that represents the compiled cache query. |
Type Parameters
| Name | Description |
|---|---|
| T |
Compile<T>(IQueryable<T>)
Creates a new delegate that represents the compiled cache query with any number of arguments.
This method differs from other Compile methods in that it takes in ICacheQueryable directly, and returns a delegate that takes an array of parameters. It is up to the user to provide query arguments in correct order.
This method also imposes no restrictions on where the query comes from (in contrary to other methods).
Declaration
public static CompiledQueryFunc<T> Compile<T>(IQueryable<T> query)
Parameters
| Type | Name | Description |
|---|---|---|
| IQueryable<T> | query | The query to compile. |
Returns
| Type | Description |
|---|---|
| CompiledQueryFunc<T> | Delegate that represents the compiled cache query. |
Type Parameters
| Name | Description |
|---|---|
| T |
Compile<T, T1>(Expression<Func<T1, IQueryable<T>>>)
Creates a new delegate that represents the compiled cache query.
Declaration
public static Func<T1, IQueryCursor<T>> Compile<T, T1>(Expression<Func<T1, IQueryable<T>>> query)
Parameters
| Type | Name | Description |
|---|---|---|
| Expression<Func<T1, IQueryable<T>>> | query | The query to compile. |
Returns
| Type | Description |
|---|---|
| Func<T1, IQueryCursor<T>> | Delegate that represents the compiled cache query. |
Type Parameters
| Name | Description |
|---|---|
| T | |
| T1 |
Compile<T, T1, T2>(Expression<Func<T1, T2, IQueryable<T>>>)
Creates a new delegate that represents the compiled cache query.
Declaration
public static Func<T1, T2, IQueryCursor<T>> Compile<T, T1, T2>(Expression<Func<T1, T2, IQueryable<T>>> query)
Parameters
| Type | Name | Description |
|---|---|---|
| Expression<Func<T1, T2, IQueryable<T>>> | query | The query to compile. |
Returns
| Type | Description |
|---|---|
| Func<T1, T2, IQueryCursor<T>> | Delegate that represents the compiled cache query. |
Type Parameters
| Name | Description |
|---|---|
| T | |
| T1 | |
| T2 |
Compile<T, T1, T2, T3>(Expression<Func<T1, T2, T3, IQueryable<T>>>)
Creates a new delegate that represents the compiled cache query.
Declaration
public static Func<T1, T2, T3, IQueryCursor<T>> Compile<T, T1, T2, T3>(Expression<Func<T1, T2, T3, IQueryable<T>>> query)
Parameters
| Type | Name | Description |
|---|---|---|
| Expression<Func<T1, T2, T3, IQueryable<T>>> | query | The query to compile. |
Returns
| Type | Description |
|---|---|
| Func<T1, T2, T3, IQueryCursor<T>> | Delegate that represents the compiled cache query. |
Type Parameters
| Name | Description |
|---|---|
| T | |
| T1 | |
| T2 | |
| T3 |
Compile<T, T1, T2, T3, T4>(Expression<Func<T1, T2, T3, T4, IQueryable<T>>>)
Creates a new delegate that represents the compiled cache query.
Declaration
public static Func<T1, T2, T3, T4, IQueryCursor<T>> Compile<T, T1, T2, T3, T4>(Expression<Func<T1, T2, T3, T4, IQueryable<T>>> query)
Parameters
| Type | Name | Description |
|---|---|---|
| Expression<Func<T1, T2, T3, T4, IQueryable<T>>> | query | The query to compile. |
Returns
| Type | Description |
|---|---|
| Func<T1, T2, T3, T4, IQueryCursor<T>> | Delegate that represents the compiled cache query. |
Type Parameters
| Name | Description |
|---|---|
| T | |
| T1 | |
| T2 | |
| T3 | |
| T4 |
Compile<T, T1, T2, T3, T4, T5>(Expression<Func<T1, T2, T3, T4, T5, IQueryable<T>>>)
Creates a new delegate that represents the compiled cache query.
Declaration
public static Func<T1, T2, T3, T4, T5, IQueryCursor<T>> Compile<T, T1, T2, T3, T4, T5>(Expression<Func<T1, T2, T3, T4, T5, IQueryable<T>>> query)
Parameters
| Type | Name | Description |
|---|---|---|
| Expression<Func<T1, T2, T3, T4, T5, IQueryable<T>>> | query | The query to compile. |
Returns
| Type | Description |
|---|---|
| Func<T1, T2, T3, T4, T5, IQueryCursor<T>> | Delegate that represents the compiled cache query. |
Type Parameters
| Name | Description |
|---|---|
| T | |
| T1 | |
| T2 | |
| T3 | |
| T4 | |
| T5 |
Compile<T, T1, T2, T3, T4, T5, T6>(Expression<Func<T1, T2, T3, T4, T5, T6, IQueryable<T>>>)
Creates a new delegate that represents the compiled cache query.
Declaration
public static Func<T1, T2, T3, T4, T5, T6, IQueryCursor<T>> Compile<T, T1, T2, T3, T4, T5, T6>(Expression<Func<T1, T2, T3, T4, T5, T6, IQueryable<T>>> query)
Parameters
| Type | Name | Description |
|---|---|---|
| Expression<Func<T1, T2, T3, T4, T5, T6, IQueryable<T>>> | query | The query to compile. |
Returns
| Type | Description |
|---|---|
| Func<T1, T2, T3, T4, T5, T6, IQueryCursor<T>> | Delegate that represents the compiled cache query. |
Type Parameters
| Name | Description |
|---|---|
| T | |
| T1 | |
| T2 | |
| T3 | |
| T4 | |
| T5 | |
| T6 |
Compile<T, T1, T2, T3, T4, T5, T6, T7>(Expression<Func<T1, T2, T3, T4, T5, T6, T7, IQueryable<T>>>)
Creates a new delegate that represents the compiled cache query.
Declaration
public static Func<T1, T2, T3, T4, T5, T6, T7, IQueryCursor<T>> Compile<T, T1, T2, T3, T4, T5, T6, T7>(Expression<Func<T1, T2, T3, T4, T5, T6, T7, IQueryable<T>>> query)
Parameters
| Type | Name | Description |
|---|---|---|
| Expression<Func<T1, T2, T3, T4, T5, T6, T7, IQueryable<T>>> | query | The query to compile. |
Returns
| Type | Description |
|---|---|
| Func<T1, T2, T3, T4, T5, T6, T7, IQueryCursor<T>> | Delegate that represents the compiled cache query. |
Type Parameters
| Name | Description |
|---|---|
| T | |
| T1 | |
| T2 | |
| T3 | |
| T4 | |
| T5 | |
| T6 | |
| T7 |
Compile<T, T1, T2, T3, T4, T5, T6, T7, T8>(Expression<Func<T1, T2, T3, T4, T5, T6, T7, T8, IQueryable<T>>>)
Creates a new delegate that represents the compiled cache query.
Declaration
public static Func<T1, T2, T3, T4, T5, T6, T7, T8, IQueryCursor<T>> Compile<T, T1, T2, T3, T4, T5, T6, T7, T8>(Expression<Func<T1, T2, T3, T4, T5, T6, T7, T8, IQueryable<T>>> query)
Parameters
| Type | Name | Description |
|---|---|---|
| Expression<Func<T1, T2, T3, T4, T5, T6, T7, T8, IQueryable<T>>> | query | The query to compile. |
Returns
| Type | Description |
|---|---|
| Func<T1, T2, T3, T4, T5, T6, T7, T8, IQueryCursor<T>> | Delegate that represents the compiled cache query. |
Type Parameters
| Name | Description |
|---|---|
| T | |
| T1 | |
| T2 | |
| T3 | |
| T4 | |
| T5 | |
| T6 | |
| T7 | |
| T8 |