Show / Hide Table of Contents

# Class QueryBase

Base class for all Ignite cache entry queries.

##### Inheritance

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

##### Inherited Members

System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()

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

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

##### Syntax

    public abstract class QueryBase : IQueryBaseInternal

### Constructors

#### QueryBase()

Initializes a new instance of the QueryBase class.

##### Declaration

    protected QueryBase()

### Fields

#### DefaultPageSize

Default page size.

##### Declaration

    public const int DefaultPageSize = 1024

##### 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 |