Class ElasticsearchTextStructureAsyncClient
java.lang.Object
co.elastic.clients.ApiClient<ElasticsearchTransport,ElasticsearchTextStructureAsyncClient>
co.elastic.clients.elasticsearch.text_structure.ElasticsearchTextStructureAsyncClient
public class ElasticsearchTextStructureAsyncClient
extends ApiClient<ElasticsearchTransport,ElasticsearchTextStructureAsyncClient>
Client for the text_structure namespace.
-
Field Summary
Fields inherited from class co.elastic.clients.ApiClient
transport, transportOptions
-
Constructor Summary
ConstructorsConstructorDescriptionElasticsearchTextStructureAsyncClient
(ElasticsearchTransport transport, TransportOptions transportOptions) -
Method Summary
Modifier and TypeMethodDescriptiontestGrokPattern
(TestGrokPatternRequest request) Tests a Grok pattern on some text.Tests a Grok pattern on some text.withTransportOptions
(TransportOptions transportOptions) Creates a new client with some request optionsMethods inherited from class co.elastic.clients.ApiClient
_jsonpMapper, _transport, _transportOptions, getDeserializer, withTransportOptions
-
Constructor Details
-
ElasticsearchTextStructureAsyncClient
-
ElasticsearchTextStructureAsyncClient
public ElasticsearchTextStructureAsyncClient(ElasticsearchTransport transport, @Nullable TransportOptions transportOptions)
-
-
Method Details
-
withTransportOptions
public ElasticsearchTextStructureAsyncClient withTransportOptions(@Nullable TransportOptions transportOptions) Description copied from class:ApiClient
Creates a new client with some request options- Specified by:
withTransportOptions
in classApiClient<ElasticsearchTransport,
ElasticsearchTextStructureAsyncClient>
-
testGrokPattern
Tests a Grok pattern on some text.- See Also:
-
testGrokPattern
public final CompletableFuture<TestGrokPatternResponse> testGrokPattern(Function<TestGrokPatternRequest.Builder, ObjectBuilder<TestGrokPatternRequest>> fn) Tests a Grok pattern on some text.- Parameters:
fn
- a function that initializes a builder to create theTestGrokPatternRequest
- See Also:
-