Class ElasticsearchIngestAsyncClient
java.lang.Object
co.elastic.clients.ApiClient<ElasticsearchTransport,ElasticsearchIngestAsyncClient>
co.elastic.clients.elasticsearch.ingest.ElasticsearchIngestAsyncClient
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class ElasticsearchIngestAsyncClient
extends ApiClient<ElasticsearchTransport,ElasticsearchIngestAsyncClient>
Client for the ingest namespace.
-
Field Summary
Fields inherited from class co.elastic.clients.ApiClient
transport, transportOptions
-
Constructor Summary
ConstructorsConstructorDescriptionElasticsearchIngestAsyncClient
(ElasticsearchTransport transport, TransportOptions transportOptions) -
Method Summary
Modifier and TypeMethodDescriptionDelete GeoIP database configurations.deleteGeoipDatabase
(Function<DeleteGeoipDatabaseRequest.Builder, ObjectBuilder<DeleteGeoipDatabaseRequest>> fn) Delete GeoIP database configurations.Deletes an IP location database configuration.deleteIpLocationDatabase
(Function<DeleteIpLocationDatabaseRequest.Builder, ObjectBuilder<DeleteIpLocationDatabaseRequest>> fn) Deletes an IP location database configuration.deletePipeline
(DeletePipelineRequest request) Delete pipelines.Delete pipelines.Get GeoIP statistics.Get GeoIP database configurations.getGeoipDatabase
(GetGeoipDatabaseRequest request) Get GeoIP database configurations.getGeoipDatabase
(Function<GetGeoipDatabaseRequest.Builder, ObjectBuilder<GetGeoipDatabaseRequest>> fn) Get GeoIP database configurations.Returns information about one or more IP location database configurations.Returns information about one or more IP location database configurations.getIpLocationDatabase
(Function<GetIpLocationDatabaseRequest.Builder, ObjectBuilder<GetIpLocationDatabaseRequest>> fn) Returns information about one or more IP location database configurations.Get pipelines.getPipeline
(GetPipelineRequest request) Get pipelines.Get pipelines.Run a grok processor.putGeoipDatabase
(PutGeoipDatabaseRequest request) Create or update GeoIP database configurations.putGeoipDatabase
(Function<PutGeoipDatabaseRequest.Builder, ObjectBuilder<PutGeoipDatabaseRequest>> fn) Create or update GeoIP database configurations.Returns information about one or more IP location database configurations.putIpLocationDatabase
(Function<PutIpLocationDatabaseRequest.Builder, ObjectBuilder<PutIpLocationDatabaseRequest>> fn) Returns information about one or more IP location database configurations.putPipeline
(PutPipelineRequest request) Create or update a pipeline.Create or update a pipeline.simulate
(SimulateRequest request) Simulate a pipeline.Simulate a pipeline.withTransportOptions
(TransportOptions transportOptions) Creates a new client with some request optionsMethods inherited from class co.elastic.clients.ApiClient
_jsonpMapper, _transport, _transportOptions, close, getDeserializer, withTransportOptions
-
Constructor Details
-
ElasticsearchIngestAsyncClient
-
ElasticsearchIngestAsyncClient
public ElasticsearchIngestAsyncClient(ElasticsearchTransport transport, @Nullable TransportOptions transportOptions)
-
-
Method Details
-
withTransportOptions
public ElasticsearchIngestAsyncClient withTransportOptions(@Nullable TransportOptions transportOptions) Description copied from class:ApiClient
Creates a new client with some request options- Specified by:
withTransportOptions
in classApiClient<ElasticsearchTransport,
ElasticsearchIngestAsyncClient>
-
deleteGeoipDatabase
public CompletableFuture<DeleteGeoipDatabaseResponse> deleteGeoipDatabase(DeleteGeoipDatabaseRequest request) Delete GeoIP database configurations. Delete one or more IP geolocation database configurations.- See Also:
-
deleteGeoipDatabase
public final CompletableFuture<DeleteGeoipDatabaseResponse> deleteGeoipDatabase(Function<DeleteGeoipDatabaseRequest.Builder, ObjectBuilder<DeleteGeoipDatabaseRequest>> fn) Delete GeoIP database configurations. Delete one or more IP geolocation database configurations.- Parameters:
fn
- a function that initializes a builder to create theDeleteGeoipDatabaseRequest
- See Also:
-
deleteIpLocationDatabase
public CompletableFuture<DeleteIpLocationDatabaseResponse> deleteIpLocationDatabase(DeleteIpLocationDatabaseRequest request) Deletes an IP location database configuration.- See Also:
-
deleteIpLocationDatabase
public final CompletableFuture<DeleteIpLocationDatabaseResponse> deleteIpLocationDatabase(Function<DeleteIpLocationDatabaseRequest.Builder, ObjectBuilder<DeleteIpLocationDatabaseRequest>> fn) Deletes an IP location database configuration.- Parameters:
fn
- a function that initializes a builder to create theDeleteIpLocationDatabaseRequest
- See Also:
-
deletePipeline
Delete pipelines. Delete one or more ingest pipelines.- See Also:
-
deletePipeline
public final CompletableFuture<DeletePipelineResponse> deletePipeline(Function<DeletePipelineRequest.Builder, ObjectBuilder<DeletePipelineRequest>> fn) Delete pipelines. Delete one or more ingest pipelines.- Parameters:
fn
- a function that initializes a builder to create theDeletePipelineRequest
- See Also:
-
geoIpStats
Get GeoIP statistics. Get download statistics for GeoIP2 databases that are used with the GeoIP processor.- See Also:
-
getGeoipDatabase
public CompletableFuture<GetGeoipDatabaseResponse> getGeoipDatabase(GetGeoipDatabaseRequest request) Get GeoIP database configurations. Get information about one or more IP geolocation database configurations.- See Also:
-
getGeoipDatabase
public final CompletableFuture<GetGeoipDatabaseResponse> getGeoipDatabase(Function<GetGeoipDatabaseRequest.Builder, ObjectBuilder<GetGeoipDatabaseRequest>> fn) Get GeoIP database configurations. Get information about one or more IP geolocation database configurations.- Parameters:
fn
- a function that initializes a builder to create theGetGeoipDatabaseRequest
- See Also:
-
getGeoipDatabase
Get GeoIP database configurations. Get information about one or more IP geolocation database configurations.- See Also:
-
getIpLocationDatabase
public CompletableFuture<GetIpLocationDatabaseResponse> getIpLocationDatabase(GetIpLocationDatabaseRequest request) Returns information about one or more IP location database configurations.- See Also:
-
getIpLocationDatabase
public final CompletableFuture<GetIpLocationDatabaseResponse> getIpLocationDatabase(Function<GetIpLocationDatabaseRequest.Builder, ObjectBuilder<GetIpLocationDatabaseRequest>> fn) Returns information about one or more IP location database configurations.- Parameters:
fn
- a function that initializes a builder to create theGetIpLocationDatabaseRequest
- See Also:
-
getIpLocationDatabase
Returns information about one or more IP location database configurations.- See Also:
-
getPipeline
Get pipelines. Get information about one or more ingest pipelines. This API returns a local reference of the pipeline.- See Also:
-
getPipeline
public final CompletableFuture<GetPipelineResponse> getPipeline(Function<GetPipelineRequest.Builder, ObjectBuilder<GetPipelineRequest>> fn) Get pipelines. Get information about one or more ingest pipelines. This API returns a local reference of the pipeline.- Parameters:
fn
- a function that initializes a builder to create theGetPipelineRequest
- See Also:
-
getPipeline
Get pipelines. Get information about one or more ingest pipelines. This API returns a local reference of the pipeline.- See Also:
-
processorGrok
Run a grok processor. Extract structured fields out of a single text field within a document. You must choose which field to extract matched fields from, as well as the grok pattern you expect will match. A grok pattern is like a regular expression that supports aliased expressions that can be reused.- See Also:
-
putGeoipDatabase
public CompletableFuture<PutGeoipDatabaseResponse> putGeoipDatabase(PutGeoipDatabaseRequest request) Create or update GeoIP database configurations. Create or update IP geolocation database configurations.- See Also:
-
putGeoipDatabase
public final CompletableFuture<PutGeoipDatabaseResponse> putGeoipDatabase(Function<PutGeoipDatabaseRequest.Builder, ObjectBuilder<PutGeoipDatabaseRequest>> fn) Create or update GeoIP database configurations. Create or update IP geolocation database configurations.- Parameters:
fn
- a function that initializes a builder to create thePutGeoipDatabaseRequest
- See Also:
-
putIpLocationDatabase
public CompletableFuture<PutIpLocationDatabaseResponse> putIpLocationDatabase(PutIpLocationDatabaseRequest request) Returns information about one or more IP location database configurations.- See Also:
-
putIpLocationDatabase
public final CompletableFuture<PutIpLocationDatabaseResponse> putIpLocationDatabase(Function<PutIpLocationDatabaseRequest.Builder, ObjectBuilder<PutIpLocationDatabaseRequest>> fn) Returns information about one or more IP location database configurations.- Parameters:
fn
- a function that initializes a builder to create thePutIpLocationDatabaseRequest
- See Also:
-
putPipeline
Create or update a pipeline. Changes made using this API take effect immediately.- See Also:
-
putPipeline
public final CompletableFuture<PutPipelineResponse> putPipeline(Function<PutPipelineRequest.Builder, ObjectBuilder<PutPipelineRequest>> fn) Create or update a pipeline. Changes made using this API take effect immediately.- Parameters:
fn
- a function that initializes a builder to create thePutPipelineRequest
- See Also:
-
simulate
Simulate a pipeline. Run an ingest pipeline against a set of provided documents. You can either specify an existing pipeline to use with the provided documents or supply a pipeline definition in the body of the request.- See Also:
-
simulate
public final CompletableFuture<SimulateResponse> simulate(Function<SimulateRequest.Builder, ObjectBuilder<SimulateRequest>> fn) Simulate a pipeline. Run an ingest pipeline against a set of provided documents. You can either specify an existing pipeline to use with the provided documents or supply a pipeline definition in the body of the request.- Parameters:
fn
- a function that initializes a builder to create theSimulateRequest
- See Also:
-