Class EsqlFeatures

java.lang.Object
org.elasticsearch.xpack.esql.plugin.EsqlFeatures
All Implemented Interfaces:
FeatureSpecification

public class EsqlFeatures extends Object implements 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 only remove features on major version boundaries. Only add more of these if you need a fast CPU level check.

  • Field Details

    • METRICS_SYNTAX

      public static final NodeFeature METRICS_SYNTAX
      Support metrics syntax
    • ESQL_VIEWS_FEATURE_FLAG

      public static final FeatureFlag ESQL_VIEWS_FEATURE_FLAG
      A feature flag to enable ESQL views REST API functionality.
  • Constructor Details

    • EsqlFeatures

      public EsqlFeatures()
  • Method Details