Class ReactiveElasticsearchSqlClient

java.lang.Object
co.elastic.clients.ApiClient<co.elastic.clients.transport.ElasticsearchTransport,ReactiveElasticsearchSqlClient>
org.springframework.data.elasticsearch.client.elc.ReactiveElasticsearchSqlClient

public class ReactiveElasticsearchSqlClient extends co.elastic.clients.ApiClient<co.elastic.clients.transport.ElasticsearchTransport,ReactiveElasticsearchSqlClient>
Reactive version of ElasticsearchSqlClient.
Since:
5.4
Author:
Aouichaoui Youssef
  • Field Summary

    Fields inherited from class co.elastic.clients.ApiClient

    transport, transportOptions
  • Constructor Summary

    Constructors
    Constructor
    Description
    ReactiveElasticsearchSqlClient(co.elastic.clients.transport.ElasticsearchTransport transport, co.elastic.clients.transport.TransportOptions transportOptions)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    reactor.core.publisher.Mono<co.elastic.clients.elasticsearch.sql.QueryResponse>
    Executes a SQL request.
    reactor.core.publisher.Mono<co.elastic.clients.elasticsearch.sql.QueryResponse>
    query(co.elastic.clients.elasticsearch.sql.QueryRequest query)
    Executes a SQL request.
    final reactor.core.publisher.Mono<co.elastic.clients.elasticsearch.sql.QueryResponse>
    query(Function<co.elastic.clients.elasticsearch.sql.QueryRequest.Builder,co.elastic.clients.util.ObjectBuilder<co.elastic.clients.elasticsearch.sql.QueryRequest>> fn)
    Executes a SQL request
    withTransportOptions(co.elastic.clients.transport.TransportOptions transportOptions)
     

    Methods inherited from class co.elastic.clients.ApiClient

    _jsonpMapper, _transport, _transportOptions, getDeserializer, withTransportOptions

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ReactiveElasticsearchSqlClient

      public ReactiveElasticsearchSqlClient(co.elastic.clients.transport.ElasticsearchTransport transport, @Nullable co.elastic.clients.transport.TransportOptions transportOptions)
  • Method Details

    • withTransportOptions

      public ReactiveElasticsearchSqlClient withTransportOptions(@Nullable co.elastic.clients.transport.TransportOptions transportOptions)
      Specified by:
      withTransportOptions in class co.elastic.clients.ApiClient<co.elastic.clients.transport.ElasticsearchTransport,ReactiveElasticsearchSqlClient>
    • query

      public final reactor.core.publisher.Mono<co.elastic.clients.elasticsearch.sql.QueryResponse> query(Function<co.elastic.clients.elasticsearch.sql.QueryRequest.Builder,co.elastic.clients.util.ObjectBuilder<co.elastic.clients.elasticsearch.sql.QueryRequest>> fn) throws IOException, co.elastic.clients.elasticsearch._types.ElasticsearchException
      Executes a SQL request
      Parameters:
      fn - a function that initializes a builder to create the QueryRequest.
      Throws:
      IOException
      co.elastic.clients.elasticsearch._types.ElasticsearchException
    • query

      public reactor.core.publisher.Mono<co.elastic.clients.elasticsearch.sql.QueryResponse> query(co.elastic.clients.elasticsearch.sql.QueryRequest query)
      Executes a SQL request.
    • query

      public reactor.core.publisher.Mono<co.elastic.clients.elasticsearch.sql.QueryResponse> query()
      Executes a SQL request.