Reference documentation and code samples for the Data Analytics API with Gemini V1BETA API class Google::Cloud::GeminiDataAnalytics::V1beta::ExecutedQueryResult.
The result of a query execution. The design is generic for all dialects.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#columns
def columns() -> ::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::ExecutedQueryResult::Column>
Returns
- (::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::ExecutedQueryResult::Column>) — The columns in the result set, in order.
#columns=
def columns=(value) -> ::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::ExecutedQueryResult::Column>
Parameter
- value (::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::ExecutedQueryResult::Column>) — The columns in the result set, in order.
Returns
- (::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::ExecutedQueryResult::Column>) — The columns in the result set, in order.
#partial_result
def partial_result() -> ::Boolean
Returns
-
(::Boolean) — Set to true if the returned rows in
query_resultare a subset of the full result. This can happen, for example, if the query execution hits a row limit. When true, thequery_resultdoes not contain all rows. To retrieve the complete result, consider using thegenerated_queryinQueryDataResponseand executing it in your own environment.
#partial_result=
def partial_result=(value) -> ::Boolean
Parameter
-
value (::Boolean) — Set to true if the returned rows in
query_resultare a subset of the full result. This can happen, for example, if the query execution hits a row limit. When true, thequery_resultdoes not contain all rows. To retrieve the complete result, consider using thegenerated_queryinQueryDataResponseand executing it in your own environment.
Returns
-
(::Boolean) — Set to true if the returned rows in
query_resultare a subset of the full result. This can happen, for example, if the query execution hits a row limit. When true, thequery_resultdoes not contain all rows. To retrieve the complete result, consider using thegenerated_queryinQueryDataResponseand executing it in your own environment.
#query_execution_error
def query_execution_error() -> ::String
Returns
- (::String) — The error message if the query execution failed.
#query_execution_error=
def query_execution_error=(value) -> ::String
Parameter
- value (::String) — The error message if the query execution failed.
Returns
- (::String) — The error message if the query execution failed.
#rows
def rows() -> ::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::ExecutedQueryResult::Row>
Returns
- (::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::ExecutedQueryResult::Row>) — The rows returned by the query.
#rows=
def rows=(value) -> ::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::ExecutedQueryResult::Row>
Parameter
- value (::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::ExecutedQueryResult::Row>) — The rows returned by the query.
Returns
- (::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::ExecutedQueryResult::Row>) — The rows returned by the query.
#total_row_count
def total_row_count() -> ::Integer
Returns
- (::Integer) — The total number of rows in the full result set, if known. This may be an estimate or an exact count.
#total_row_count=
def total_row_count=(value) -> ::Integer
Parameter
- value (::Integer) — The total number of rows in the full result set, if known. This may be an estimate or an exact count.
Returns
- (::Integer) — The total number of rows in the full result set, if known. This may be an estimate or an exact count.