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
Constructors Constructor Description ElasticsearchIngestClient(ElasticsearchTransport transport)
ElasticsearchIngestClient(ElasticsearchTransport transport, TransportOptions transportOptions)
-
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()
Returns a pipeline.GetPipelineResponse
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()
Allows to simulate a pipeline with example documents.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.ElasticsearchIngestClient
withTransportOptions(TransportOptions transportOptions)
Creates a new client with some request optionsMethods inherited from class co.elastic.clients.ApiClient
_jsonpMapper, _transport, _transportOptions, getDeserializer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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 java.io.IOException, ElasticsearchExceptionDeletes a pipeline.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
deletePipeline
public final DeletePipelineResponse deletePipeline(java.util.function.Function<DeletePipelineRequest.Builder,ObjectBuilder<DeletePipelineRequest>> fn) throws java.io.IOException, ElasticsearchExceptionDeletes a pipeline.- Parameters:
fn
- a function that initializes a builder to create theDeletePipelineRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
geoIpStats
Returns statistical information about geoip databases- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getPipeline
public GetPipelineResponse getPipeline(GetPipelineRequest request) throws java.io.IOException, ElasticsearchExceptionReturns a pipeline.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getPipeline
public final GetPipelineResponse getPipeline(java.util.function.Function<GetPipelineRequest.Builder,ObjectBuilder<GetPipelineRequest>> fn) throws java.io.IOException, ElasticsearchExceptionReturns a pipeline.- Parameters:
fn
- a function that initializes a builder to create theGetPipelineRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getPipeline
Returns a pipeline.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
processorGrok
Returns a list of the built-in patterns.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
putPipeline
public PutPipelineResponse putPipeline(PutPipelineRequest request) throws java.io.IOException, ElasticsearchExceptionCreates or updates a pipeline.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
putPipeline
public final PutPipelineResponse putPipeline(java.util.function.Function<PutPipelineRequest.Builder,ObjectBuilder<PutPipelineRequest>> fn) throws java.io.IOException, ElasticsearchExceptionCreates or updates a pipeline.- Parameters:
fn
- a function that initializes a builder to create thePutPipelineRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
simulate
public SimulateResponse simulate(SimulateRequest request) throws java.io.IOException, ElasticsearchExceptionAllows to simulate a pipeline with example documents.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
simulate
public final SimulateResponse simulate(java.util.function.Function<SimulateRequest.Builder,ObjectBuilder<SimulateRequest>> fn) throws java.io.IOException, ElasticsearchExceptionAllows to simulate a pipeline with example documents.- Parameters:
fn
- a function that initializes a builder to create theSimulateRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
simulate
Allows to simulate a pipeline with example documents.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-