You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @internal This API is EXPERIMENTAL and may be changed or removed completely in a future release
36
+
*
37
+
* @param array{
38
+
* format: string, // a short version of the Accept header, e.g. json, yaml
39
+
* delimiter: string, // The character to use between values within a CSV row. Only valid for the csv format.
40
+
* drop_null_columns: boolean, // Should entirely null columns be removed from the results? Their name and type will be returning in a new `all_columns` section.
41
+
* pretty: boolean, // Pretty format the returned JSON response. (DEFAULT: false)
42
+
* human: boolean, // Return human readable values for statistics. (DEFAULT: true)
43
+
* error_trace: boolean, // Include the stack trace of returned errors. (DEFAULT: false)
44
+
* source: string, // The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
45
+
* filter_path: list, // A comma-separated list of filters used to reduce the response.
46
+
* body: array, // (REQUIRED) Use the `query` element to start a query. Use `columnar` to format the answer.
47
+
* } $params
48
+
*
49
+
* @throws NoNodeAvailableException if all the hosts are offline
50
+
* @throws ClientResponseException if the status code of response is 4xx
51
+
* @throws ServerResponseException if the status code of response is 5xx
* wait_for_completion_timeout: time, // Specify the time that the request should block waiting for the final response
78
+
* keep_alive: time, // Specify the time interval in which the results (partial or final) for this search will be available
79
+
* drop_null_columns: boolean, // Should entirely null columns be removed from the results? Their name and type will be returning in a new `all_columns` section.
80
+
* pretty: boolean, // Pretty format the returned JSON response. (DEFAULT: false)
81
+
* human: boolean, // Return human readable values for statistics. (DEFAULT: true)
82
+
* error_trace: boolean, // Include the stack trace of returned errors. (DEFAULT: false)
83
+
* source: string, // The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
84
+
* filter_path: list, // A comma-separated list of filters used to reduce the response.
85
+
* } $params
86
+
*
87
+
* @throws MissingParameterException if a required parameter is missing
88
+
* @throws NoNodeAvailableException if all the hosts are offline
89
+
* @throws ClientResponseException if the status code of response is 4xx
90
+
* @throws ServerResponseException if the status code of response is 5xx
@@ -37,12 +114,13 @@ class Esql extends AbstractEndpoint
37
114
* @param array{
38
115
* format: string, // a short version of the Accept header, e.g. json, yaml
39
116
* delimiter: string, // The character to use between values within a CSV row. Only valid for the csv format.
117
+
* drop_null_columns: boolean, // Should entirely null columns be removed from the results? Their name and type will be returning in a new `all_columns` section.
40
118
* pretty: boolean, // Pretty format the returned JSON response. (DEFAULT: false)
41
119
* human: boolean, // Return human readable values for statistics. (DEFAULT: true)
42
120
* error_trace: boolean, // Include the stack trace of returned errors. (DEFAULT: false)
43
121
* source: string, // The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
44
122
* filter_path: list, // A comma-separated list of filters used to reduce the response.
45
-
* body: array, // (REQUIRED) Use the `query` element to start a query. Use `time_zone` to specify an execution time zone and `columnar` to format the answer.
123
+
* body: array, // (REQUIRED) Use the `query` element to start a query. Use `columnar` to format the answer.
46
124
* } $params
47
125
*
48
126
* @throws NoNodeAvailableException if all the hosts are offline
@@ -57,7 +135,7 @@ public function query(array $params = [])
0 commit comments