Class ElasticsearchTransformClient
java.lang.Object
co.elastic.clients.base.ApiClient
co.elastic.clients.elasticsearch.transform.ElasticsearchTransformClient
public class ElasticsearchTransformClient extends ApiClient
Client for the transform namespace.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ElasticsearchTransformClient(Transport transport)
-
Method Summary
Methods inherited from class co.elastic.clients.base.ApiClient
_transport, getDeserializer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ElasticsearchTransformClient
-
-
Method Details
-
deleteTransform
public DeleteTransformResponse deleteTransform(DeleteTransformRequest request) throws java.io.IOExceptionDeletes an existing transform.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
deleteTransform
public final 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
Retrieves configuration information for transforms.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
getTransform
public final 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 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 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> 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> 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
Instantiates a transform.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
putTransform
public final 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 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 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 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 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 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 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
-