Class: Azure::DataMigration::Mgmt::V2018_04_19::Models::QueryExecutionResult
- Inherits:
-
Object
- Object
- Azure::DataMigration::Mgmt::V2018_04_19::Models::QueryExecutionResult
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-04-19/generated/azure_mgmt_data_migration/models/query_execution_result.rb
Overview
Describes query analysis results for execution in source and target
Instance Attribute Summary collapse
-
#query_text ⇒ String
Query text retrieved from the source server.
-
#source_result ⇒ ExecutionStatistics
Query analysis result from the source.
-
#statements_in_batch ⇒ Integer
Total no.
-
#target_result ⇒ ExecutionStatistics
Query analysis result from the target.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for QueryExecutionResult class as Ruby Hash.
Instance Attribute Details
#query_text ⇒ String
Returns Query text retrieved from the source server.
16 17 18 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/query_execution_result.rb', line 16 def query_text @query_text end |
#source_result ⇒ ExecutionStatistics
Returns Query analysis result from the source.
22 23 24 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/query_execution_result.rb', line 22 def source_result @source_result end |
#statements_in_batch ⇒ Integer
Returns Total no. of statements in the batch.
19 20 21 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/query_execution_result.rb', line 19 def statements_in_batch @statements_in_batch end |
#target_result ⇒ ExecutionStatistics
Returns Query analysis result from the target.
25 26 27 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/query_execution_result.rb', line 25 def target_result @target_result end |
Class Method Details
.mapper ⇒ Object
Mapper for QueryExecutionResult class as Ruby Hash. This will be used for serialization/deserialization.
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/query_execution_result.rb', line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'QueryExecutionResult', type: { name: 'Composite', class_name: 'QueryExecutionResult', model_properties: { query_text: { client_side_validation: true, required: false, read_only: true, serialized_name: 'queryText', type: { name: 'String' } }, statements_in_batch: { client_side_validation: true, required: false, read_only: true, serialized_name: 'statementsInBatch', type: { name: 'Number' } }, source_result: { client_side_validation: true, required: false, read_only: true, serialized_name: 'sourceResult', type: { name: 'Composite', class_name: 'ExecutionStatistics' } }, target_result: { client_side_validation: true, required: false, read_only: true, serialized_name: 'targetResult', type: { name: 'Composite', class_name: 'ExecutionStatistics' } } } } } end |