Class/Object

eu.m6r.druid.client

DruidHttpClient

Related Docs: object DruidHttpClient | package client

Permalink

case class DruidHttpClient(zookeeperHosts: String) extends LazyLogging with Product with Serializable

Druid API client that implements several endpoint functions.

zookeeperHosts

Comma-separated list of zookeeper hosts (e.g. "host1:2181,host2:2181")

Linear Supertypes
Serializable, Serializable, Product, Equals, LazyLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DruidHttpClient
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. LazyLogging
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DruidHttpClient(zookeeperHosts: String)

    Permalink

    zookeeperHosts

    Comma-separated list of zookeeper hosts (e.g. "host1:2181,host2:2181")

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def deleteSegmentsInInterval(dataSource: String, interval: Interval): Future[Seq[String]]

    Permalink

    Deletes all segments inside a given interval

    Deletes all segments inside a given interval

    dataSource

    Name of the Druid data source

    interval

    The interval. All segements inside the intervals time range will be deleted.

    returns

    Future containing a list of all deleted segments

  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  11. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  12. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. def runningTasks(): Future[Seq[RunningTask]]

    Permalink

    Get a list of the status of all running tasks

    Get a list of the status of all running tasks

    returns

    Future containing a Seq of eu.m6r.druid.client.models.TaskStatus.

  16. def shutdownIndexingTask(taskId: String): Future[Unit]

    Permalink

    Closes a running indexing task

    Closes a running indexing task

    taskId

    Id of the task that shall be closed.

    returns

    Future that calls when the task has been closed.

  17. def startIndexTask(task: IndexTask): Future[String]

    Permalink

    Starts a new indexing task.

    Starts a new indexing task.

    task

    RunningTask to start. Use models.IndexTaskBuilder to create it.

    returns

    Future containing the task id.

  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. def taskStatus(taskId: String): Future[TaskStatus]

    Permalink

    Returns the status of a task.

    Returns the status of a task.

    taskId

    Druid task id

    returns

    Future containing the task status

  20. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. val zookeeperHosts: String

    Permalink

    Comma-separated list of zookeeper hosts (e.g.

    Comma-separated list of zookeeper hosts (e.g. "host1:2181,host2:2181")

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped