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