Package

com.sksamuel.elastic4s

http

Permalink

package http

Visibility
  1. Public
  2. All

Type Members

  1. class DefaultResponseHandler[U] extends ResponseHandler[U]

    Permalink
  2. abstract class ElasticClient extends Logging

    Permalink
  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

    Permalink
  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

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

    Permalink

    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.

  6. class ElasticsearchJavaRestClient extends HttpClient

    Permalink
  7. trait Executor[F[_]] extends AnyRef

    Permalink
  8. trait Functor[F[_]] extends AnyRef

    Permalink
  9. abstract class Handler[T, U] extends Logging

    Permalink

    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

  10. trait HttpClient extends Logging

    Permalink

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

  11. sealed trait HttpEntity extends AnyRef

    Permalink
  12. case class HttpResponse(statusCode: Int, entity: Option[StringEntity], headers: Map[String, String]) extends Product with Serializable

    Permalink
  13. case class JavaClientExceptionWrapper(t: Throwable) extends RuntimeException with Product with Serializable

    Permalink
  14. class NotFound404ResponseHandler[U] extends DefaultResponseHandler[U]

    Permalink
  15. case class RequestFailure(status: Int, body: Option[String], headers: Map[String, String], error: ElasticError) extends Response[Nothing] with Product with Serializable

    Permalink
  16. case class RequestSuccess[U](status: Int, body: Option[String], headers: Map[String, String], result: U) extends Response[U] with Product with Serializable

    Permalink
  17. sealed trait Response[+U] extends AnyRef

    Permalink
  18. trait ResponseHandler[U] extends AnyRef

    Permalink
  19. case class Shards(total: Int, failed: Int, successful: Int) extends Product with Serializable

    Permalink

Value Members

  1. object ElasticClient extends Logging

    Permalink
  2. object ElasticDsl extends ElasticDsl

    Permalink
  3. object ElasticError extends Serializable

    Permalink
  4. object ElasticRequest extends Serializable

    Permalink
  5. object EnumConversions

    Permalink
  6. object Executor

    Permalink
  7. object FetchSourceContextBuilderFn

    Permalink
  8. object FetchSourceContextQueryParameterFn

    Permalink
  9. object Functor

    Permalink
  10. object HttpEntity

    Permalink
  11. object IndicesOptionsParams

    Permalink
  12. object NoOpHttpClientConfigCallback extends HttpClientConfigCallback

    Permalink

    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.

  13. object NoOpRequestConfigCallback extends RequestConfigCallback

    Permalink

    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.

  14. object RefreshPolicyHttpValue

    Permalink
  15. object ResponseHandler extends Logging

    Permalink
  16. object ScriptBuilderFn

    Permalink
  17. object SourceAsContentBuilder

    Permalink
  18. package bulk

    Permalink
  19. package cat

    Permalink
  20. package cluster

    Permalink
  21. package count

    Permalink
  22. package delete

    Permalink
  23. package explain

    Permalink
  24. package get

    Permalink
  25. package index

    Permalink
  26. package locks

    Permalink
  27. package nodes

    Permalink
  28. package reindex

    Permalink
  29. package search

    Permalink
  30. package settings

    Permalink
  31. package snapshots

    Permalink
  32. package task

    Permalink
  33. package termvectors

    Permalink
  34. package update

    Permalink
  35. package validate

    Permalink

Ungrouped