Class QueryResponse
java.lang.Object
co.elastic.clients.elasticsearch.sql.QueryResponse
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<QueryResponse>Json deserializer forQueryResponse -
Method Summary
Modifier and TypeMethodDescriptioncolumns()Column headings for the search results.final Stringcursor()The cursor for the next set of paginated results.final Stringid()The identifier for the search.final BooleanIftrue, the response does not contain complete search results.final BooleanIftrue, the search is still running.static QueryResponserows()Required - The values for the search results.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forQueryResponse
-
-
Method Details
-
of
-
columns
Column headings for the search results. Each object is a column.API name:
columns -
cursor
The cursor for the next set of paginated results. For CSV, TSV, and TXT responses, this value is returned in theCursorHTTP header.API name:
cursor -
id
The identifier for the search. This value is returned only for async and saved synchronous searches. For CSV, TSV, and TXT responses, this value is returned in theAsync-IDHTTP header.API name:
id -
isRunning
Iftrue, the search is still running. Iffalse, the search has finished. This value is returned only for async and saved synchronous searches. For CSV, TSV, and TXT responses, this value is returned in theAsync-partialHTTP header.API name:
is_running -
isPartial
Iftrue, the response does not contain complete search results. Ifis_partialistrueandis_runningistrue, the search is still running. Ifis_partialistruebutis_runningisfalse, the results are partial due to a failure or timeout. This value is returned only for async and saved synchronous searches. For CSV, TSV, and TXT responses, this value is returned in theAsync-partialHTTP header.API name:
is_partial -
rows
Required - The values for the search results.API name:
rows -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupQueryResponseDeserializer
-