public class CalciteQueryEngineConfiguration extends Object implements org.apache.ignite.internal.processors.query.QueryEngineConfigurationEx
Modifier and Type | Field and Description |
---|---|
static String |
ENGINE_NAME
Query engine name.
|
Constructor and Description |
---|
CalciteQueryEngineConfiguration() |
Modifier and Type | Method and Description |
---|---|
Class<? extends org.apache.ignite.internal.processors.query.QueryEngine> |
engineClass()
Query engine class.
|
String |
engineName()
Query engine name.
|
long |
getGlobalMemoryQuota()
Gets global heap memory quota for SQL engine.
|
long |
getQueryMemoryQuota()
Gets per-query heap memory quota.
|
boolean |
isDefault()
Is this query engine should be used by default.
|
CalciteQueryEngineConfiguration |
setDefault(boolean isDflt)
Sets whether this query engine should be used by default.
|
CalciteQueryEngineConfiguration |
setGlobalMemoryQuota(long globalMemoryQuota)
Sets global heap memory quota for SQL engine.
|
CalciteQueryEngineConfiguration |
setQueryMemoryQuota(long qryMemoryQuota)
Sets per-query heap memory quota.
|
public static final String ENGINE_NAME
public String engineName()
engineName
in interface org.apache.ignite.internal.processors.query.QueryEngineConfigurationEx
public Class<? extends org.apache.ignite.internal.processors.query.QueryEngine> engineClass()
engineClass
in interface org.apache.ignite.internal.processors.query.QueryEngineConfigurationEx
public boolean isDefault()
isDefault
in interface QueryEngineConfiguration
True
if this query engine is default.public CalciteQueryEngineConfiguration setDefault(boolean isDflt)
There can be only one query engine configuration with the default flag.
If there is no configuration with the default flag, the query engine provided by the ignite-indexing module will be used by default (if configured). If there is no configuration for the ignite-indexing module engine exists, the first engine from the query engines configuration will be used.
setDefault
in interface QueryEngineConfiguration
isDflt
- True
if this query engine should be used by default.this
for chaining.public long getGlobalMemoryQuota()
public CalciteQueryEngineConfiguration setGlobalMemoryQuota(long globalMemoryQuota)
globalMemoryQuota
- Global heap memory quota for SQL engine.this
for chaining.public long getQueryMemoryQuota()
public CalciteQueryEngineConfiguration setQueryMemoryQuota(long qryMemoryQuota)
qryMemoryQuota
- Per-query heap memory quota.this
for chaining.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023