Apache Ignite.NET
Apache.Ignite.Linq.QueryOptions Class Reference

Cache query options. More...

Public Member Functions

 QueryOptions ()
 Initializes a new instance of the QueryOptions class. More...
 

Public Attributes

const int DefaultPageSize = SqlFieldsQuery.DfltPageSize
 Default page size. More...
 

Properties

bool Local [get, set]
 Local flag. When set query will be executed only on local node, so only local entries will be returned as query result. More...
 
int PageSize [get, set]
 Page size, defaults to DefaultPageSize. More...
 
string TableName [get, set]
 Gets or sets the name of the table. More...
 
bool EnableDistributedJoins [get, set]
 Gets or sets a value indicating whether distributed joins should be enabled for this query. More...
 
bool EnforceJoinOrder [get, set]
 Gets or sets a value indicating whether join order of tables should be enforced. More...
 

Detailed Description

Constructor & Destructor Documentation

Apache.Ignite.Linq.QueryOptions.QueryOptions ( )

Member Data Documentation

const int Apache.Ignite.Linq.QueryOptions.DefaultPageSize = SqlFieldsQuery.DfltPageSize

Property Documentation

bool Apache.Ignite.Linq.QueryOptions.EnableDistributedJoins
getset

When disabled, join results will only contain colocated data (joins work locally). When enabled, joins work as expected, no matter how the data is distributed.

true if enable distributed joins should be enabled; otherwise, false.

bool Apache.Ignite.Linq.QueryOptions.EnforceJoinOrder
getset

When true, query optimizer will not reorder tables in join.

It is not recommended to enable this property until you are sure that your indexes and the query itself are correct and tuned as much as possible but query optimizer still produces wrong join order.

true if join order should be enforced; otherwise, false.

bool Apache.Ignite.Linq.QueryOptions.Local
getset

Defaults to false.

int Apache.Ignite.Linq.QueryOptions.PageSize
getset
string Apache.Ignite.Linq.QueryOptions.TableName
getset

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 (null).

The name of the table.