19
19
package org .elasticsearch .client ;
20
20
21
21
import org .elasticsearch .action .ActionListener ;
22
- import org .elasticsearch .protocol . xpack .ml .CloseJobRequest ;
23
- import org .elasticsearch .protocol . xpack .ml .CloseJobResponse ;
24
- import org .elasticsearch .protocol . xpack .ml .DeleteJobRequest ;
25
- import org .elasticsearch .protocol . xpack .ml .DeleteJobResponse ;
26
- import org .elasticsearch .protocol . xpack .ml .GetBucketsRequest ;
27
- import org .elasticsearch .protocol . xpack .ml .GetBucketsResponse ;
28
- import org .elasticsearch .protocol . xpack .ml .GetJobRequest ;
29
- import org .elasticsearch .protocol . xpack .ml .GetJobResponse ;
30
- import org .elasticsearch .protocol . xpack .ml .OpenJobRequest ;
31
- import org .elasticsearch .protocol . xpack .ml .OpenJobResponse ;
32
- import org .elasticsearch .protocol . xpack .ml .PutJobRequest ;
33
- import org .elasticsearch .protocol . xpack .ml .PutJobResponse ;
22
+ import org .elasticsearch .client .ml .CloseJobRequest ;
23
+ import org .elasticsearch .client .ml .CloseJobResponse ;
24
+ import org .elasticsearch .client .ml .DeleteJobRequest ;
25
+ import org .elasticsearch .client .ml .DeleteJobResponse ;
26
+ import org .elasticsearch .client .ml .GetBucketsRequest ;
27
+ import org .elasticsearch .client .ml .GetBucketsResponse ;
28
+ import org .elasticsearch .client .ml .GetJobRequest ;
29
+ import org .elasticsearch .client .ml .GetJobResponse ;
30
+ import org .elasticsearch .client .ml .OpenJobRequest ;
31
+ import org .elasticsearch .client .ml .OpenJobResponse ;
32
+ import org .elasticsearch .client .ml .PutJobRequest ;
33
+ import org .elasticsearch .client .ml .PutJobResponse ;
34
34
35
35
import java .io .IOException ;
36
36
import java .util .Collections ;
@@ -56,9 +56,9 @@ public final class MachineLearningClient {
56
56
* For additional info
57
57
* see <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html">ML PUT job documentation</a>
58
58
*
59
- * @param request The PutJobRequest containing the {@link org.elasticsearch.protocol.xpack .ml.job.config.Job} settings
59
+ * @param request The PutJobRequest containing the {@link org.elasticsearch.client .ml.job.config.Job} settings
60
60
* @param options Additional request options (e.g. headers), use {@link RequestOptions#DEFAULT} if nothing needs to be customized
61
- * @return PutJobResponse with enclosed {@link org.elasticsearch.protocol.xpack .ml.job.config.Job} object
61
+ * @return PutJobResponse with enclosed {@link org.elasticsearch.client .ml.job.config.Job} object
62
62
* @throws IOException when there is a serialization issue sending the request or receiving the response
63
63
*/
64
64
public PutJobResponse putJob (PutJobRequest request , RequestOptions options ) throws IOException {
@@ -75,7 +75,7 @@ public PutJobResponse putJob(PutJobRequest request, RequestOptions options) thro
75
75
* For additional info
76
76
* see <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html">ML PUT job documentation</a>
77
77
*
78
- * @param request The request containing the {@link org.elasticsearch.protocol.xpack .ml.job.config.Job} settings
78
+ * @param request The request containing the {@link org.elasticsearch.client .ml.job.config.Job} settings
79
79
* @param options Additional request options (e.g. headers), use {@link RequestOptions#DEFAULT} if nothing needs to be customized
80
80
* @param listener Listener to be notified upon request completion
81
81
*/
@@ -98,7 +98,7 @@ public void putJobAsync(PutJobRequest request, RequestOptions options, ActionLis
98
98
* @param request {@link GetJobRequest} Request containing a list of jobId(s) and additional options
99
99
* @param options Additional request options (e.g. headers), use {@link RequestOptions#DEFAULT} if nothing needs to be customized
100
100
* @return {@link GetJobResponse} response object containing
101
- * the {@link org.elasticsearch.protocol.xpack .ml.job.config.Job} objects and the number of jobs found
101
+ * the {@link org.elasticsearch.client .ml.job.config.Job} objects and the number of jobs found
102
102
* @throws IOException when there is a serialization issue sending the request or receiving the response
103
103
*/
104
104
public GetJobResponse getJob (GetJobRequest request , RequestOptions options ) throws IOException {
0 commit comments