operation property

String? operation
getter/setter pair

Specifies the role of this field (direct selection, grouping, or aggregation). Possible string values are:

  • "FIELD_OPERATION_UNSPECIFIED" : Invalid value. Operation must be specified.
  • "NO_SETTING" : Select the field directly without grouping or aggregation. Corresponds to including the raw field (potentially with cast, regex, or alias) in the SELECT list.
  • "GROUP_BY" : Group the query results by the distinct values of this field. Corresponds to including the field (potentially truncated) in the GROUP BY clause.
  • "AGGREGATE" : Apply an aggregation function to this field across grouped results. Corresponds to applying a function like COUNT, SUM, AVG in the SELECT list. Requires sql_aggregation_function to be set.

Implementation

core.String? operation;