Class: Azure::DataMigration::Mgmt::V2018_07_15_preview::Models::QueryExecutionResult

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-07-15-preview/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

Class Method Summary collapse

Instance Attribute Details

#query_textString

Returns Query text retrieved from the source server.

Returns:

  • (String)

    Query text retrieved from the source server



16
17
18
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/query_execution_result.rb', line 16

def query_text
  @query_text
end

#source_resultExecutionStatistics

Returns Query analysis result from the source.

Returns:



22
23
24
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/query_execution_result.rb', line 22

def source_result
  @source_result
end

#statements_in_batchInteger

Returns Total no. of statements in the batch.

Returns:

  • (Integer)

    Total no. of statements in the batch



19
20
21
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/query_execution_result.rb', line 19

def statements_in_batch
  @statements_in_batch
end

#target_resultExecutionStatistics

Returns Query analysis result from the target.

Returns:



25
26
27
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/query_execution_result.rb', line 25

def target_result
  @target_result
end

Class Method Details

.mapperObject

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
# File 'lib/2018-07-15-preview/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,
          serialized_name: 'queryText',
          type: {
            name: 'String'
          }
        },
        statements_in_batch: {
          client_side_validation: true,
          required: false,
          serialized_name: 'statementsInBatch',
          type: {
            name: 'Number'
          }
        },
        source_result: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sourceResult',
          type: {
            name: 'Composite',
            class_name: 'ExecutionStatistics'
          }
        },
        target_result: {
          client_side_validation: true,
          required: false,
          serialized_name: 'targetResult',
          type: {
            name: 'Composite',
            class_name: 'ExecutionStatistics'
          }
        }
      }
    }
  }
end