Class ElasticsearchFleetAsyncClient
java.lang.Object
co.elastic.clients.ApiClient<ElasticsearchTransport,ElasticsearchFleetAsyncClient>
co.elastic.clients.elasticsearch.fleet.ElasticsearchFleetAsyncClient
- All Implemented Interfaces:
Closeable,AutoCloseable
public class ElasticsearchFleetAsyncClient
extends ApiClient<ElasticsearchTransport,ElasticsearchFleetAsyncClient>
Client for the fleet namespace.
-
Field Summary
Fields inherited from class co.elastic.clients.ApiClient
transport, transportOptions -
Constructor Summary
ConstructorsConstructorDescriptionElasticsearchFleetAsyncClient(ElasticsearchTransport transport, TransportOptions transportOptions) -
Method Summary
Modifier and TypeMethodDescriptionsearch(FleetSearchRequest request) Overload ofsearch(FleetSearchRequest, Class), where Class is defined as Void, meaning the documents will not be deserialized.<TDocument>
CompletableFuture<FleetSearchResponse<TDocument>>search(FleetSearchRequest request, Class<TDocument> tDocumentClass) The purpose of the fleet search api is to provide a search api where the search will only be executed after provided checkpoint has been processed and is visible for searches inside of Elasticsearch.<TDocument>
CompletableFuture<FleetSearchResponse<TDocument>>search(FleetSearchRequest request, Type tDocumentType) The purpose of the fleet search api is to provide a search api where the search will only be executed after provided checkpoint has been processed and is visible for searches inside of Elasticsearch.final CompletableFuture<FleetSearchResponse<Void>>Overload ofsearch(Function, Class), where Class is defined as Void, meaning the documents will not be deserialized.final <TDocument>
CompletableFuture<FleetSearchResponse<TDocument>>search(Function<FleetSearchRequest.Builder, ObjectBuilder<FleetSearchRequest>> fn, Class<TDocument> tDocumentClass) The purpose of the fleet search api is to provide a search api where the search will only be executed after provided checkpoint has been processed and is visible for searches inside of Elasticsearch.final <TDocument>
CompletableFuture<FleetSearchResponse<TDocument>>search(Function<FleetSearchRequest.Builder, ObjectBuilder<FleetSearchRequest>> fn, Type tDocumentType) The purpose of the fleet search api is to provide a search api where the search will only be executed after provided checkpoint has been processed and is visible for searches inside of Elasticsearch.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
-
ElasticsearchFleetAsyncClient
-
ElasticsearchFleetAsyncClient
public ElasticsearchFleetAsyncClient(ElasticsearchTransport transport, @Nullable TransportOptions transportOptions)
-
-
Method Details
-
withTransportOptions
public ElasticsearchFleetAsyncClient withTransportOptions(@Nullable TransportOptions transportOptions) Description copied from class:ApiClientCreates a new client with some request options- Specified by:
withTransportOptionsin classApiClient<ElasticsearchTransport,ElasticsearchFleetAsyncClient>
-
search
public <TDocument> CompletableFuture<FleetSearchResponse<TDocument>> search(FleetSearchRequest request, Class<TDocument> tDocumentClass) The purpose of the fleet search api is to provide a search api where the search will only be executed after provided checkpoint has been processed and is visible for searches inside of Elasticsearch.- See Also:
-
search
public final <TDocument> CompletableFuture<FleetSearchResponse<TDocument>> search(Function<FleetSearchRequest.Builder, ObjectBuilder<FleetSearchRequest>> fn, Class<TDocument> tDocumentClass) The purpose of the fleet search api is to provide a search api where the search will only be executed after provided checkpoint has been processed and is visible for searches inside of Elasticsearch.- Parameters:
fn- a function that initializes a builder to create theFleetSearchRequest- See Also:
-
search
Overload ofsearch(FleetSearchRequest, Class), where Class is defined as Void, meaning the documents will not be deserialized. -
search
public final CompletableFuture<FleetSearchResponse<Void>> search(Function<FleetSearchRequest.Builder, ObjectBuilder<FleetSearchRequest>> fn) Overload ofsearch(Function, Class), where Class is defined as Void, meaning the documents will not be deserialized. -
search
public <TDocument> CompletableFuture<FleetSearchResponse<TDocument>> search(FleetSearchRequest request, Type tDocumentType) The purpose of the fleet search api is to provide a search api where the search will only be executed after provided checkpoint has been processed and is visible for searches inside of Elasticsearch.- See Also:
-
search
public final <TDocument> CompletableFuture<FleetSearchResponse<TDocument>> search(Function<FleetSearchRequest.Builder, ObjectBuilder<FleetSearchRequest>> fn, Type tDocumentType) The purpose of the fleet search api is to provide a search api where the search will only be executed after provided checkpoint has been processed and is visible for searches inside of Elasticsearch.- Parameters:
fn- a function that initializes a builder to create theFleetSearchRequest- See Also:
-