Class ExecutedQueryResult (0.13.5)

ExecutedQueryResult(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The result of a query execution. The design is generic for all dialects.

Attributes

Name Description
columns MutableSequence[google.cloud.geminidataanalytics_v1beta.types.ExecutedQueryResult.Column]
The columns in the result set, in order.
rows MutableSequence[google.cloud.geminidataanalytics_v1beta.types.ExecutedQueryResult.Row]
The rows returned by the query.
total_row_count int
The total number of rows in the full result set, if known. This may be an estimate or an exact count. Note: if an internal limit (such as LIMIT 1000) was applied during query execution to guard against excessive data transfer, this count reflects the truncated result size rather than the unrestricted table result size.
partial_result bool
Set to true if the returned rows in query_result are a subset of the full result. This can happen, for example, if the query execution hits a row limit. When true, the query_result does not contain all rows. To retrieve the complete result, consider using the generated_query in QueryDataResponse and executing it in your own environment.
query_execution_error str
The error message if the query execution failed.

Classes

Column

Column(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Describes a single column in the result set.

Row

Row(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a single row in the result set.

Value

Value(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a single value within a row.