Class ElasticsearchEqlClient
java.lang.Object
co.elastic.clients.ApiClient<ElasticsearchTransport,ElasticsearchEqlClient>
 
co.elastic.clients.elasticsearch.eql.ElasticsearchEqlClient
- All Implemented Interfaces:
- Closeable,- AutoCloseable
public class ElasticsearchEqlClient
extends ApiClient<ElasticsearchTransport,ElasticsearchEqlClient> 
Client for the eql namespace.
- 
Field SummaryFields inherited from class co.elastic.clients.ApiClienttransport, transportOptions
- 
Constructor SummaryConstructorsConstructorDescriptionElasticsearchEqlClient(ElasticsearchTransport transport) ElasticsearchEqlClient(ElasticsearchTransport transport, TransportOptions transportOptions) 
- 
Method SummaryModifier and TypeMethodDescriptiondelete(EqlDeleteRequest request) Delete an async EQL search.final EqlDeleteResponseDelete an async EQL search.get(EqlGetRequest request) Overload ofget(EqlGetRequest, Class), where Class is defined as Void, meaning the documents will not be deserialized.<TEvent> EqlGetResponse<TEvent>get(EqlGetRequest request, Class<TEvent> tEventClass) Get async EQL search results.<TEvent> EqlGetResponse<TEvent>get(EqlGetRequest request, Type tEventType) Get async EQL search results.final EqlGetResponse<Void>Overload ofget(Function, Class), where Class is defined as Void, meaning the documents will not be deserialized.final <TEvent> EqlGetResponse<TEvent>get(Function<EqlGetRequest.Builder, ObjectBuilder<EqlGetRequest>> fn, Class<TEvent> tEventClass) Get async EQL search results.final <TEvent> EqlGetResponse<TEvent>get(Function<EqlGetRequest.Builder, ObjectBuilder<EqlGetRequest>> fn, Type tEventType) Get async EQL search results.getStatus(GetEqlStatusRequest request) Get the async EQL status.final GetEqlStatusResponseGet the async EQL status.search(EqlSearchRequest request) Overload ofsearch(EqlSearchRequest, Class), where Class is defined as Void, meaning the documents will not be deserialized.<TEvent> EqlSearchResponse<TEvent>search(EqlSearchRequest request, Class<TEvent> tEventClass) Get EQL search results.<TEvent> EqlSearchResponse<TEvent>search(EqlSearchRequest request, Type tEventType) Get EQL search results.final EqlSearchResponse<Void>Overload ofsearch(Function, Class), where Class is defined as Void, meaning the documents will not be deserialized.final <TEvent> EqlSearchResponse<TEvent>search(Function<EqlSearchRequest.Builder, ObjectBuilder<EqlSearchRequest>> fn, Class<TEvent> tEventClass) Get EQL search results.final <TEvent> EqlSearchResponse<TEvent>search(Function<EqlSearchRequest.Builder, ObjectBuilder<EqlSearchRequest>> fn, Type tEventType) Get EQL search results.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- 
ElasticsearchEqlClient
- 
ElasticsearchEqlClientpublic ElasticsearchEqlClient(ElasticsearchTransport transport, @Nullable TransportOptions transportOptions) 
 
- 
- 
Method Details- 
withTransportOptionsDescription copied from class:ApiClientCreates a new client with some request options- Specified by:
- withTransportOptionsin class- ApiClient<ElasticsearchTransport,- ElasticsearchEqlClient> 
 
- 
deletepublic EqlDeleteResponse delete(EqlDeleteRequest request) throws IOException, ElasticsearchException Delete an async EQL search. Delete an async EQL search or a stored synchronous EQL search. The API also deletes results for the search.- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
deletepublic final EqlDeleteResponse delete(Function<EqlDeleteRequest.Builder, ObjectBuilder<EqlDeleteRequest>> fn) throws IOException, ElasticsearchExceptionDelete an async EQL search. Delete an async EQL search or a stored synchronous EQL search. The API also deletes results for the search.- Parameters:
- fn- a function that initializes a builder to create the- EqlDeleteRequest
- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
getpublic <TEvent> EqlGetResponse<TEvent> get(EqlGetRequest request, Class<TEvent> tEventClass) throws IOException, ElasticsearchException Get async EQL search results. Get the current status and available results for an async EQL search or a stored synchronous EQL search.- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
getpublic final <TEvent> EqlGetResponse<TEvent> get(Function<EqlGetRequest.Builder, ObjectBuilder<EqlGetRequest>> fn, Class<TEvent> tEventClass) throws IOException, ElasticsearchExceptionGet async EQL search results. Get the current status and available results for an async EQL search or a stored synchronous EQL search.- Parameters:
- fn- a function that initializes a builder to create the- EqlGetRequest
- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
getOverload ofget(EqlGetRequest, Class), where Class is defined as Void, meaning the documents will not be deserialized.- Throws:
- IOException
- ElasticsearchException
 
- 
getpublic final EqlGetResponse<Void> get(Function<EqlGetRequest.Builder, ObjectBuilder<EqlGetRequest>> fn) throws IOException, ElasticsearchExceptionOverload ofget(Function, Class), where Class is defined as Void, meaning the documents will not be deserialized.- Throws:
- IOException
- ElasticsearchException
 
- 
getpublic <TEvent> EqlGetResponse<TEvent> get(EqlGetRequest request, Type tEventType) throws IOException, ElasticsearchException Get async EQL search results. Get the current status and available results for an async EQL search or a stored synchronous EQL search.- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
getpublic final <TEvent> EqlGetResponse<TEvent> get(Function<EqlGetRequest.Builder, ObjectBuilder<EqlGetRequest>> fn, Type tEventType) throws IOException, ElasticsearchExceptionGet async EQL search results. Get the current status and available results for an async EQL search or a stored synchronous EQL search.- Parameters:
- fn- a function that initializes a builder to create the- EqlGetRequest
- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
getStatuspublic GetEqlStatusResponse getStatus(GetEqlStatusRequest request) throws IOException, ElasticsearchException Get the async EQL status. Get the current status for an async EQL search or a stored synchronous EQL search without returning results.- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
getStatuspublic final GetEqlStatusResponse getStatus(Function<GetEqlStatusRequest.Builder, ObjectBuilder<GetEqlStatusRequest>> fn) throws IOException, ElasticsearchExceptionGet the async EQL status. Get the current status for an async EQL search or a stored synchronous EQL search without returning results.- Parameters:
- fn- a function that initializes a builder to create the- GetEqlStatusRequest
- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
searchpublic <TEvent> EqlSearchResponse<TEvent> search(EqlSearchRequest request, Class<TEvent> tEventClass) throws IOException, ElasticsearchException Get EQL search results. Returns search results for an Event Query Language (EQL) query. EQL assumes each document in a data stream or index corresponds to an event.- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
searchpublic final <TEvent> EqlSearchResponse<TEvent> search(Function<EqlSearchRequest.Builder, ObjectBuilder<EqlSearchRequest>> fn, Class<TEvent> tEventClass) throws IOException, ElasticsearchExceptionGet EQL search results. Returns search results for an Event Query Language (EQL) query. EQL assumes each document in a data stream or index corresponds to an event.- Parameters:
- fn- a function that initializes a builder to create the- EqlSearchRequest
- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
searchpublic EqlSearchResponse<Void> search(EqlSearchRequest request) throws IOException, ElasticsearchException Overload ofsearch(EqlSearchRequest, Class), where Class is defined as Void, meaning the documents will not be deserialized.- Throws:
- IOException
- ElasticsearchException
 
- 
searchpublic final EqlSearchResponse<Void> search(Function<EqlSearchRequest.Builder, ObjectBuilder<EqlSearchRequest>> fn) throws IOException, ElasticsearchExceptionOverload ofsearch(Function, Class), where Class is defined as Void, meaning the documents will not be deserialized.- Throws:
- IOException
- ElasticsearchException
 
- 
searchpublic <TEvent> EqlSearchResponse<TEvent> search(EqlSearchRequest request, Type tEventType) throws IOException, ElasticsearchException Get EQL search results. Returns search results for an Event Query Language (EQL) query. EQL assumes each document in a data stream or index corresponds to an event.- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
searchpublic final <TEvent> EqlSearchResponse<TEvent> search(Function<EqlSearchRequest.Builder, ObjectBuilder<EqlSearchRequest>> fn, Type tEventType) throws IOException, ElasticsearchExceptionGet EQL search results. Returns search results for an Event Query Language (EQL) query. EQL assumes each document in a data stream or index corresponds to an event.- Parameters:
- fn- a function that initializes a builder to create the- EqlSearchRequest
- Throws:
- IOException
- ElasticsearchException
- See Also:
 
 
-