Class EsqlAdapterBase<T>

java.lang.Object
co.elastic.clients.elasticsearch._helpers.esql.EsqlAdapterBase<T>
All Implemented Interfaces:
EsqlAdapter<T>
Direct Known Subclasses:
ResultSetEsqlAdapter

public abstract class EsqlAdapterBase<T> extends Object implements EsqlAdapter<T>
  • Constructor Details

    • EsqlAdapterBase

      public EsqlAdapterBase()
  • Method Details

    • readHeader

      public static EsqlMetadata readHeader(jakarta.json.stream.JsonParser parser, JsonpMapper mapper)
      Reads the header of an ES|QL response, moving the parser at the beginning of the first value row. The caller can then read row arrays until finding an end array that closes the top-level array.
    • readFooter

      public static void readFooter(jakarta.json.stream.JsonParser parser)
      Checks the footer of an ES|QL response, once the values have been read.