Configuration of Ignite Cache Indexing
Ignite supports H2 as the default indexing engine and Apache Calcite can be used as an optional indexing engine.
The H2 index JAR files are at location:
BE_HOME\lib\ext\tpcl\apache\ignite\ignite-indexing
To switch to the Apache Calcite index, set the property ignite.query.index.h2.enabled=false and add the required Apache Calcite index JAR files at the Ignite indexing location.
In case of external Ignite, the default indexing is H2. If the external ignite server indexing is set to Apache Calcite, then use the following function to switch indexing to Apache Calcite at the client side too:
@com.tibco.be.model.functions.BEFunction(
name = "setCalciteIndexing",
signature = "void setCalciteIndexing (Object igniteConfig)",
params = {
@FunctionParamDescriptor(name = "igniteConfig", type = "Object", desc = "IgniteConfiguration Object")
},
freturn = @FunctionParamDescriptor(name = "", type = "void", desc = ""),
version = "6.3.1",
see = "",
mapper = @com.tibco.be.model.functions.BEMapper(),
description = "Sets sqlConfigration as Calcite for given IgniteConfiguration",
cautions = "none",
fndomain = {ACTION},
example = ""
)
BE_HOME\lib\ext\tpcl\apache\ignite\ignite-indexingFor configurations to run the external Apache Ignite with Apache Calcite, see the Apache Ignite documentation.