Class ElasticsearchTransformAsyncClient
java.lang.Object
co.elastic.clients.base.ApiClient
co.elastic.clients.elasticsearch.transform.ElasticsearchTransformAsyncClient
public class ElasticsearchTransformAsyncClient extends ApiClient
Client for the transform namespace.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ElasticsearchTransformAsyncClient(Transport transport) -
Method Summary
Modifier and Type Method Description java.util.concurrent.CompletableFuture<DeleteTransformResponse>deleteTransform(DeleteTransformRequest request)Deletes an existing transform.java.util.concurrent.CompletableFuture<DeleteTransformResponse>deleteTransform(java.util.function.Function<DeleteTransformRequest.Builder,ObjectBuilder<DeleteTransformRequest>> fn)Deletes an existing transform.java.util.concurrent.CompletableFuture<GetTransformResponse>getTransform(GetTransformRequest request)Retrieves configuration information for transforms.java.util.concurrent.CompletableFuture<GetTransformResponse>getTransform(java.util.function.Function<GetTransformRequest.Builder,ObjectBuilder<GetTransformRequest>> fn)Retrieves configuration information for transforms.java.util.concurrent.CompletableFuture<GetTransformStatsResponse>getTransformStats(GetTransformStatsRequest request)Retrieves usage information for transforms.java.util.concurrent.CompletableFuture<GetTransformStatsResponse>getTransformStats(java.util.function.Function<GetTransformStatsRequest.Builder,ObjectBuilder<GetTransformStatsRequest>> fn)Retrieves usage information for transforms.<TTransform>
java.util.concurrent.CompletableFuture<PreviewTransformResponse<TTransform>>previewTransform(PreviewTransformRequest request, java.lang.Class<TTransform> tTransformClass)Previews a transform.<TTransform>
java.util.concurrent.CompletableFuture<PreviewTransformResponse<TTransform>>previewTransform(java.util.function.Function<PreviewTransformRequest.Builder,ObjectBuilder<PreviewTransformRequest>> fn, java.lang.Class<TTransform> tTransformClass)Previews a transform.java.util.concurrent.CompletableFuture<PutTransformResponse>putTransform(PutTransformRequest request)Instantiates a transform.java.util.concurrent.CompletableFuture<PutTransformResponse>putTransform(java.util.function.Function<PutTransformRequest.Builder,ObjectBuilder<PutTransformRequest>> fn)Instantiates a transform.java.util.concurrent.CompletableFuture<StartTransformResponse>startTransform(StartTransformRequest request)Starts one or more transforms.java.util.concurrent.CompletableFuture<StartTransformResponse>startTransform(java.util.function.Function<StartTransformRequest.Builder,ObjectBuilder<StartTransformRequest>> fn)Starts one or more transforms.java.util.concurrent.CompletableFuture<StopTransformResponse>stopTransform(StopTransformRequest request)Stops one or more transforms.java.util.concurrent.CompletableFuture<StopTransformResponse>stopTransform(java.util.function.Function<StopTransformRequest.Builder,ObjectBuilder<StopTransformRequest>> fn)Stops one or more transforms.java.util.concurrent.CompletableFuture<UpdateTransformResponse>updateTransform(UpdateTransformRequest request)Updates certain properties of a transform.java.util.concurrent.CompletableFuture<UpdateTransformResponse>updateTransform(java.util.function.Function<UpdateTransformRequest.Builder,ObjectBuilder<UpdateTransformRequest>> fn)Updates certain properties of a transform.Methods inherited from class co.elastic.clients.base.ApiClient
_transport, getDeserializerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ElasticsearchTransformAsyncClient
-
-
Method Details
-
deleteTransform
public java.util.concurrent.CompletableFuture<DeleteTransformResponse> deleteTransform(DeleteTransformRequest request) throws java.io.IOExceptionDeletes an existing transform.- Throws:
java.io.IOException- See Also:
- Documentation on elastic.co
-
deleteTransform
public final java.util.concurrent.CompletableFuture<DeleteTransformResponse> deleteTransform(java.util.function.Function<DeleteTransformRequest.Builder,ObjectBuilder<DeleteTransformRequest>> fn) throws java.io.IOExceptionDeletes an existing transform.- Parameters:
fn- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException- See Also:
- Documentation on elastic.co
-
getTransform
public java.util.concurrent.CompletableFuture<GetTransformResponse> getTransform(GetTransformRequest request) throws java.io.IOExceptionRetrieves configuration information for transforms.- Throws:
java.io.IOException- See Also:
- Documentation on elastic.co
-
getTransform
public final java.util.concurrent.CompletableFuture<GetTransformResponse> getTransform(java.util.function.Function<GetTransformRequest.Builder,ObjectBuilder<GetTransformRequest>> fn) throws java.io.IOExceptionRetrieves configuration information for transforms.- Parameters:
fn- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException- See Also:
- Documentation on elastic.co
-
getTransformStats
public java.util.concurrent.CompletableFuture<GetTransformStatsResponse> getTransformStats(GetTransformStatsRequest request) throws java.io.IOExceptionRetrieves usage information for transforms.- Throws:
java.io.IOException- See Also:
- Documentation on elastic.co
-
getTransformStats
public final java.util.concurrent.CompletableFuture<GetTransformStatsResponse> getTransformStats(java.util.function.Function<GetTransformStatsRequest.Builder,ObjectBuilder<GetTransformStatsRequest>> fn) throws java.io.IOExceptionRetrieves usage information for transforms.- Parameters:
fn- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException- See Also:
- Documentation on elastic.co
-
previewTransform
public <TTransform> java.util.concurrent.CompletableFuture<PreviewTransformResponse<TTransform>> previewTransform(PreviewTransformRequest request, java.lang.Class<TTransform> tTransformClass) throws java.io.IOExceptionPreviews a transform.- Throws:
java.io.IOException- See Also:
- Documentation on elastic.co
-
previewTransform
public final <TTransform> java.util.concurrent.CompletableFuture<PreviewTransformResponse<TTransform>> previewTransform(java.util.function.Function<PreviewTransformRequest.Builder,ObjectBuilder<PreviewTransformRequest>> fn, java.lang.Class<TTransform> tTransformClass) throws java.io.IOExceptionPreviews a transform.- Parameters:
fn- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException- See Also:
- Documentation on elastic.co
-
putTransform
public java.util.concurrent.CompletableFuture<PutTransformResponse> putTransform(PutTransformRequest request) throws java.io.IOExceptionInstantiates a transform.- Throws:
java.io.IOException- See Also:
- Documentation on elastic.co
-
putTransform
public final java.util.concurrent.CompletableFuture<PutTransformResponse> putTransform(java.util.function.Function<PutTransformRequest.Builder,ObjectBuilder<PutTransformRequest>> fn) throws java.io.IOExceptionInstantiates a transform.- Parameters:
fn- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException- See Also:
- Documentation on elastic.co
-
startTransform
public java.util.concurrent.CompletableFuture<StartTransformResponse> startTransform(StartTransformRequest request) throws java.io.IOExceptionStarts one or more transforms.- Throws:
java.io.IOException- See Also:
- Documentation on elastic.co
-
startTransform
public final java.util.concurrent.CompletableFuture<StartTransformResponse> startTransform(java.util.function.Function<StartTransformRequest.Builder,ObjectBuilder<StartTransformRequest>> fn) throws java.io.IOExceptionStarts one or more transforms.- Parameters:
fn- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException- See Also:
- Documentation on elastic.co
-
stopTransform
public java.util.concurrent.CompletableFuture<StopTransformResponse> stopTransform(StopTransformRequest request) throws java.io.IOExceptionStops one or more transforms.- Throws:
java.io.IOException- See Also:
- Documentation on elastic.co
-
stopTransform
public final java.util.concurrent.CompletableFuture<StopTransformResponse> stopTransform(java.util.function.Function<StopTransformRequest.Builder,ObjectBuilder<StopTransformRequest>> fn) throws java.io.IOExceptionStops one or more transforms.- Parameters:
fn- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException- See Also:
- Documentation on elastic.co
-
updateTransform
public java.util.concurrent.CompletableFuture<UpdateTransformResponse> updateTransform(UpdateTransformRequest request) throws java.io.IOExceptionUpdates certain properties of a transform.- Throws:
java.io.IOException- See Also:
- Documentation on elastic.co
-
updateTransform
public final java.util.concurrent.CompletableFuture<UpdateTransformResponse> updateTransform(java.util.function.Function<UpdateTransformRequest.Builder,ObjectBuilder<UpdateTransformRequest>> fn) throws java.io.IOExceptionUpdates certain properties of a transform.- Parameters:
fn- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException- See Also:
- Documentation on elastic.co
-