Data Analytics API with Gemini V1BETA API - Class Google::Cloud::GeminiDataAnalytics::V1beta::ExecutedQueryResult (v0.6.0)

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

#columns=

def columns=(value) -> ::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::ExecutedQueryResult::Column>
Parameter
Returns

#partial_result

def partial_result() -> ::Boolean
Returns
  • (::Boolean) — 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.

#partial_result=

def partial_result=(value) -> ::Boolean
Parameter
  • value (::Boolean) — 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.
Returns
  • (::Boolean) — 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

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

#rows=

def rows=(value) -> ::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::ExecutedQueryResult::Row>
Parameter
Returns

#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.