Class TransformClient
-
Method Summary
Modifier and TypeMethodDescriptiondeleteTransform(DeleteTransformRequest request, RequestOptions options) Deprecated.Delete a transformdeleteTransformAsync(DeleteTransformRequest request, RequestOptions options, ActionListener<AcknowledgedResponse> listener) Deprecated.Delete a transform asynchronously and notifies listener on completiongetTransform(GetTransformRequest request, RequestOptions options) Deprecated.Get one or more transform configurationsgetTransformAsync(GetTransformRequest request, RequestOptions options, ActionListener<GetTransformResponse> listener) Deprecated.Get one or more transform configurations asynchronously and notifies listener on completiongetTransformStats(GetTransformStatsRequest request, RequestOptions options) Deprecated.Get the running statistics of a transformgetTransformStatsAsync(GetTransformStatsRequest request, RequestOptions options, ActionListener<GetTransformStatsResponse> listener) Deprecated.Get the running statistics of a transform asynchronously and notifies listener on completionpreviewTransform(PreviewTransformRequest request, RequestOptions options) Deprecated.Preview the result of a transformpreviewTransformAsync(PreviewTransformRequest request, RequestOptions options, ActionListener<PreviewTransformResponse> listener) Deprecated.Preview the result of a transform asynchronously and notifies listener on completionputTransform(PutTransformRequest request, RequestOptions options) Deprecated.Creates a new transformputTransformAsync(PutTransformRequest request, RequestOptions options, ActionListener<AcknowledgedResponse> listener) Deprecated.Creates a new transform asynchronously and notifies listener on completionstartTransform(StartTransformRequest request, RequestOptions options) Deprecated.Start a transformstartTransformAsync(StartTransformRequest request, RequestOptions options, ActionListener<StartTransformResponse> listener) Deprecated.Start a transform asynchronously and notifies listener on completionstopTransform(StopTransformRequest request, RequestOptions options) Deprecated.Stop a transformstopTransformAsync(StopTransformRequest request, RequestOptions options, ActionListener<StopTransformResponse> listener) Deprecated.Stop a transform asynchronously and notifies listener on completionupdateTransform(UpdateTransformRequest request, RequestOptions options) Deprecated.Updates an existing transformupdateTransformAsync(UpdateTransformRequest request, RequestOptions options, ActionListener<UpdateTransformResponse> listener) Deprecated.Updates an existing transform asynchronously and notifies listener on completion
-
Method Details
-
putTransform
public AcknowledgedResponse putTransform(PutTransformRequest request, 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.DEFAULTif 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 Cancellable putTransformAsync(PutTransformRequest request, RequestOptions options, 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.DEFAULTif 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, 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.DEFAULTif 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 Cancellable updateTransformAsync(UpdateTransformRequest request, RequestOptions options, 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.DEFAULTif 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, 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.DEFAULTif 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 Cancellable getTransformStatsAsync(GetTransformStatsRequest request, RequestOptions options, 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.DEFAULTif 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, 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.DEFAULTif 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 Cancellable deleteTransformAsync(DeleteTransformRequest request, RequestOptions options, 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.DEFAULTif 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, 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.DEFAULTif 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 Cancellable previewTransformAsync(PreviewTransformRequest request, RequestOptions options, 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.DEFAULTif 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, 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.DEFAULTif 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 Cancellable startTransformAsync(StartTransformRequest request, RequestOptions options, 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.DEFAULTif 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, 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.DEFAULTif 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 Cancellable stopTransformAsync(StopTransformRequest request, RequestOptions options, 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.DEFAULTif 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, 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.DEFAULTif 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 Cancellable getTransformAsync(GetTransformRequest request, RequestOptions options, 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.DEFAULTif nothing needs to be customizedlistener- Listener to be notified upon request completion- Returns:
- cancellable that may be used to cancel the request
-