Package org.apache.ignite.indexing
Class IndexingQueryEngineConfiguration
- java.lang.Object
-
- org.apache.ignite.indexing.IndexingQueryEngineConfiguration
-
- All Implemented Interfaces:
QueryEngineConfiguration,org.apache.ignite.internal.processors.query.QueryEngineConfigurationEx
public class IndexingQueryEngineConfiguration extends Object implements org.apache.ignite.internal.processors.query.QueryEngineConfigurationEx
Query engine configuration for indexing-backed query engine.
-
-
Field Summary
Fields Modifier and Type Field Description static StringENGINE_NAMEQuery engine name.
-
Constructor Summary
Constructors Constructor Description IndexingQueryEngineConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends org.apache.ignite.internal.processors.query.QueryEngine>engineClass()Query engine class.StringengineName()Query engine name.booleanisDefault()Is this query engine should be used by default.IndexingQueryEngineConfigurationsetDefault(boolean isDflt)Sets whether this query engine should be used by default.
-
-
-
Field Detail
-
ENGINE_NAME
public static final String ENGINE_NAME
Query engine name.- See Also:
- Constant Field Values
-
-
Method Detail
-
engineName
public String engineName()
Query engine name.- Specified by:
engineNamein interfaceorg.apache.ignite.internal.processors.query.QueryEngineConfigurationEx
-
engineClass
public Class<? extends org.apache.ignite.internal.processors.query.QueryEngine> engineClass()
Query engine class.- Specified by:
engineClassin interfaceorg.apache.ignite.internal.processors.query.QueryEngineConfigurationEx
-
isDefault
public boolean isDefault()
Is this query engine should be used by default.- Specified by:
isDefaultin interfaceQueryEngineConfiguration- Returns:
Trueif this query engine is default.
-
setDefault
public IndexingQueryEngineConfiguration 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.
- Specified by:
setDefaultin interfaceQueryEngineConfiguration- Parameters:
isDflt-Trueif this query engine should be used by default.- Returns:
thisfor chaining.
-
-