Class EsqlFeatures
java.lang.Object
org.elasticsearch.xpack.esql.plugin.EsqlFeatures
- All Implemented Interfaces:
FeatureSpecification
NodeFeatures declared by ESQL. These should be used for fast checks
on the node. Before the introduction of the RestNodesCapabilitiesAction
this was used for controlling which features are tested so many of the
examples below are *just* used for that. Don't make more of those - add them
to EsqlCapabilities instead.
NOTE: You can't remove a feature now and probably never will be able to. Only add more of these if you need a fast CPU level check.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final NodeFeatureDoes ESQL support async queries.static final NodeFeatureBase64 encoding and decoding functions.static final NodeFeatureSupport for the :: casting operatorstatic final NodeFeatureSupport metrics counter typesstatic final NodeFeatureSupport for loading values over enrich.static final NodeFeatureDeprecated.static final NodeFeatureSupport for metadata fields.static final NodeFeatureSupport for metrics counter fieldsstatic final NodeFeatureSupport metrics syntaxstatic final NodeFeatureBlocks can be labelled withBlock.MvOrdering.SORTED_ASCENDINGfor optimizations.static final NodeFeatureInternal resolve_fields API for ES|QLstatic final NodeFeatureCast string literals to a desired data type.static final NodeFeatureCast string literals to a desired data type for IN predicate and more types for BinaryComparison.static final NodeFeatureSupport for timespan units abbreviations -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.features.FeatureSpecification
getTestFeatures
-
Field Details
-
ASYNC_QUERY
Does ESQL support async queries. -
FROM_OPTIONS
Deprecated.Does ESQL support FROM OPTIONS? -
STRING_LITERAL_AUTO_CASTING
Cast string literals to a desired data type. -
BASE64_DECODE_ENCODE
Base64 encoding and decoding functions. -
CASTING_OPERATOR
Support for the :: casting operator -
MV_ORDERING_SORTED_ASCENDING
Blocks can be labelled withBlock.MvOrdering.SORTED_ASCENDINGfor optimizations. -
METRICS_COUNTER_FIELDS
Support for metrics counter fields -
STRING_LITERAL_AUTO_CASTING_EXTENDED
Cast string literals to a desired data type for IN predicate and more types for BinaryComparison. -
METADATA_FIELDS
Support for metadata fields. -
ENRICH_LOAD
Support for loading values over enrich. This is supported by all versions of ESQL but not the unit test CsvTests. -
TIMESPAN_ABBREVIATIONS
Support for timespan units abbreviations -
COUNTER_TYPES
Support metrics counter types -
METRICS_SYNTAX
Support metrics syntax -
RESOLVE_FIELDS_API
Internal resolve_fields API for ES|QL
-
-
Constructor Details
-
EsqlFeatures
public EsqlFeatures()
-
-
Method Details
-
getFeatures
- Specified by:
getFeaturesin interfaceFeatureSpecification
-
getHistoricalFeatures
- Specified by:
getHistoricalFeaturesin interfaceFeatureSpecification
-