Packages

c

com.ing.wbaa.druid.dql

QueryBuilder

final class QueryBuilder extends QueryBuilderCommons with AggregationQueryBuilderCommons with DescendingOption

This is the default query build, in order to create Timeseries queries

Linear Supertypes
DescendingOption, AggregationQueryBuilderCommons, QueryBuilderCommons, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. QueryBuilder
  2. DescendingOption
  3. AggregationQueryBuilderCommons
  4. QueryBuilderCommons
  5. AnyRef
  6. 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 agg(aggs: AggregationExpression*): QueryBuilder.this.type

    Specify one or more aggregations to use

    Specify one or more aggregations to use

    Definition Classes
    AggregationQueryBuilderCommons
  5. val aggregations: List[Aggregation]
    Attributes
    protected
    Definition Classes
    QueryBuilderCommons
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. val complexAggregationNames: Set[String]
    Attributes
    protected
    Definition Classes
    QueryBuilderCommons
  9. def copyTo[T <: QueryBuilderCommons](other: T): T
    Attributes
    protected
    Definition Classes
    QueryBuilderCommons
  10. val dataSourceOpt: Option[String]
    Attributes
    protected
    Definition Classes
    QueryBuilderCommons
  11. val descending: Boolean
    Attributes
    protected
    Definition Classes
    DescendingOption
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. val filters: List[Filter]
    Attributes
    protected
    Definition Classes
    QueryBuilderCommons
  15. def from(dataSource: String): QueryBuilder.this.type

    Specify the datasource to use, other than the default one in the configuration

    Specify the datasource to use, other than the default one in the configuration

    Definition Classes
    QueryBuilderCommons
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def getFilters: Option[Filter]
    Attributes
    protected
    Definition Classes
    QueryBuilderCommons
  18. def getPostAggs: List[PostAggregation]
    Attributes
    protected
    Definition Classes
    QueryBuilderCommons
  19. def granularity(granularity: Granularity): QueryBuilder.this.type

    Define the granularity to bucket query results

    Define the granularity to bucket query results

    Definition Classes
    QueryBuilderCommons
  20. val granularityOpt: Option[Granularity]
    Attributes
    protected
    Definition Classes
    QueryBuilderCommons
  21. def groupBy(dimensions: Iterable[Dim]): GroupByQueryBuilder
  22. def groupBy(dimensions: Dim*): GroupByQueryBuilder

    Define that the query will be a group-by query

    Define that the query will be a group-by query

    dimensions

    the dimensions to perform a group-by query

    returns

    the builder for group-by queries

  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. def interval(interval: String): QueryBuilder.this.type

    Specify the time range to run the query over (should be expressed as ISO-8601 interval)

    Specify the time range to run the query over (should be expressed as ISO-8601 interval)

    Definition Classes
    QueryBuilderCommons
  25. def intervals(ints: String*): QueryBuilder.this.type

    Specify multiple time ranges to run the query over (should be expressed as ISO-8601 intervals)

    Specify multiple time ranges to run the query over (should be expressed as ISO-8601 intervals)

    Definition Classes
    QueryBuilderCommons
  26. val intervals: List[String]
    Attributes
    protected
    Definition Classes
    QueryBuilderCommons
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. def postAgg(postAggs: PostAggregationExpression*): QueryBuilder.this.type

    Specify one or more post-aggregations to use

    Specify one or more post-aggregations to use

    Definition Classes
    AggregationQueryBuilderCommons
  32. val postAggregationExpr: List[PostAggregationExpression]
    Attributes
    protected
    Definition Classes
    QueryBuilderCommons
  33. val queryContextParams: Map[QueryContextParam, QueryContextValue]
    Attributes
    protected
    Definition Classes
    QueryBuilderCommons
  34. def scan(): ScanQueryBuilder
  35. def search(q: SearchQuerySpec): SearchQueryBuilder
  36. def setDescending(v: Boolean): QueryBuilder.this.type

    Define whether to make descending ordered result

    Define whether to make descending ordered result

    Definition Classes
    DescendingOption
  37. def setQueryContextParam(key: QueryContextParam, value: QueryContextValue): QueryBuilder.this.type
    Definition Classes
    QueryBuilderCommons
  38. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  39. def timeseries: TimeseriesQueryBuilder

    Define that the query will be a timeseries query

    Define that the query will be a timeseries query

    returns

    the builder for timeseries

  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. def topN(dimension: Dim, metric: String, threshold: Int): TopNQueryBuilder

    Define that the query will be a top-n query

    Define that the query will be a top-n query

    dimension

    the dimension that you want the top taken for

    metric

    the metric to sort by for the top list

    threshold

    an integer defining the N in the top-n

    returns

    the builder for top-n queries

  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  44. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. def where(filter: FilteringExpression): QueryBuilder.this.type

    Specify one or more filter operations to use in the query

    Specify one or more filter operations to use in the query

    Definition Classes
    QueryBuilderCommons
  46. def withQueryContext(params: Map[QueryContextParam, QueryContextValue]): QueryBuilder.this.type
    Definition Classes
    QueryBuilderCommons

Deprecated Value Members

  1. def build()(implicit druidConfig: DruidConfig = DruidConfig.DefaultConfig): TimeSeriesQuery

    Gives the resulting time-series query, wrt.

    Gives the resulting time-series query, wrt. the given query parameters (e.g., where, datasource, etc.)

    returns

    the resulting time-series query

    Annotations
    @deprecated
    Deprecated

    (Since version 2.4.0) use timeseries.build()

  2. 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 DescendingOption

Inherited from AggregationQueryBuilderCommons

Inherited from QueryBuilderCommons

Inherited from AnyRef

Inherited from Any

Ungrouped