Skip to content

QueryV2Builder🔗

Constructor🔗

new QueryV2Builder()

Methods🔗

build🔗

Builds the object.

public QueryV2 build()

typeClassicConditions🔗

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

typeMath🔗

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

typeReduce🔗

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

typeResample🔗

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

typeSql🔗

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

typeThreshold🔗

public QueryV2Builder 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 QueryV2Builder datasource(com.grafana.foundation.cog.Builder<Dashboardv2DataQueryKindDatasource> datasource)

labels🔗

public QueryV2Builder labels(Map<String, String> labels)

version🔗

public QueryV2Builder version(String version)

See also🔗