Skip to content

Commit fb86207

Browse files
committed
Generated 2019-09-01 for OceanBasePro.
1 parent 377eb9e commit fb86207

32 files changed

+191
-134
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.36.2082
1+
1.36.2083

oceanbasepro/include/alibabacloud/oceanbasepro/model/DescribeInstanceResult.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ namespace AlibabaCloud
185185
Resource resource;
186186
std::string instanceClass;
187187
std::string payType;
188+
int iops;
188189
bool dataDiskAutoScale;
189190
bool enableProxyService;
190191
std::string instanceName;

oceanbasepro/include/alibabacloud/oceanbasepro/model/DescribeInstancesResult.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ namespace AlibabaCloud
121121
std::string instanceClass;
122122
bool migratable;
123123
std::string payType;
124+
int iops;
124125
std::string instanceName;
125126
std::string series;
126127
DataDiskAutoScaleConfig dataDiskAutoScaleConfig;

oceanbasepro/include/alibabacloud/oceanbasepro/model/DescribeMetricsDataRequest.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ class ALIBABACLOUD_OCEANBASEPRO_EXPORT DescribeMetricsDataRequest : public RpcSe
4242
void setSortMetricKey(const std::string &sortMetricKey);
4343
std::string getReplicaType() const;
4444
void setReplicaType(const std::string &replicaType);
45+
std::string getMetricScope() const;
46+
void setMetricScope(const std::string &metricScope);
4547
std::string getEndTime() const;
4648
void setEndTime(const std::string &endTime);
4749
std::string getLabels() const;
@@ -58,6 +60,7 @@ class ALIBABACLOUD_OCEANBASEPRO_EXPORT DescribeMetricsDataRequest : public RpcSe
5860
std::string sortOrder_;
5961
std::string sortMetricKey_;
6062
std::string replicaType_;
63+
std::string metricScope_;
6164
std::string endTime_;
6265
std::string labels_;
6366
std::string instanceId_;

oceanbasepro/include/alibabacloud/oceanbasepro/model/DescribeOasAnomalySQLListResult.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ namespace AlibabaCloud
6363
double sumDbTime;
6464
std::vector<DataItem::SqlListItem> sqlList;
6565
std::string userName;
66-
double lastExecutedTime;
66+
std::string lastExecutedTime;
6767
float avgRetryCount;
6868
double avgGetPlanTime;
6969
double cpuTime;

oceanbasepro/include/alibabacloud/oceanbasepro/model/DescribeOasSQLHistoryListResult.h

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -35,55 +35,55 @@ namespace AlibabaCloud
3535
struct DataItem
3636
{
3737
long executions;
38-
long avgRowCacheHit;
38+
double avgRowCacheHit;
3939
std::string server;
4040
double maxApplicationWaitTime;
4141
double maxAffectedRows;
4242
double maxUserIoWaitTime;
4343
double avgUserIoWaitTime;
4444
long retryCount;
45-
double retCode6002Count;
45+
long retCode6002Count;
4646
long missPlans;
47-
long avgLogicalReads;
48-
double retCode5167Count;
49-
long avgBlockCacheHit;
47+
double avgLogicalReads;
48+
long retCode5167Count;
49+
double avgBlockCacheHit;
5050
double execPs;
5151
double tableScanPercentage;
52-
double retCode5217Count;
52+
long retCode5217Count;
5353
double avgUsedWorkerCount;
5454
double maxElapsedTime;
5555
double localPlanPercentage;
5656
double avgGetPlanTime;
5757
double avgNetTime;
5858
double remotePlanPercentage;
59-
long avgAffectedRows;
59+
double avgAffectedRows;
6060
double avgApplicationWaitTime;
61-
long avgSsstoreReadRows;
62-
long avgMemstoreReadRows;
61+
double avgSsstoreReadRows;
62+
double avgMemstoreReadRows;
6363
double avgQueueTime;
6464
double maxCpuTime;
65-
long avgDiskReads;
66-
double retCode5001Count;
65+
double avgDiskReads;
66+
long retCode5001Count;
6767
double avgCpuTime;
68-
double retCode5024Count;
68+
long retCode5024Count;
6969
double sumLogicalReads;
7070
double sumDbTime;
7171
double strongConsistencyPercentage;
72-
double retCode4013Count;
72+
long retCode4013Count;
7373
double avgConcurrencyWaitTime;
7474
std::string timestamp;
75-
long avgBlockIndexCacheHit;
76-
long avgBloomFilterCacheHit;
75+
double avgBlockIndexCacheHit;
76+
double avgBloomFilterCacheHit;
7777
double sumElapsedTime;
78-
long avgReturnRows;
78+
double avgReturnRows;
7979
long failCount;
8080
double avgPartitionCount;
8181
std::string dbName;
8282
double avgWaitTime;
8383
double weakConsistencyPercentage;
8484
double avgDecodeTime;
8585
std::string sQLId;
86-
long avgRpcCount;
86+
double avgRpcCount;
8787
double avgNetWaitTime;
8888
double maxDiskReads;
8989
double avgDbTime;
@@ -99,7 +99,7 @@ namespace AlibabaCloud
9999
double maxConcurrencyWaitTime;
100100
double missPlanPercentage;
101101
std::string waitEvent;
102-
double retCode4012Count;
102+
long retCode4012Count;
103103
double avgElapsedTime;
104104
double failPercentage;
105105
double maxReturnRows;

oceanbasepro/include/alibabacloud/oceanbasepro/model/DescribeOasSlowSQLListResult.h

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ namespace AlibabaCloud
3636
{
3737
struct SqlListItem
3838
{
39-
double executions;
39+
long executions;
4040
double avgRowCacheHit;
4141
double maxApplicationWaitTime;
4242
std::string server;
@@ -45,9 +45,9 @@ namespace AlibabaCloud
4545
std::string clientIp;
4646
bool inner;
4747
double avgUserIoWaitTime;
48-
double retryCount;
48+
long retryCount;
4949
long retCode6002Count;
50-
double missPlans;
50+
long missPlans;
5151
long retCode5167Count;
5252
std::string sqlType;
5353
double avgLogicalReads;
@@ -83,7 +83,7 @@ namespace AlibabaCloud
8383
double avgBloomFilterCacheHit;
8484
double avgReturnRows;
8585
double avgPartitionCount;
86-
double failCount;
86+
long failCount;
8787
std::string dbName;
8888
double avgWaitTime;
8989
double weakConsistencyPercentage;
@@ -94,7 +94,7 @@ namespace AlibabaCloud
9494
double avgDbTime;
9595
double avgExpectedWorkerCount;
9696
double distPlanPercentage;
97-
double remotePlans;
97+
long remotePlans;
9898
double avgWaitCount;
9999
std::string userName;
100100
double rpcCount;
@@ -114,7 +114,7 @@ namespace AlibabaCloud
114114
double sumWaitTime;
115115
long serverPort;
116116
};
117-
double executions;
117+
long executions;
118118
double avgRowCacheHit;
119119
double maxApplicationWaitTime;
120120
std::string server;
@@ -123,16 +123,16 @@ namespace AlibabaCloud
123123
std::string clientIp;
124124
bool inner;
125125
double avgUserIoWaitTime;
126-
double retryCount;
127-
double retCode6002Count;
128-
double missPlans;
129-
double retCode5167Count;
126+
long retryCount;
127+
long retCode6002Count;
128+
long missPlans;
129+
long retCode5167Count;
130130
std::string sqlType;
131131
double avgLogicalReads;
132132
double execPs;
133133
double avgBlockCacheHit;
134134
double tableScanPercentage;
135-
double retCode5217Count;
135+
long retCode5217Count;
136136
double avgUsedWorkerCount;
137137
double maxElapsedTime;
138138
double localPlanPercentage;
@@ -148,8 +148,8 @@ namespace AlibabaCloud
148148
double avgQueueTime;
149149
double maxCpuTime;
150150
double avgDiskReads;
151-
double retCode5001Count;
152-
double retCode5024Count;
151+
long retCode5001Count;
152+
long retCode5024Count;
153153
double sumLogicalReads;
154154
double avgCpuTime;
155155
double sumDbTime;
@@ -161,7 +161,7 @@ namespace AlibabaCloud
161161
double avgBloomFilterCacheHit;
162162
double avgReturnRows;
163163
double avgPartitionCount;
164-
double failCount;
164+
long failCount;
165165
std::string dbName;
166166
double avgWaitTime;
167167
double weakConsistencyPercentage;
@@ -174,7 +174,7 @@ namespace AlibabaCloud
174174
double distPlanPercentage;
175175
bool dynamicSql;
176176
std::vector<DataItem::SqlListItem> sqlList;
177-
double remotePlans;
177+
long remotePlans;
178178
double avgWaitCount;
179179
std::string userName;
180180
double rpcCount;

oceanbasepro/include/alibabacloud/oceanbasepro/model/DescribeOasTopSQLListResult.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ namespace AlibabaCloud
5050
std::string clientIp;
5151
bool inner;
5252
double avgUserIoWaitTime;
53-
double retryCount;
53+
long retryCount;
5454
long retCode6002Count;
55-
double missPlans;
55+
long missPlans;
5656
long retCode5167Count;
5757
std::string sqlType;
5858
double avgLogicalReads;
@@ -89,7 +89,7 @@ namespace AlibabaCloud
8989
double avgBloomFilterCacheHit;
9090
double avgReturnRows;
9191
double avgPartitionCount;
92-
double failCount;
92+
long failCount;
9393
std::string dbName;
9494
double avgWaitTime;
9595
double weakConsistencyPercentage;
@@ -100,7 +100,7 @@ namespace AlibabaCloud
100100
double avgDbTime;
101101
double avgExpectedWorkerCount;
102102
double distPlanPercentage;
103-
double remotePlans;
103+
long remotePlans;
104104
double avgWaitCount;
105105
std::string userName;
106106
double rpcCount;
@@ -129,10 +129,10 @@ namespace AlibabaCloud
129129
std::string clientIp;
130130
bool inner;
131131
double avgUserIoWaitTime;
132-
double retryCount;
132+
long retryCount;
133133
long retCode6002Count;
134-
std::string obDbId;
135-
double missPlans;
134+
long obDbId;
135+
long missPlans;
136136
long retCode5167Count;
137137
std::string sqlType;
138138
double avgLogicalReads;
@@ -170,7 +170,7 @@ namespace AlibabaCloud
170170
CustomColumns customColumns;
171171
double avgReturnRows;
172172
double avgPartitionCount;
173-
double failCount;
173+
long failCount;
174174
std::string dbName;
175175
double avgWaitTime;
176176
double weakConsistencyPercentage;
@@ -183,7 +183,7 @@ namespace AlibabaCloud
183183
double distPlanPercentage;
184184
bool dynamicSql;
185185
std::vector<DataItem::SqlListItem> sqlList;
186-
double remotePlans;
186+
long remotePlans;
187187
double avgWaitCount;
188188
std::string userName;
189189
double rpcCount;

oceanbasepro/include/alibabacloud/oceanbasepro/model/DescribeProcessStatsCompositionResult.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ namespace AlibabaCloud
6868
struct ProcessSqlListItem
6969
{
7070
std::string status;
71-
std::string dynamicSql;
71+
bool dynamicSql;
7272
std::string user;
7373
long executeTime;
7474
std::string proxySessId;
@@ -85,7 +85,7 @@ namespace AlibabaCloud
8585
long sessionId;
8686
};
8787
std::string status;
88-
std::string dynamicSql;
88+
bool dynamicSql;
8989
std::string user;
9090
long executeTime;
9191
std::string proxySessId;
@@ -103,7 +103,7 @@ namespace AlibabaCloud
103103
long sessionId;
104104
};
105105
std::string status;
106-
std::string dynamicSql;
106+
bool dynamicSql;
107107
std::string user;
108108
long executeTime;
109109
std::string proxySessId;

oceanbasepro/include/alibabacloud/oceanbasepro/model/DescribeSQLSamplesResult.h

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -35,59 +35,59 @@ namespace AlibabaCloud
3535
struct DataItem
3636
{
3737
std::string server;
38-
std::string clientPort;
38+
int clientPort;
3939
std::string clientIp;
4040
double cpuTime;
4141
bool inner;
4242
std::string consistencyLevel;
43-
double retryCount;
43+
long retryCount;
4444
std::string transHash;
45-
double retCode;
45+
int retCode;
4646
std::string planType;
47-
double obDbId;
47+
long obDbId;
4848
std::string sqlType;
4949
double queueTime;
5050
double blockIndexCacheHit;
5151
bool tableScan;
52-
double waitCount;
53-
std::string requestId;
52+
long waitCount;
53+
long requestId;
5454
std::string requestTime;
5555
std::string paramsValue;
56-
double ssstoreReadRows;
56+
long ssstoreReadRows;
5757
double scheduleTime;
58-
double obUserId;
58+
long obUserId;
5959
std::string traceId;
6060
double bloomFilterCacheHit;
61-
double obServerId;
62-
double expectedWorkerCount;
61+
long obServerId;
62+
long expectedWorkerCount;
6363
double decodeTime;
6464
double concurrencyWaitTime;
6565
double executeTime;
66-
double memstoreReadRows;
66+
long memstoreReadRows;
6767
double getPlanTime;
6868
double elapsedTime;
6969
bool hitPlan;
70-
double returnRows;
70+
long returnRows;
7171
bool executorRpc;
7272
double blockCacheHit;
7373
std::string dbName;
7474
double netWaitTime;
7575
double diskReads;
7676
std::string userName;
7777
double netTime;
78-
double rpcCount;
78+
long rpcCount;
7979
std::string fullSqlText;
8080
std::string statement;
81-
double planId;
81+
long planId;
8282
double rowCacheHit;
83-
double affectedRows;
84-
double usedWorkerCount;
83+
long affectedRows;
84+
long usedWorkerCount;
8585
std::string sqlText;
8686
double applicationWaitTime;
8787
std::string waitEvent;
8888
double userIoWaitTime;
8989
double waitTime;
90-
double partitionCount;
90+
long partitionCount;
9191
};
9292

9393

0 commit comments

Comments
 (0)