final class TopNQueryBuilder extends QueryBuilderCommons with AggregationQueryBuilderCommons with DescendingOption
Builder for top-n queries
- Alphabetic
- By Inheritance
- TopNQueryBuilder
- DescendingOption
- AggregationQueryBuilderCommons
- QueryBuilderCommons
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def agg(aggs: AggregationExpression*): TopNQueryBuilder.this.type
Specify one or more aggregations to use
Specify one or more aggregations to use
- Definition Classes
- AggregationQueryBuilderCommons
- val aggregations: List[Aggregation]
- Attributes
- protected
- Definition Classes
- QueryBuilderCommons
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def build()(implicit druidConfig: DruidConfig = DruidConfig.DefaultConfig): TopNQuery
Gives the resulting top-n query, wrt.
Gives the resulting top-n query, wrt. the given query parameters (e.g., where, datasource, etc.)
- returns
the resulting top-n query
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val complexAggregationNames: Set[String]
- Attributes
- protected
- Definition Classes
- QueryBuilderCommons
- def copyTo[T <: QueryBuilderCommons](other: T): T
- Attributes
- protected
- Definition Classes
- QueryBuilderCommons
- val dataSourceOpt: Option[String]
- Attributes
- protected
- Definition Classes
- QueryBuilderCommons
- val descending: Boolean
- Attributes
- protected
- Definition Classes
- DescendingOption
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val filters: List[Filter]
- Attributes
- protected
- Definition Classes
- QueryBuilderCommons
- def from(dataSource: String): TopNQueryBuilder.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
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getFilters: Option[Filter]
- Attributes
- protected
- Definition Classes
- QueryBuilderCommons
- def getPostAggs: List[PostAggregation]
- Attributes
- protected
- Definition Classes
- QueryBuilderCommons
- def granularity(granularity: Granularity): TopNQueryBuilder.this.type
Define the granularity to bucket query results
Define the granularity to bucket query results
- Definition Classes
- QueryBuilderCommons
- val granularityOpt: Option[Granularity]
- Attributes
- protected
- Definition Classes
- QueryBuilderCommons
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def interval(interval: String): TopNQueryBuilder.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
- def intervals(ints: String*): TopNQueryBuilder.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
- val intervals: List[String]
- Attributes
- protected
- Definition Classes
- QueryBuilderCommons
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def postAgg(postAggs: PostAggregationExpression*): TopNQueryBuilder.this.type
Specify one or more post-aggregations to use
Specify one or more post-aggregations to use
- Definition Classes
- AggregationQueryBuilderCommons
- val postAggregationExpr: List[PostAggregationExpression]
- Attributes
- protected
- Definition Classes
- QueryBuilderCommons
- val queryContextParams: Map[QueryContextParam, QueryContextValue]
- Attributes
- protected
- Definition Classes
- QueryBuilderCommons
- def setDescending(v: Boolean): TopNQueryBuilder.this.type
Define whether to make descending ordered result
Define whether to make descending ordered result
- Definition Classes
- DescendingOption
- def setQueryContextParam(key: QueryContextParam, value: QueryContextValue): TopNQueryBuilder.this.type
- Definition Classes
- QueryBuilderCommons
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def where(filter: FilteringExpression): TopNQueryBuilder.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
- def withQueryContext(params: Map[QueryContextParam, QueryContextValue]): TopNQueryBuilder.this.type
- Definition Classes
- QueryBuilderCommons
Deprecated Value Members
- 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.