Packages

t

com.ing.wbaa.druid.client

DruidClient

trait DruidClient extends CirceHttpSupport with CirceDecoders with LazyLogging

Linear Supertypes
LazyLogging, CirceDecoders, CirceHttpSupport, JsonSupport, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DruidClient
  2. LazyLogging
  3. CirceDecoders
  4. CirceHttpSupport
  5. JsonSupport
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def actorMaterializer: ActorMaterializer

    returns

    the underlying akka.stream.ActorMaterializer

  2. abstract def actorSystem: ActorSystem

    returns

    the underlying akka.actor.ActorSystem

  3. abstract def doQuery[T <: DruidResponse](query: DruidQuery)(implicit druidConfig: DruidConfig): Future[T]

    Perform a query to Druid and get its resulting response

    Perform a query to Druid and get its resulting response

    query

    the query to perform

    druidConfig

    the configuration options

    returns

    a Future holding the resulting response

  4. abstract def doQueryAsStream(query: DruidQuery)(implicit druidConfig: DruidConfig): Source[BaseResult, NotUsed]

    Perform a query to Druid and get its result as an Akka Stream akka.stream.scaladsl.Source of ing.wbaa.druid.DruidResult.

    Perform a query to Druid and get its result as an Akka Stream akka.stream.scaladsl.Source of ing.wbaa.druid.DruidResult.

    This is useful for queries that result to responses with large payloads (Druid responds with streaming JSON)

    query

    the query to perform

    druidConfig

    the Druid configuration options

    returns

    the resulting Akka Streams Source of ing.wbaa.druid.DruidResult

  5. abstract def healthCheck(implicit druidConfig: DruidConfig): Future[Map[QueryHost, Boolean]]

    druidConfig

    the configuration options

    returns

    a Map with the health status of each Druid query host, where each host is associated with a Boolean value indicating whether the host is healthy (true) or not (false)

  6. abstract def isHealthy()(implicit druidConfig: DruidConfig): Future[Boolean]

    Checks the health status of all Druid query hosts

    Checks the health status of all Druid query hosts

    druidConfig

    the configuration options

    returns

    true when all Druid query hosts are healthy, otherwise false

  7. abstract def shutdown(): Future[Unit]

    Shutdown the client and close the active connections to Druid

    Shutdown the client and close the active connections to Druid

    returns

    a Future which completes successfully when all active connections have been closed

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. implicit def circeJsonMarshaller(implicit P: Printer): ToEntityMarshaller[Json]
    Definition Classes
    CirceHttpSupport
  6. implicit def circeJsonUnmarshaller: FromEntityUnmarshaller[Json]
    Definition Classes
    CirceHttpSupport
  7. implicit def circeMarshaller[A](implicit A: Encoder[A], P: Printer): ToEntityMarshaller[A]
    Definition Classes
    CirceHttpSupport
  8. implicit def circeUnmarshaller[A](implicit arg0: Decoder[A]): FromEntityUnmarshaller[A]
    Definition Classes
    CirceHttpSupport
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. val healthLogger: Logger
    Attributes
    protected
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. implicit def jsonUnmarshaller[J](implicit arg0: Facade[J]): FromEntityUnmarshaller[J]
    Definition Classes
    JsonSupport
  17. lazy val logger: Logger
    Attributes
    protected
    Definition Classes
    LazyLogging
    Annotations
    @transient()
  18. def mapRightProjection[L, R, R1](either: Either[L, R])(f: (R) => R1): Either[L, R1]
    Attributes
    protected
    Definition Classes
    CirceDecoders
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from LazyLogging

Inherited from CirceDecoders

Inherited from CirceHttpSupport

Inherited from JsonSupport

Inherited from AnyRef

Inherited from Any

Ungrouped