Class: Google::Cloud::GeminiDataAnalytics::V1beta::ExecutedQueryResult
- Inherits:
-
Object
- Object
- Google::Cloud::GeminiDataAnalytics::V1beta::ExecutedQueryResult
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb
Overview
The result of a query execution. The design is generic for all dialects.
Defined Under Namespace
Instance Attribute Summary collapse
-
#columns ⇒ ::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::ExecutedQueryResult::Column>
The columns in the result set, in order.
-
#partial_result ⇒ ::Boolean
Set to true if the returned rows in
query_resultare a subset of the full result. -
#query_execution_error ⇒ ::String
The error message if the query execution failed.
-
#rows ⇒ ::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::ExecutedQueryResult::Row>
The rows returned by the query.
-
#total_row_count ⇒ ::Integer
The total number of rows in the full result set, if known.
Instance Attribute Details
#columns ⇒ ::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::ExecutedQueryResult::Column>
Returns The columns in the result set, in order.
129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 |
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb', line 129 class ExecutedQueryResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Describes a single column in the result set. # @!attribute [rw] name # @return [::String] # The name of the column. # @!attribute [rw] type # @return [::String] # The type of the column (e.g., "VARCHAR", "INT64", "TIMESTAMP"). class Column include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a single value within a row. # @!attribute [rw] value # @return [::String] # The cell value, represented in a string format. # Timestamps could be formatted, for example, using RFC3339Nano. # This field is used if the value is not null. class Value include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a single row in the result set. # @!attribute [rw] values # @return [::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::ExecutedQueryResult::Value>] # The values in the row, corresponding positionally to the columns. class Row include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#partial_result ⇒ ::Boolean
Returns 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.
129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 |
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb', line 129 class ExecutedQueryResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Describes a single column in the result set. # @!attribute [rw] name # @return [::String] # The name of the column. # @!attribute [rw] type # @return [::String] # The type of the column (e.g., "VARCHAR", "INT64", "TIMESTAMP"). class Column include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a single value within a row. # @!attribute [rw] value # @return [::String] # The cell value, represented in a string format. # Timestamps could be formatted, for example, using RFC3339Nano. # This field is used if the value is not null. class Value include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a single row in the result set. # @!attribute [rw] values # @return [::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::ExecutedQueryResult::Value>] # The values in the row, corresponding positionally to the columns. class Row include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#query_execution_error ⇒ ::String
Returns The error message if the query execution failed.
129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 |
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb', line 129 class ExecutedQueryResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Describes a single column in the result set. # @!attribute [rw] name # @return [::String] # The name of the column. # @!attribute [rw] type # @return [::String] # The type of the column (e.g., "VARCHAR", "INT64", "TIMESTAMP"). class Column include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a single value within a row. # @!attribute [rw] value # @return [::String] # The cell value, represented in a string format. # Timestamps could be formatted, for example, using RFC3339Nano. # This field is used if the value is not null. class Value include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a single row in the result set. # @!attribute [rw] values # @return [::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::ExecutedQueryResult::Value>] # The values in the row, corresponding positionally to the columns. class Row include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#rows ⇒ ::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::ExecutedQueryResult::Row>
Returns The rows returned by the query.
129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 |
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb', line 129 class ExecutedQueryResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Describes a single column in the result set. # @!attribute [rw] name # @return [::String] # The name of the column. # @!attribute [rw] type # @return [::String] # The type of the column (e.g., "VARCHAR", "INT64", "TIMESTAMP"). class Column include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a single value within a row. # @!attribute [rw] value # @return [::String] # The cell value, represented in a string format. # Timestamps could be formatted, for example, using RFC3339Nano. # This field is used if the value is not null. class Value include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a single row in the result set. # @!attribute [rw] values # @return [::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::ExecutedQueryResult::Value>] # The values in the row, corresponding positionally to the columns. class Row include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#total_row_count ⇒ ::Integer
Returns The total number of rows in the full result set, if known. This may be an estimate or an exact count.
129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 |
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb', line 129 class ExecutedQueryResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Describes a single column in the result set. # @!attribute [rw] name # @return [::String] # The name of the column. # @!attribute [rw] type # @return [::String] # The type of the column (e.g., "VARCHAR", "INT64", "TIMESTAMP"). class Column include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a single value within a row. # @!attribute [rw] value # @return [::String] # The cell value, represented in a string format. # Timestamps could be formatted, for example, using RFC3339Nano. # This field is used if the value is not null. class Value include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Represents a single row in the result set. # @!attribute [rw] values # @return [::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::ExecutedQueryResult::Value>] # The values in the row, corresponding positionally to the columns. class Row include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |