Class EsqlConfig
java.lang.Object
org.elasticsearch.xpack.esql.parser.EsqlConfig
-
Constructor Summary
ConstructorsConstructorDescriptionEsqlConfig(boolean isDevVersion, EsqlFunctionRegistry functionRegistry) EsqlConfig(EsqlFunctionRegistry functionRegistry) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanWhether the EXTERNAL command and external data source grammar are enabled.
-
Constructor Details
-
EsqlConfig
-
EsqlConfig
-
-
Method Details
-
isDevVersion
public boolean isDevVersion() -
isExternalDataSourcesEnabled
public boolean isExternalDataSourcesEnabled()Whether the EXTERNAL command and external data source grammar are enabled. This respects theesql_external_datasourcesfeature flag (on by default in snapshot builds). Snapshot test runs may also useEsqlConfig(false, ...)to simulate production parsing; in that case EXTERNAL is disabled even when the feature flag is on. Non-snapshot (release) builds ignore that simulation and rely on the feature flag alone. -
functionRegistry
-