Class TransformClient
public final class TransformClient
extends java.lang.Object
-
Method Summary
Modifier and Type Method Description AcknowledgedResponse
deleteTransform(DeleteTransformRequest request, org.elasticsearch.client.RequestOptions options)
Delete a transformorg.elasticsearch.client.Cancellable
deleteTransformAsync(DeleteTransformRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<AcknowledgedResponse> listener)
Delete a transform asynchronously and notifies listener on completionGetTransformResponse
getTransform(GetTransformRequest request, org.elasticsearch.client.RequestOptions options)
Get one or more transform configurationsorg.elasticsearch.client.Cancellable
getTransformAsync(GetTransformRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetTransformResponse> listener)
Get one or more transform configurations asynchronously and notifies listener on completionGetTransformStatsResponse
getTransformStats(GetTransformStatsRequest request, org.elasticsearch.client.RequestOptions options)
Get the running statistics of a transformorg.elasticsearch.client.Cancellable
getTransformStatsAsync(GetTransformStatsRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetTransformStatsResponse> listener)
Get the running statistics of a transform asynchronously and notifies listener on completionPreviewTransformResponse
previewTransform(PreviewTransformRequest request, org.elasticsearch.client.RequestOptions options)
Preview the result of a transformorg.elasticsearch.client.Cancellable
previewTransformAsync(PreviewTransformRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<PreviewTransformResponse> listener)
Preview the result of a transform asynchronously and notifies listener on completionAcknowledgedResponse
putTransform(PutTransformRequest request, org.elasticsearch.client.RequestOptions options)
Creates a new transformorg.elasticsearch.client.Cancellable
putTransformAsync(PutTransformRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<AcknowledgedResponse> listener)
Creates a new transform asynchronously and notifies listener on completionStartTransformResponse
startTransform(StartTransformRequest request, org.elasticsearch.client.RequestOptions options)
Start a transformorg.elasticsearch.client.Cancellable
startTransformAsync(StartTransformRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<StartTransformResponse> listener)
Start a transform asynchronously and notifies listener on completionStopTransformResponse
stopTransform(StopTransformRequest request, org.elasticsearch.client.RequestOptions options)
Stop a transformorg.elasticsearch.client.Cancellable
stopTransformAsync(StopTransformRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<StopTransformResponse> listener)
Stop a transform asynchronously and notifies listener on completionUpdateTransformResponse
updateTransform(UpdateTransformRequest request, org.elasticsearch.client.RequestOptions options)
Updates an existing transformorg.elasticsearch.client.Cancellable
updateTransformAsync(UpdateTransformRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<UpdateTransformResponse> listener)
Updates an existing transform asynchronously and notifies listener on completion
-
Method Details
-
putTransform
public AcknowledgedResponse putTransform(PutTransformRequest request, org.elasticsearch.client.RequestOptions options) throws java.io.IOExceptionCreates 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:
java.io.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)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 java.io.IOExceptionUpdates 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:
java.io.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)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 java.io.IOExceptionGet 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:
java.io.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)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 java.io.IOExceptionDelete 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:
java.io.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)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 java.io.IOExceptionPreview 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:
java.io.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)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 java.io.IOExceptionStart 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:
java.io.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)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 java.io.IOExceptionStop 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:
java.io.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)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 java.io.IOExceptionGet 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:
java.io.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)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
-