Package org.apache.ignite.configuration
Interface QueryEngineConfiguration
-
- All Known Implementing Classes:
CalciteQueryEngineConfiguration,IndexingQueryEngineConfiguration
public interface QueryEngineConfigurationInterface for the configuration of the query engine.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisDefault()Is this query engine should be used by default.QueryEngineConfigurationsetDefault(boolean isDflt)Sets whether this query engine should be used by default.
-
-
-
Method Detail
-
setDefault
QueryEngineConfiguration setDefault(boolean isDflt)
Sets whether this query engine should be used by default.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.
- Parameters:
isDflt-Trueif this query engine should be used by default.- Returns:
thisfor chaining.
-
isDefault
boolean isDefault()
Is this query engine should be used by default.- Returns:
Trueif this query engine is default.
-
-