Apache Ignite.NET
Apache.Ignite.Core.Cache.Query.SqlQuery Class Reference

SQL Query. More...

Inheritance diagram for Apache.Ignite.Core.Cache.Query.SqlQuery:
Apache.Ignite.Core.Cache.Query.QueryBase

Public Member Functions

 SqlQuery (Type queryType, string sql, params object[] args)
 Constructor. More...
 
 SqlQuery (Type queryType, string sql, bool local, params object[] args)
 Constructor. More...
 
 SqlQuery (string queryType, string sql, params object[] args)
 Constructor. More...
 
 SqlQuery (string queryType, string sql, bool local, params object[] args)
 Constructor. More...
 
override string ToString ()
 Returns a string that represents this instance. More...
 

Properties

string QueryType [get, set]
 Type. More...
 
string Sql [get, set]
 SQL. More...
 
object[] Arguments [get, set]
 Arguments. More...
 
bool EnableDistributedJoins [get, set]
 Gets or sets a value indicating whether distributed joins should be enabled for this query. More...
 
TimeSpan Timeout [get, set]
 Gets or sets the query timeout. Query will be automatically cancelled if the execution timeout is exceeded. Default is TimeSpan.Zero, which means no timeout. More...
 
bool ReplicatedOnly [get, set]
 Gets or sets a value indicating whether this query contains only replicated tables. This is a hint for potentially more effective execution. More...
 
- Properties inherited from Apache.Ignite.Core.Cache.Query.QueryBase
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]
 Optional page size. If set to 0, then CacheQueryConfiguration.pageSize is used. More...
 

Additional Inherited Members

- Public Attributes inherited from Apache.Ignite.Core.Cache.Query.QueryBase
const int DefaultPageSize = 1024
 Default page size. More...
 

Detailed Description

Constructor & Destructor Documentation

Apache.Ignite.Core.Cache.Query.SqlQuery.SqlQuery ( Type  queryType,
string  sql,
params object[]  args 
)
Parameters
queryTypeType.
sqlSQL.
argsArguments.
Apache.Ignite.Core.Cache.Query.SqlQuery.SqlQuery ( Type  queryType,
string  sql,
bool  local,
params object[]  args 
)
Parameters
queryTypeType.
sqlSQL.
localWhether query should be executed locally.
argsArguments.
Apache.Ignite.Core.Cache.Query.SqlQuery.SqlQuery ( string  queryType,
string  sql,
params object[]  args 
)
Parameters
queryTypeType.
sqlSQL.
argsArguments.
Apache.Ignite.Core.Cache.Query.SqlQuery.SqlQuery ( string  queryType,
string  sql,
bool  local,
params object[]  args 
)
Parameters
queryTypeType.
sqlSQL.
localWhether query should be executed locally.
argsArguments.

Member Function Documentation

override string Apache.Ignite.Core.Cache.Query.SqlQuery.ToString ( )
Returns
A string that represents this instance.

Property Documentation

object [] Apache.Ignite.Core.Cache.Query.SqlQuery.Arguments
getset
bool Apache.Ignite.Core.Cache.Query.SqlQuery.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.

string Apache.Ignite.Core.Cache.Query.SqlQuery.QueryType
getset
bool Apache.Ignite.Core.Cache.Query.SqlQuery.ReplicatedOnly
getset
string Apache.Ignite.Core.Cache.Query.SqlQuery.Sql
getset
TimeSpan Apache.Ignite.Core.Cache.Query.SqlQuery.Timeout
getset