Class ElasticsearchIngestClient
java.lang.Object
co.elastic.clients.ApiClient<ElasticsearchTransport,ElasticsearchIngestClient>
co.elastic.clients.elasticsearch.ingest.ElasticsearchIngestClient
public class ElasticsearchIngestClient
extends ApiClient<ElasticsearchTransport,ElasticsearchIngestClient>
Client for the ingest namespace.
-
Field Summary
Fields inherited from class co.elastic.clients.ApiClient
transport, transportOptions
-
Constructor Summary
ConstructorDescriptionElasticsearchIngestClient
(ElasticsearchTransport transport) ElasticsearchIngestClient
(ElasticsearchTransport transport, TransportOptions transportOptions) -
Method Summary
Modifier and TypeMethodDescriptiondeletePipeline
(DeletePipelineRequest request) Deletes a pipeline.final DeletePipelineResponse
Deletes a pipeline.Returns statistical information about geoip databasesReturns a pipeline.getPipeline
(GetPipelineRequest request) Returns a pipeline.final GetPipelineResponse
Returns a pipeline.Returns a list of the built-in patterns.putPipeline
(PutPipelineRequest request) Creates or updates a pipeline.final PutPipelineResponse
Creates or updates a pipeline.simulate()
Allows to simulate a pipeline with example documents.simulate
(SimulateRequest request) Allows to simulate a pipeline with example documents.final SimulateResponse
Allows to simulate a pipeline with example documents.withTransportOptions
(TransportOptions transportOptions) Creates a new client with some request optionsMethods inherited from class co.elastic.clients.ApiClient
_jsonpMapper, _transport, _transportOptions, getDeserializer, withTransportOptions
-
Constructor Details
-
ElasticsearchIngestClient
-
ElasticsearchIngestClient
public ElasticsearchIngestClient(ElasticsearchTransport transport, @Nullable TransportOptions transportOptions)
-
-
Method Details
-
withTransportOptions
Description copied from class:ApiClient
Creates a new client with some request options- Specified by:
withTransportOptions
in classApiClient<ElasticsearchTransport,
ElasticsearchIngestClient>
-
deletePipeline
public DeletePipelineResponse deletePipeline(DeletePipelineRequest request) throws IOException, ElasticsearchException Deletes a pipeline.- Throws:
IOException
ElasticsearchException
- See Also:
-
deletePipeline
public final DeletePipelineResponse deletePipeline(Function<DeletePipelineRequest.Builder, ObjectBuilder<DeletePipelineRequest>> fn) throws IOException, ElasticsearchExceptionDeletes a pipeline.- Parameters:
fn
- a function that initializes a builder to create theDeletePipelineRequest
- Throws:
IOException
ElasticsearchException
- See Also:
-
geoIpStats
Returns statistical information about geoip databases- Throws:
IOException
ElasticsearchException
- See Also:
-
getPipeline
public GetPipelineResponse getPipeline(GetPipelineRequest request) throws IOException, ElasticsearchException Returns a pipeline.- Throws:
IOException
ElasticsearchException
- See Also:
-
getPipeline
public final GetPipelineResponse getPipeline(Function<GetPipelineRequest.Builder, ObjectBuilder<GetPipelineRequest>> fn) throws IOException, ElasticsearchExceptionReturns a pipeline.- Parameters:
fn
- a function that initializes a builder to create theGetPipelineRequest
- Throws:
IOException
ElasticsearchException
- See Also:
-
getPipeline
Returns a pipeline.- Throws:
IOException
ElasticsearchException
- See Also:
-
processorGrok
Returns a list of the built-in patterns.- Throws:
IOException
ElasticsearchException
- See Also:
-
putPipeline
public PutPipelineResponse putPipeline(PutPipelineRequest request) throws IOException, ElasticsearchException Creates or updates a pipeline.- Throws:
IOException
ElasticsearchException
- See Also:
-
putPipeline
public final PutPipelineResponse putPipeline(Function<PutPipelineRequest.Builder, ObjectBuilder<PutPipelineRequest>> fn) throws IOException, ElasticsearchExceptionCreates or updates a pipeline.- Parameters:
fn
- a function that initializes a builder to create thePutPipelineRequest
- Throws:
IOException
ElasticsearchException
- See Also:
-
simulate
public SimulateResponse simulate(SimulateRequest request) throws IOException, ElasticsearchException Allows to simulate a pipeline with example documents.- Throws:
IOException
ElasticsearchException
- See Also:
-
simulate
public final SimulateResponse simulate(Function<SimulateRequest.Builder, ObjectBuilder<SimulateRequest>> fn) throws IOException, ElasticsearchExceptionAllows to simulate a pipeline with example documents.- Parameters:
fn
- a function that initializes a builder to create theSimulateRequest
- Throws:
IOException
ElasticsearchException
- See Also:
-
simulate
Allows to simulate a pipeline with example documents.- Throws:
IOException
ElasticsearchException
- See Also:
-