Packages

class DruidAdvancedHttpClient extends DruidClient with DruidResponseHandler

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

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. def actorMaterializer: ActorMaterializer

    returns

    the underlying akka.stream.ActorMaterializer

    Definition Classes
    DruidAdvancedHttpClientDruidClient
  5. def actorSystem: ActorSystem

    returns

    the underlying akka.actor.ActorSystem

    Definition Classes
    DruidAdvancedHttpClientDruidClient
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. implicit def circeJsonMarshaller(implicit P: Printer): ToEntityMarshaller[Json]
    Definition Classes
    CirceHttpSupport
  8. implicit def circeJsonUnmarshaller: FromEntityUnmarshaller[Json]
    Definition Classes
    CirceHttpSupport
  9. implicit def circeMarshaller[A](implicit A: Encoder[A], P: Printer): ToEntityMarshaller[A]
    Definition Classes
    CirceHttpSupport
  10. implicit def circeUnmarshaller[A](implicit arg0: Decoder[A]): FromEntityUnmarshaller[A]
    Definition Classes
    CirceHttpSupport
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  12. 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

    Definition Classes
    DruidAdvancedHttpClientDruidClient
  13. 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

    Definition Classes
    DruidAdvancedHttpClientDruidClient
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def handleResponse[T <: DruidResponse](response: HttpResponse, queryType: QueryType, responseParsingTimeout: FiniteDuration)(implicit materializer: ActorMaterializer, ec: ExecutionContextExecutor): Future[T]
    Attributes
    protected
    Definition Classes
    DruidResponseHandler
  18. def handleResponseAsStream(response: HttpResponse, queryType: QueryType): Source[BaseResult, NotUsed]
    Attributes
    protected
    Definition Classes
    DruidResponseHandler
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. 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)

    Definition Classes
    DruidAdvancedHttpClientDruidClient
  21. val healthLogger: Logger
    Attributes
    protected
    Definition Classes
    DruidClient
  22. 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

    Definition Classes
    DruidAdvancedHttpClientDruidClient
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. implicit def jsonUnmarshaller[J](implicit arg0: Facade[J]): FromEntityUnmarshaller[J]
    Definition Classes
    JsonSupport
  25. lazy val logger: Logger
    Attributes
    protected
    Definition Classes
    LazyLogging
    Annotations
    @transient()
  26. def mapRightProjection[L, R, R1](either: Either[L, R])(f: (R) => R1): Either[L, R1]
    Attributes
    protected
    Definition Classes
    CirceDecoders
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. 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

    Definition Classes
    DruidAdvancedHttpClientDruidClient
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. implicit val system: ActorSystem
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  36. 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 DruidResponseHandler

Inherited from DruidClient

Inherited from LazyLogging

Inherited from CirceDecoders

Inherited from CirceHttpSupport

Inherited from JsonSupport

Inherited from AnyRef

Inherited from Any

Ungrouped