Interface EsqlAdapter<Result>
- All Known Implementing Classes:
EsqlAdapterBase,ObjectsEsqlAdapter,ResultSetEsqlAdapter
public interface EsqlAdapter<Result>
A deserializer for ES|QL responses.
-
Method Summary
Modifier and TypeMethodDescriptionbooleancolumnar()For JSON like results, whether the result should be organized in rows or columnsdeserialize(ApiClient<ElasticsearchTransport, ?> client, QueryRequest request, BinaryResponse response) Deserialize the raw http response returned by the serverformat()ESQL result format this deserializer accepts (text, csv, json, arrow, etc.)
-
Method Details
-
format
String format()ESQL result format this deserializer accepts (text, csv, json, arrow, etc.) -
columnar
boolean columnar()For JSON like results, whether the result should be organized in rows or columns -
deserialize
Result deserialize(ApiClient<ElasticsearchTransport, ?> client, QueryRequest request, BinaryResponse response) throws IOExceptionDeserialize the raw http response returned by the server- Throws:
IOException
-