Skip to content

QueryBuilder🔗

Constructor🔗

new QueryBuilder()

Methods🔗

build🔗

Builds the object.

public Query build()

typeClassicConditions🔗

public QueryBuilder typeClassicConditions(com.grafana.foundation.cog.Builder<TypeClassicConditions> typeClassicConditions)

typeMath🔗

public QueryBuilder typeMath(com.grafana.foundation.cog.Builder<TypeMath> typeMath)

typeReduce🔗

public QueryBuilder typeReduce(com.grafana.foundation.cog.Builder<TypeReduce> typeReduce)

typeResample🔗

public QueryBuilder typeResample(com.grafana.foundation.cog.Builder<TypeResample> typeResample)

typeSql🔗

public QueryBuilder typeSql(com.grafana.foundation.cog.Builder<TypeSql> typeSql)

typeThreshold🔗

public QueryBuilder typeThreshold(com.grafana.foundation.cog.Builder<TypeThreshold> typeThreshold)

datasource🔗

New type for datasource reference

Not creating a new type until we figure out how to handle DS refs for group by, adhoc, and every place that uses DataSourceRef in TS.

public QueryBuilder datasource(com.grafana.foundation.cog.Builder<Dashboardv2beta1DataQueryKindDatasource> datasource)

version🔗

public QueryBuilder version(String version)

See also🔗