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