StructuredAggregationQuery constructor
StructuredAggregationQuery({
- StructuredQuery? structuredQuery,
- Iterable<
StructuredAggregationQuery_Aggregation> ? aggregations,
Implementation
factory StructuredAggregationQuery({
StructuredQuery? structuredQuery,
$core.Iterable<StructuredAggregationQuery_Aggregation>? aggregations,
}) {
final $result = create();
if (structuredQuery != null) {
$result.structuredQuery = structuredQuery;
}
if (aggregations != null) {
$result.aggregations.addAll(aggregations);
}
return $result;
}