Search Results for

Show / Hide Table of Contents

# Class QueryBase

Base class for all Ignite cache entry queries.

##### Inheritance

System.Object
QueryBase
ScanQuery<TK, TV>
SqlQuery
TextQuery

###### Namespace: Apache.Ignite.Core.Cache.Query

###### Assembly: Apache.Ignite.Core.dll

##### Syntax

    public abstract class QueryBase : object, IQueryBaseInternal

### Constructors

#### QueryBase()

Initializes a new instance of the QueryBase class.

##### Declaration

    protected QueryBase()

### Fields

#### DefaultPageSize

Default page size.

##### Declaration

    public const int DefaultPageSize = null

##### Field Value

Type | Description
--- | ---
System.Int32 |

### Properties

#### Local

Local flag. When set query will be executed only on local node, so only local entries will be returned as query result.

Defaults to `false`.

##### Declaration

    public bool Local { get; set; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

#### PageSize

Optional page size. If set to `0`, then `CacheQueryConfiguration.pageSize` is used.

##### Declaration

    public int PageSize { get; set; }

##### Property Value

Type | Description
--- | ---
System.Int32 |