Class ObjectsEsqlAdapter<T>
java.lang.Object
co.elastic.clients.elasticsearch._helpers.esql.objects.ObjectsEsqlAdapter<T>
- All Implemented Interfaces:
EsqlAdapter<Iterable<T>>
And ES|QL adapter that returns an iterable of domain objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
columnar()
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.)static <T> ObjectsEsqlAdapter<T>
static <T> ObjectsEsqlAdapter<T>
-
Constructor Details
-
ObjectsEsqlAdapter
-
-
Method Details
-
of
-
of
-
format
Description copied from interface:EsqlAdapter
ESQL result format this deserializer accepts (text, csv, json, arrow, etc.)- Specified by:
format
in interfaceEsqlAdapter<T>
-
columnar
public boolean columnar()Description copied from interface:EsqlAdapter
For JSON like results, whether the result should be organized in rows or columns- Specified by:
columnar
in interfaceEsqlAdapter<T>
-
deserialize
public Iterable<T> deserialize(ApiClient<ElasticsearchTransport, ?> client, QueryRequest request, BinaryResponse response) throws IOExceptionDescription copied from interface:EsqlAdapter
Deserialize the raw http response returned by the server- Specified by:
deserialize
in interfaceEsqlAdapter<T>
- Throws:
IOException
-