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 ElasticNodeEndpoint(protocol: String, host: String, port: Int, prefix: Option[String]) extends Product with Serializable

    Permalink

    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

    Permalink

    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

    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.

  8. class ElasticsearchJavaRestClient extends HttpClient

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

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

    Permalink
  11. 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

  12. trait HttpClient extends Logging

    Permalink

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

  13. sealed trait HttpEntity extends AnyRef

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

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

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

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

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

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

    Permalink
  20. trait ResponseHandler[U] extends AnyRef

    Permalink
  21. 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 ElasticProperties extends Serializable

    Permalink
  5. object ElasticRequest extends Serializable

    Permalink
  6. object EnumConversions

    Permalink
  7. object Executor

    Permalink
  8. object FetchSourceContextBuilderFn

    Permalink
  9. object FetchSourceContextQueryParameterFn

    Permalink
  10. object Functor

    Permalink
  11. object HttpEntity

    Permalink
  12. object IndicesOptionsParams

    Permalink
  13. 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.

  14. 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.

  15. object RefreshPolicyHttpValue

    Permalink
  16. object ResponseHandler extends Logging

    Permalink
  17. object ScriptBuilderFn

    Permalink
  18. object SourceAsContentBuilder

    Permalink
  19. package bulk

    Permalink
  20. package cat

    Permalink
  21. package cluster

    Permalink
  22. package count

    Permalink
  23. package delete

    Permalink
  24. package explain

    Permalink
  25. package get

    Permalink
  26. package index

    Permalink
  27. package locks

    Permalink
  28. package nodes

    Permalink
  29. package reindex

    Permalink
  30. package search

    Permalink
  31. package settings

    Permalink
  32. package snapshots

    Permalink
  33. package task

    Permalink
  34. package termvectors

    Permalink
  35. package update

    Permalink
  36. package validate

    Permalink

Ungrouped