Class DataFrameClient
- java.lang.Object
-
- org.elasticsearch.client.DataFrameClient
-
public final class DataFrameClient extends java.lang.Object
-
-
Method Summary
-
-
-
Method Detail
-
putDataFrameTransform
public AcknowledgedResponse putDataFrameTransform(PutDataFrameTransformRequest request, RequestOptions options) throws java.io.IOException
Creates a new transformFor additional info see Create transform documentation
- Parameters:
request
- The PutDataFrameTransformRequest containing theDataFrameTransformConfig
.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
-
putDataFrameTransformAsync
public void putDataFrameTransformAsync(PutDataFrameTransformRequest request, RequestOptions options, ActionListener<AcknowledgedResponse> listener)
Creates a new transform asynchronously and notifies listener on completionFor additional info see Create transform documentation
- Parameters:
request
- The PutDataFrameTransformRequest containing theDataFrameTransformConfig
.options
- Additional request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customizedlistener
- Listener to be notified upon request completion
-
updateDataFrameTransform
public UpdateDataFrameTransformResponse updateDataFrameTransform(UpdateDataFrameTransformRequest request, RequestOptions options) throws java.io.IOException
Updates an existing transformFor additional info see Create transform documentation
- Parameters:
request
- The UpdateDataFrameTransformRequest containing theDataFrameTransformConfigUpdate
.options
- Additional request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customized- Returns:
- An UpdateDataFrameTransformResponse object containing the updated configuration
- Throws:
java.io.IOException
- when there is a serialization issue sending the request or receiving the response
-
updateDataFrameTransformAsync
public void updateDataFrameTransformAsync(UpdateDataFrameTransformRequest request, RequestOptions options, ActionListener<UpdateDataFrameTransformResponse> listener)
Updates an existing transform asynchronously and notifies listener on completionFor additional info see Create transform documentation
- Parameters:
request
- The UpdateDataFrameTransformRequest containing theDataFrameTransformConfigUpdate
.options
- Additional request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customizedlistener
- Listener to be notified upon request completion
-
getDataFrameTransformStats
public GetDataFrameTransformStatsResponse getDataFrameTransformStats(GetDataFrameTransformStatsRequest request, RequestOptions options) throws java.io.IOException
Get the running statistics of a transformFor additional info see Get transform stats documentation
- Parameters:
request
- Specifies the 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
-
getDataFrameTransformStatsAsync
public void getDataFrameTransformStatsAsync(GetDataFrameTransformStatsRequest request, RequestOptions options, ActionListener<GetDataFrameTransformStatsResponse> listener)
Get the running statistics of a transform asynchronously and notifies listener on completionFor additional info see Get transform stats documentation
- Parameters:
request
- Specifies the 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
-
deleteDataFrameTransform
public AcknowledgedResponse deleteDataFrameTransform(DeleteDataFrameTransformRequest request, RequestOptions options) throws java.io.IOException
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:
java.io.IOException
- when there is a serialization issue sending the request or receiving the response
-
deleteDataFrameTransformAsync
public void deleteDataFrameTransformAsync(DeleteDataFrameTransformRequest request, RequestOptions options, 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
-
previewDataFrameTransform
public PreviewDataFrameTransformResponse previewDataFrameTransform(PreviewDataFrameTransformRequest request, RequestOptions options) throws java.io.IOException
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:
java.io.IOException
- when there is a serialization issue sending the request or receiving the response
-
previewDataFrameTransformAsync
public void previewDataFrameTransformAsync(PreviewDataFrameTransformRequest request, RequestOptions options, ActionListener<PreviewDataFrameTransformResponse> 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
-
startDataFrameTransform
public StartDataFrameTransformResponse startDataFrameTransform(StartDataFrameTransformRequest request, RequestOptions options) throws java.io.IOException
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:
java.io.IOException
- when there is a serialization issue sending the request or receiving the response
-
startDataFrameTransformAsync
public void startDataFrameTransformAsync(StartDataFrameTransformRequest request, RequestOptions options, ActionListener<StartDataFrameTransformResponse> 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
-
stopDataFrameTransform
public StopDataFrameTransformResponse stopDataFrameTransform(StopDataFrameTransformRequest request, RequestOptions options) throws java.io.IOException
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:
java.io.IOException
- when there is a serialization issue sending the request or receiving the response
-
stopDataFrameTransformAsync
public void stopDataFrameTransformAsync(StopDataFrameTransformRequest request, RequestOptions options, ActionListener<StopDataFrameTransformResponse> 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
-
getDataFrameTransform
public GetDataFrameTransformResponse getDataFrameTransform(GetDataFrameTransformRequest request, RequestOptions options) throws java.io.IOException
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 GetDataFrameTransformResponse containing the requested transforms
- Throws:
java.io.IOException
- when there is a serialization issue sending the request or receiving the response
-
getDataFrameTransformAsync
public void getDataFrameTransformAsync(GetDataFrameTransformRequest request, RequestOptions options, ActionListener<GetDataFrameTransformResponse> listener)
Get one or more transform configurations asynchronously and notifies listener on completionFor 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 customizedlistener
- Listener to be notified upon request completion
-
-