Skip to content

SQLExpressionBuilder🔗

Constructor🔗

new SQLExpressionBuilder()

Methods🔗

build🔗

Builds the object.

public SQLExpression build()

from🔗

FROM part of the SQL expression

public SQLExpressionBuilder from(QueryEditorPropertyExpressionOrQueryEditorFunctionExpression from)

groupBy🔗

GROUP BY part of the SQL expression

public SQLExpressionBuilder groupBy(com.grafana.foundation.cog.Builder<QueryEditorArrayExpression> groupBy)

limit🔗

LIMIT part of the SQL expression

public SQLExpressionBuilder limit(Long limit)

orderBy🔗

ORDER BY part of the SQL expression

public SQLExpressionBuilder orderBy(com.grafana.foundation.cog.Builder<QueryEditorFunctionExpression> orderBy)

orderByDirection🔗

The sort order of the SQL expression, ASC or DESC

public SQLExpressionBuilder orderByDirection(String orderByDirection)

select🔗

SELECT part of the SQL expression

public SQLExpressionBuilder select(com.grafana.foundation.cog.Builder<QueryEditorFunctionExpression> select)

where🔗

WHERE part of the SQL expression

public SQLExpressionBuilder where(com.grafana.foundation.cog.Builder<QueryEditorArrayExpression> where)

See also🔗