Handler

com.sksamuel.elastic4s.Handler
abstract class Handler[T, U]

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

Type parameters

T

the type of the request object handled by this handler

U

the type of the response object returned by this handler

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object BulkHandler
object CountHandler
object CountHandler
object ExistsHandler
object GetHandler
object IndexHandler
class UpdateByQueryHandler[Q, R]
object UpdateHandler
Show all

Members list

Value members

Abstract methods

def build(t: T): ElasticRequest

Concrete methods

Concrete fields

protected val TaskRegex: Regex
protected val logger: Logger