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 TypeMethodDescriptionDeletes a geoip database configuration.deleteGeoipDatabase
(Function<DeleteGeoipDatabaseRequest.Builder, ObjectBuilder<DeleteGeoipDatabaseRequest>> fn) Deletes a geoip database configuration.deletePipeline
(DeletePipelineRequest request) Deletes one or more existing ingest pipeline.Deletes one or more existing ingest pipeline.Gets download statistics for GeoIP2 databases used with the geoip processor.Returns information about one or more geoip database configurations.getGeoipDatabase
(GetGeoipDatabaseRequest request) Returns information about one or more geoip database configurations.getGeoipDatabase
(Function<GetGeoipDatabaseRequest.Builder, ObjectBuilder<GetGeoipDatabaseRequest>> fn) Returns information about one or more geoip database configurations.Returns information about one or more ingest pipelines.getPipeline
(GetPipelineRequest request) Returns information about one or more ingest pipelines.Returns information about one or more ingest pipelines.Extracts structured fields out of a single text field within a document.putGeoipDatabase
(PutGeoipDatabaseRequest request) Returns information about one or more geoip database configurations.putGeoipDatabase
(Function<PutGeoipDatabaseRequest.Builder, ObjectBuilder<PutGeoipDatabaseRequest>> fn) Returns information about one or more geoip database configurations.putPipeline
(PutPipelineRequest request) Creates or updates an ingest pipeline.Creates or updates an ingest pipeline.simulate
(SimulateRequest request) Executes an ingest pipeline against a set of provided documents.Executes an ingest pipeline against a set of provided documents.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) Deletes a geoip database configuration.- See Also:
-
deleteGeoipDatabase
public final CompletableFuture<DeleteGeoipDatabaseResponse> deleteGeoipDatabase(Function<DeleteGeoipDatabaseRequest.Builder, ObjectBuilder<DeleteGeoipDatabaseRequest>> fn) Deletes a geoip database configuration.- Parameters:
fn
- a function that initializes a builder to create theDeleteGeoipDatabaseRequest
- See Also:
-
deletePipeline
Deletes one or more existing ingest pipeline.- See Also:
-
deletePipeline
public final CompletableFuture<DeletePipelineResponse> deletePipeline(Function<DeletePipelineRequest.Builder, ObjectBuilder<DeletePipelineRequest>> fn) Deletes one or more existing ingest pipeline.- Parameters:
fn
- a function that initializes a builder to create theDeletePipelineRequest
- See Also:
-
geoIpStats
Gets download statistics for GeoIP2 databases used with the geoip processor.- See Also:
-
getGeoipDatabase
public CompletableFuture<GetGeoipDatabaseResponse> getGeoipDatabase(GetGeoipDatabaseRequest request) Returns information about one or more geoip database configurations.- See Also:
-
getGeoipDatabase
public final CompletableFuture<GetGeoipDatabaseResponse> getGeoipDatabase(Function<GetGeoipDatabaseRequest.Builder, ObjectBuilder<GetGeoipDatabaseRequest>> fn) Returns information about one or more geoip database configurations.- Parameters:
fn
- a function that initializes a builder to create theGetGeoipDatabaseRequest
- See Also:
-
getGeoipDatabase
Returns information about one or more geoip database configurations.- See Also:
-
getPipeline
Returns 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) Returns 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
Returns information about one or more ingest pipelines. This API returns a local reference of the pipeline.- See Also:
-
processorGrok
Extracts structured fields out of a single text field within a document. You 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) Returns information about one or more geoip database configurations.- See Also:
-
putGeoipDatabase
public final CompletableFuture<PutGeoipDatabaseResponse> putGeoipDatabase(Function<PutGeoipDatabaseRequest.Builder, ObjectBuilder<PutGeoipDatabaseRequest>> fn) Returns information about one or more geoip database configurations.- Parameters:
fn
- a function that initializes a builder to create thePutGeoipDatabaseRequest
- See Also:
-
putPipeline
Creates or updates an ingest pipeline. Changes made using this API take effect immediately.- See Also:
-
putPipeline
public final CompletableFuture<PutPipelineResponse> putPipeline(Function<PutPipelineRequest.Builder, ObjectBuilder<PutPipelineRequest>> fn) Creates or updates an ingest pipeline. Changes made using this API take effect immediately.- Parameters:
fn
- a function that initializes a builder to create thePutPipelineRequest
- See Also:
-
simulate
Executes an ingest pipeline against a set of provided documents.- See Also:
-
simulate
public final CompletableFuture<SimulateResponse> simulate(Function<SimulateRequest.Builder, ObjectBuilder<SimulateRequest>> fn) Executes an ingest pipeline against a set of provided documents.- Parameters:
fn
- a function that initializes a builder to create theSimulateRequest
- See Also:
-