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 Data Frame TransformFor additional info see Create data frame 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 Data Frame Transform asynchronously and notifies listener on completionFor additional info see Create data frame 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
-
getDataFrameTransformStats
public GetDataFrameTransformStatsResponse getDataFrameTransformStats(GetDataFrameTransformStatsRequest request, RequestOptions options) throws java.io.IOException
Get the running statistics of a Data Frame TransformFor additional info see Get data frame 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 Data Frame 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 Data Frame Transform asynchronously and notifies listener on completionFor additional info see Get data frame 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 data frame transformFor additional info see Delete data frame transform documentation
- Parameters:
request
- The delete data frame 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 data frame transform asynchronously and notifies listener on completionFor additional info see Delete data frame transform documentation
- Parameters:
request
- The delete data frame 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 data frame transformFor additional info see Preview data frame transform documentation
- Parameters:
request
- The preview data frame 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 data frame transform asynchronously and notifies listener on completion- Parameters:
request
- The preview data frame 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 data frame transformFor additional info see Start data frame transform documentation
- Parameters:
request
- The start data frame 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 data frame transform asynchronously and notifies listener on completionFor additional info see Start data frame transform documentation
- Parameters:
request
- The start data frame 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 data frame transformFor additional info see Stop data frame transform documentation
- Parameters:
request
- The stop data frame 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 data frame transform asynchronously and notifies listener on completionFor additional info see Stop data frame transform documentation
- Parameters:
request
- The stop data frame 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 data frame transform configurationsFor additional info see Get data frame transform documentation
- Parameters:
request
- The get data frame 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 data frame transform configurations asynchronously and notifies listener on completionFor additional info see Get data frame transform documentation
- Parameters:
request
- The get data frame transform requestoptions
- Additional request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customizedlistener
- Listener to be notified upon request completion
-
-