Class EsqlCapabilities

java.lang.Object
org.elasticsearch.xpack.esql.action.EsqlCapabilities

public class EsqlCapabilities extends Object
A Set of "capabilities" supported by the RestEsqlQueryAction and RestEsqlAsyncQueryAction APIs. These are exposed over the RestNodesCapabilitiesAction and we use them to enable tests.
  • Field Details

    • CAPABILITIES

      public static final Set<String> CAPABILITIES
  • Constructor Details

    • EsqlCapabilities

      public EsqlCapabilities()
  • Method Details

    • capabilities

      public static Set<String> capabilities(boolean all)
      Get a Set of all capabilities. If the all parameter is false then only enabled capabilities are returned - otherwise all known capabilities are returned.
    • cap

      public static String cap(NodeFeature feature)
      Convert a NodeFeature from EsqlFeatures into a capability.