Class TransformClient
-
Method Summary
Modifier and TypeMethodDescriptiondeleteTransform
(DeleteTransformRequest request, org.elasticsearch.client.RequestOptions options) Deprecated.Delete a transformorg.elasticsearch.client.Cancellable
deleteTransformAsync
(DeleteTransformRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<AcknowledgedResponse> listener) Deprecated.Delete a transform asynchronously and notifies listener on completiongetTransform
(GetTransformRequest request, org.elasticsearch.client.RequestOptions options) Deprecated.Get one or more transform configurationsorg.elasticsearch.client.Cancellable
getTransformAsync
(GetTransformRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetTransformResponse> listener) Deprecated.Get one or more transform configurations asynchronously and notifies listener on completiongetTransformStats
(GetTransformStatsRequest request, org.elasticsearch.client.RequestOptions options) Deprecated.Get the running statistics of a transformorg.elasticsearch.client.Cancellable
getTransformStatsAsync
(GetTransformStatsRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetTransformStatsResponse> listener) Deprecated.Get the running statistics of a transform asynchronously and notifies listener on completionpreviewTransform
(PreviewTransformRequest request, org.elasticsearch.client.RequestOptions options) Deprecated.Preview the result of a transformorg.elasticsearch.client.Cancellable
previewTransformAsync
(PreviewTransformRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<PreviewTransformResponse> listener) Deprecated.Preview the result of a transform asynchronously and notifies listener on completionputTransform
(PutTransformRequest request, org.elasticsearch.client.RequestOptions options) Deprecated.Creates a new transformorg.elasticsearch.client.Cancellable
putTransformAsync
(PutTransformRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<AcknowledgedResponse> listener) Deprecated.Creates a new transform asynchronously and notifies listener on completionstartTransform
(StartTransformRequest request, org.elasticsearch.client.RequestOptions options) Deprecated.Start a transformorg.elasticsearch.client.Cancellable
startTransformAsync
(StartTransformRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<StartTransformResponse> listener) Deprecated.Start a transform asynchronously and notifies listener on completionstopTransform
(StopTransformRequest request, org.elasticsearch.client.RequestOptions options) Deprecated.Stop a transformorg.elasticsearch.client.Cancellable
stopTransformAsync
(StopTransformRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<StopTransformResponse> listener) Deprecated.Stop a transform asynchronously and notifies listener on completionupdateTransform
(UpdateTransformRequest request, org.elasticsearch.client.RequestOptions options) Deprecated.Updates an existing transformorg.elasticsearch.client.Cancellable
updateTransformAsync
(UpdateTransformRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<UpdateTransformResponse> listener) Deprecated.Updates an existing transform asynchronously and notifies listener on completion
-
Method Details
-
putTransform
public AcknowledgedResponse putTransform(PutTransformRequest request, org.elasticsearch.client.RequestOptions options) throws IOException Deprecated.Creates a new transformFor additional info see Create transform documentation
- Parameters:
request
- The PutTransformRequest containing theTransformConfig
.options
- Additional request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customized- Returns:
- An AcknowledgedResponse object indicating request success
- Throws:
IOException
- when there is a serialization issue sending the request or receiving the response
-
putTransformAsync
public org.elasticsearch.client.Cancellable putTransformAsync(PutTransformRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<AcknowledgedResponse> listener) Deprecated.Creates a new transform asynchronously and notifies listener on completionFor additional info see Create transform documentation
- Parameters:
request
- The PutTransformRequest containing theTransformConfig
.options
- Additional request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customizedlistener
- Listener to be notified upon request completion- Returns:
- cancellable that may be used to cancel the request
-
updateTransform
public UpdateTransformResponse updateTransform(UpdateTransformRequest request, org.elasticsearch.client.RequestOptions options) throws IOException Deprecated.Updates an existing transformFor additional info see Create transform documentation
- Parameters:
request
- The UpdateTransformRequest containing theTransformConfigUpdate
.options
- Additional request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customized- Returns:
- An UpdateTransformResponse object containing the updated configuration
- Throws:
IOException
- when there is a serialization issue sending the request or receiving the response
-
updateTransformAsync
public org.elasticsearch.client.Cancellable updateTransformAsync(UpdateTransformRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<UpdateTransformResponse> listener) Deprecated.Updates an existing transform asynchronously and notifies listener on completionFor additional info see Create transform documentation
- Parameters:
request
- The UpdateTransformRequest containing theTransformConfigUpdate
.options
- Additional request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customizedlistener
- Listener to be notified upon request completion- Returns:
- cancellable that may be used to cancel the request
-
getTransformStats
public GetTransformStatsResponse getTransformStats(GetTransformStatsRequest request, org.elasticsearch.client.RequestOptions options) throws IOException Deprecated.Get the running statistics of a transformFor additional info see Get transform stats documentation
- Parameters:
request
- Specifies which transforms to get the stats foroptions
- Additional request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customized- Returns:
- The transform stats
- Throws:
IOException
- when there is a serialization issue sending the request or receiving the response
-
getTransformStatsAsync
public org.elasticsearch.client.Cancellable getTransformStatsAsync(GetTransformStatsRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetTransformStatsResponse> listener) Deprecated.Get the running statistics of a transform asynchronously and notifies listener on completionFor additional info see Get transform stats documentation
- Parameters:
request
- Specifies which transforms to get the stats foroptions
- Additional request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customizedlistener
- Listener to be notified upon request completion- Returns:
- cancellable that may be used to cancel the request
-
deleteTransform
public AcknowledgedResponse deleteTransform(DeleteTransformRequest request, org.elasticsearch.client.RequestOptions options) throws IOException Deprecated.Delete a transformFor additional info see Delete transform documentation
- Parameters:
request
- The delete transform requestoptions
- Additional request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customized- Returns:
- An AcknowledgedResponse object indicating request success
- Throws:
IOException
- when there is a serialization issue sending the request or receiving the response
-
deleteTransformAsync
public org.elasticsearch.client.Cancellable deleteTransformAsync(DeleteTransformRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<AcknowledgedResponse> listener) Deprecated.Delete a transform asynchronously and notifies listener on completionFor additional info see Delete transform documentation
- Parameters:
request
- The delete transform requestoptions
- Additional request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customizedlistener
- Listener to be notified upon request completion- Returns:
- cancellable that may be used to cancel the request
-
previewTransform
public PreviewTransformResponse previewTransform(PreviewTransformRequest request, org.elasticsearch.client.RequestOptions options) throws IOException Deprecated.Preview the result of a transformFor additional info see Preview transform documentation
- Parameters:
request
- The preview transform requestoptions
- Additional request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customized- Returns:
- A response containing the results of the applied transform
- Throws:
IOException
- when there is a serialization issue sending the request or receiving the response
-
previewTransformAsync
public org.elasticsearch.client.Cancellable previewTransformAsync(PreviewTransformRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<PreviewTransformResponse> listener) Deprecated.Preview the result of a transform asynchronously and notifies listener on completion- Parameters:
request
- The preview transform requestoptions
- Additional request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customizedlistener
- Listener to be notified upon request completion- Returns:
- cancellable that may be used to cancel the request
-
startTransform
public StartTransformResponse startTransform(StartTransformRequest request, org.elasticsearch.client.RequestOptions options) throws IOException Deprecated.Start a transformFor additional info see Start transform documentation
- Parameters:
request
- The start transform requestoptions
- Additional request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customized- Returns:
- A response object indicating request success
- Throws:
IOException
- when there is a serialization issue sending the request or receiving the response
-
startTransformAsync
public org.elasticsearch.client.Cancellable startTransformAsync(StartTransformRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<StartTransformResponse> listener) Deprecated.Start a transform asynchronously and notifies listener on completionFor additional info see Start transform documentation
- Parameters:
request
- The start transform requestoptions
- Additional request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customizedlistener
- Listener to be notified upon request completion- Returns:
- cancellable that may be used to cancel the request
-
stopTransform
public StopTransformResponse stopTransform(StopTransformRequest request, org.elasticsearch.client.RequestOptions options) throws IOException Deprecated.Stop a transformFor additional info see Stop transform documentation
- Parameters:
request
- The stop transform requestoptions
- Additional request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customized- Returns:
- A response object indicating request success
- Throws:
IOException
- when there is a serialization issue sending the request or receiving the response
-
stopTransformAsync
public org.elasticsearch.client.Cancellable stopTransformAsync(StopTransformRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<StopTransformResponse> listener) Deprecated.Stop a transform asynchronously and notifies listener on completionFor additional info see Stop transform documentation
- Parameters:
request
- The stop transform requestoptions
- Additional request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customizedlistener
- Listener to be notified upon request completion- Returns:
- cancellable that may be used to cancel the request
-
getTransform
public GetTransformResponse getTransform(GetTransformRequest request, org.elasticsearch.client.RequestOptions options) throws IOException Deprecated.Get one or more transform configurationsFor additional info see Get transform documentation
- Parameters:
request
- The get transform requestoptions
- Additional request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customized- Returns:
- An GetTransformResponse containing the requested transforms
- Throws:
IOException
- when there is a serialization issue sending the request or receiving the response
-
getTransformAsync
public org.elasticsearch.client.Cancellable getTransformAsync(GetTransformRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetTransformResponse> listener) Deprecated.Get one or more transform configurations asynchronously and notifies listener on completionFor additional info see Get data transform documentation
- Parameters:
request
- The get transform requestoptions
- Additional request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customizedlistener
- Listener to be notified upon request completion- Returns:
- cancellable that may be used to cancel the request
-