package http

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Package Members

  1. package bulk
  2. package cat
  3. package cluster
  4. package count
  5. package delete
  6. package explain
  7. package get
  8. package index
  9. package locks
  10. package nodes
  11. package reindex
  12. package search
  13. package settings
  14. package snapshots
  15. package task
  16. package termvectors
  17. package update
  18. package validate

Type Members

  1. class DefaultResponseHandler[U] extends ResponseHandler[U]
  2. abstract class ElasticClient extends Logging
  3. trait ElasticDsl extends ElasticApi with Logging with BulkHandlers with CatHandlers with CountHandlers with ClusterHandlers with DeleteHandlers with ExistsHandlers with ExplainHandlers with GetHandlers with IndexHandlers with IndexAdminHandlers with IndexAliasHandlers with IndexStatsHandlers with IndexTemplateHandlers with LocksHandlers with MappingHandlers with NodesHandlers with ReindexHandlers with RolloverHandlers with SearchHandlers with SearchTemplateHandlers with SearchScrollHandlers with SettingsHandlers with SnapshotHandlers with UpdateHandlers with TaskHandlers with TermVectorHandlers with ValidateHandlers
  4. case class ElasticError(type: String, reason: String, indexUuid: Option[String], index: Option[String], shard: Option[String], rootCause: Seq[ElasticError], causedBy: Option[CausedBy]) extends Product with Serializable
  5. case class ElasticNodeEndpoint(protocol: String, host: String, port: Int, prefix: Option[String]) extends Product with Serializable

    Holds all of the variables needed to describe the HTTP endpoint of an elasticsearch node.

    Holds all of the variables needed to describe the HTTP endpoint of an elasticsearch node.

    protocol

    http or https

    host

    the hostname of the node

    port

    the port of the server process

    prefix

    an optional prefix that will be prepended to all requests

  6. case class ElasticProperties(endpoints: Seq[ElasticNodeEndpoint], options: Map[String, String] = Map.empty) extends Product with Serializable

    Contains the endpoints of the nodes to connect to, as well as connection properties.

  7. case class ElasticRequest(method: String, endpoint: String, params: Map[String, String], entity: Option[HttpEntity]) extends Product with Serializable

    An ElasticRequest models all the required fields for a request to be sent to Elasticsearch.

    An ElasticRequest models all the required fields for a request to be sent to Elasticsearch. Request types such as com.sksamuel.elastic4s.searches.SearchRequest, etc, are ultimately converted into this class by means of a Handler typeclass instance.

  8. class ElasticsearchJavaRestClient extends HttpClient
  9. trait Executor[F[_]] extends AnyRef
  10. trait Functor[F[_]] extends AnyRef
  11. abstract class Handler[T, U] extends Logging

    A Handler is a typeclass used by the ElasticClient in order to create ElasticRequest instances which are sent to the elasticsearch server, as well as returning a ResponseHandler which handles the response from the server.

    A Handler is a typeclass used by the ElasticClient in order to create ElasticRequest instances which are sent to the elasticsearch server, as well as returning a ResponseHandler which handles the response from the server.

    T

    the type of the request object handled by this handler

    U

    the type of the response object returned by this handler

  12. trait HttpClient extends Logging

    Adapts an underlying http client so that it can be used by the elastic client.

  13. sealed trait HttpEntity extends AnyRef
  14. case class HttpResponse(statusCode: Int, entity: Option[StringEntity], headers: Map[String, String]) extends Product with Serializable
  15. case class JavaClientExceptionWrapper(t: Throwable) extends RuntimeException with Product with Serializable
  16. class NotFound404ResponseHandler[U] extends DefaultResponseHandler[U]
  17. case class RequestFailure(status: Int, body: Option[String], headers: Map[String, String], error: ElasticError) extends Response[Nothing] with Product with Serializable
  18. case class RequestSuccess[U](status: Int, body: Option[String], headers: Map[String, String], result: U) extends Response[U] with Product with Serializable
  19. sealed trait Response[+U] extends AnyRef
  20. trait ResponseHandler[U] extends AnyRef
  21. case class Shards(total: Int, failed: Int, successful: Int) extends Product with Serializable

Value Members

  1. object ElasticClient extends Logging
  2. object ElasticDsl extends ElasticDsl
  3. object ElasticError extends Serializable
  4. object ElasticProperties extends Serializable
  5. object ElasticRequest extends Serializable
  6. object EnumConversions
  7. object Executor
  8. object FetchSourceContextBuilderFn
  9. object FetchSourceContextQueryParameterFn
  10. object Functor
  11. object HttpEntity
  12. object IndicesOptionsParams
  13. object NoOpHttpClientConfigCallback extends HttpClientConfigCallback

    HttpAsyncClientBuilder that performs a no-op on the given HttpAsyncClientBuilder

    HttpAsyncClientBuilder that performs a no-op on the given HttpAsyncClientBuilder

    Used as a default parameter to the HttpClient when no custom HttpAsync configuration is needed.

  14. object NoOpRequestConfigCallback extends RequestConfigCallback

    RequestConfigCallback that performs a no-op on the given RequestConfig.Builder.

    RequestConfigCallback that performs a no-op on the given RequestConfig.Builder.

    Used as a default parameter to the HttpClient when no custom request configuration is needed.

  15. object RefreshPolicyHttpValue
  16. object ResponseHandler extends Logging
  17. object ScriptBuilderFn
  18. object SourceAsContentBuilder

Ungrouped