Class ElasticsearchIngestAsyncClient
java.lang.Object
co.elastic.clients.base.ApiClient
co.elastic.clients.elasticsearch.ingest.ElasticsearchIngestAsyncClient
public class ElasticsearchIngestAsyncClient extends ApiClient
Client for the ingest namespace.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ElasticsearchIngestAsyncClient(Transport transport)
-
Method Summary
Modifier and Type Method Description java.util.concurrent.CompletableFuture<DeletePipelineResponse>
deletePipeline(DeletePipelineRequest request)
Deletes a pipeline.java.util.concurrent.CompletableFuture<DeletePipelineResponse>
deletePipeline(java.util.function.Function<DeletePipelineRequest.Builder,ObjectBuilder<DeletePipelineRequest>> fn)
Deletes a pipeline.java.util.concurrent.CompletableFuture<GeoIpStatsResponse>
geoIpStats()
Returns statistical information about geoip databasesjava.util.concurrent.CompletableFuture<GetPipelineResponse>
getPipeline(GetPipelineRequest request)
Returns a pipeline.java.util.concurrent.CompletableFuture<GetPipelineResponse>
getPipeline(java.util.function.Function<GetPipelineRequest.Builder,ObjectBuilder<GetPipelineRequest>> fn)
Returns a pipeline.java.util.concurrent.CompletableFuture<ProcessorGrokResponse>
processorGrok()
Returns a list of the built-in patterns.java.util.concurrent.CompletableFuture<PutPipelineResponse>
putPipeline(PutPipelineRequest request)
Creates or updates a pipeline.java.util.concurrent.CompletableFuture<PutPipelineResponse>
putPipeline(java.util.function.Function<PutPipelineRequest.Builder,ObjectBuilder<PutPipelineRequest>> fn)
Creates or updates a pipeline.java.util.concurrent.CompletableFuture<SimulateResponse>
simulate(SimulateRequest request)
Allows to simulate a pipeline with example documents.java.util.concurrent.CompletableFuture<SimulateResponse>
simulate(java.util.function.Function<SimulateRequest.Builder,ObjectBuilder<SimulateRequest>> fn)
Allows to simulate a pipeline with example documents.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
-
ElasticsearchIngestAsyncClient
-
-
Method Details
-
deletePipeline
public java.util.concurrent.CompletableFuture<DeletePipelineResponse> deletePipeline(DeletePipelineRequest request) throws java.io.IOExceptionDeletes a pipeline.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
deletePipeline
public final java.util.concurrent.CompletableFuture<DeletePipelineResponse> deletePipeline(java.util.function.Function<DeletePipelineRequest.Builder,ObjectBuilder<DeletePipelineRequest>> fn) throws java.io.IOExceptionDeletes a pipeline.- 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
-
geoIpStats
public java.util.concurrent.CompletableFuture<GeoIpStatsResponse> geoIpStats() throws java.io.IOExceptionReturns statistical information about geoip databases- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
getPipeline
public java.util.concurrent.CompletableFuture<GetPipelineResponse> getPipeline(GetPipelineRequest request) throws java.io.IOExceptionReturns a pipeline.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
getPipeline
public final java.util.concurrent.CompletableFuture<GetPipelineResponse> getPipeline(java.util.function.Function<GetPipelineRequest.Builder,ObjectBuilder<GetPipelineRequest>> fn) throws java.io.IOExceptionReturns a pipeline.- 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
-
processorGrok
public java.util.concurrent.CompletableFuture<ProcessorGrokResponse> processorGrok() throws java.io.IOExceptionReturns a list of the built-in patterns.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
putPipeline
public java.util.concurrent.CompletableFuture<PutPipelineResponse> putPipeline(PutPipelineRequest request) throws java.io.IOExceptionCreates or updates a pipeline.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
putPipeline
public final java.util.concurrent.CompletableFuture<PutPipelineResponse> putPipeline(java.util.function.Function<PutPipelineRequest.Builder,ObjectBuilder<PutPipelineRequest>> fn) throws java.io.IOExceptionCreates or updates a pipeline.- 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
-
simulate
public java.util.concurrent.CompletableFuture<SimulateResponse> simulate(SimulateRequest request) throws java.io.IOExceptionAllows to simulate a pipeline with example documents.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
simulate
public final java.util.concurrent.CompletableFuture<SimulateResponse> simulate(java.util.function.Function<SimulateRequest.Builder,ObjectBuilder<SimulateRequest>> fn) throws java.io.IOExceptionAllows to simulate a pipeline with example documents.- 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
-